Class UtcProperty
java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.DateProperty
net.fortuna.ical4j.model.property.UtcProperty
- All Implemented Interfaces:
Serializable,Comparable<Property>,FluentProperty
- Direct Known Subclasses:
Acknowledged,Completed,Created,DtStamp,LastModified,Trigger,TzUntil
$Id$
Created on 8/08/2005
Superclass for all properties with date-time values that must be specified in UTC time.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.Content
Content.Factory -
Field Summary
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION, XML -
Constructor Summary
ConstructorsConstructorDescriptionUtcProperty(String name, ParameterList parameters, PropertyFactory factory) UtcProperty(String name, PropertyFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionfinal DateTimevoidsetDateTime(DateTime dateTime) voidsetTimeZone(TimeZone timezone) Publically available method to update the current timezone.validate()Perform validation on a property.Methods inherited from class net.fortuna.ical4j.model.property.DateProperty
compareTo, copy, getDate, getTimeZone, getValue, hashCode, isUtc, setDate, setUtc, setValueMethods inherited from class net.fortuna.ical4j.model.Property
equals, getFluentTarget, getName, getParameter, getParameters, getParameters, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
Constructor Details
-
UtcProperty
- Parameters:
name- a property nameparameters- list of parameters
-
UtcProperty
- Parameters:
name- a property name
-
-
Method Details
-
getDateTime
- Returns:
- Returns the date-time.
-
setDateTime
- Parameters:
dateTime- The dateTime to set.
-
setTimeZone
Publically available method to update the current timezone.- Overrides:
setTimeZonein classDateProperty- Parameters:
timezone- a timezone instance
-
validate
Perform validation on a property.- Overrides:
validatein classDateProperty- Throws:
ValidationException- where the property is not in a valid state
-