public abstract class UtcProperty extends DateProperty
ACTION, ATTACH, ATTENDEE, BUSYTYPE, 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, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION| Constructor and Description |
|---|
UtcProperty(java.lang.String name) |
UtcProperty(java.lang.String name,
ParameterList parameters) |
| Modifier and Type | Method and Description |
|---|---|
DateTime |
getDateTime() |
void |
setDateTime(DateTime dateTime) |
void |
setTimeZone(TimeZone timezone)
Publically available method to update the current timezone.
|
void |
validate()
Perform validation on a property.
|
copy, getDate, getTimeZone, getValue, isUtc, setDate, setUtc, setValueequals, getName, getParameter, getParameters, getParameters, hashCode, isCalendarProperty, isComponentProperty, toStringpublic UtcProperty(java.lang.String name,
ParameterList parameters)
name - parameters - public UtcProperty(java.lang.String name)
name - public final DateTime getDateTime()
public void setDateTime(DateTime dateTime)
dateTime - The dateTime to set.public void setTimeZone(TimeZone timezone)
DatePropertysetTimeZone in class DatePropertypublic void validate()
throws ValidationException
Propertyvalidate in class DatePropertyValidationException - where the property is not in a valid state