public class TimeZoneIdentifier extends PropertyBase<java.time.ZoneId,TimeZoneIdentifier>
TZID Time Zone Identifier RFC 5545, 3.8.3.1, page 102
To specify the identifier for the time zone definition for a time component in the property value
LIMITATION: globally unique time zones are stored as strings and the ZoneID is null. Only the toString and toContentLine methods will display the original string. Another method to convert the unique time zone string into a ZoneId is required.
EXAMPLE: TZID:America/Los_Angeles
VTimeZone
propertyNameProperty, valueProperty, valueTypeProperty
Constructor and Description |
---|
TimeZoneIdentifier() |
TimeZoneIdentifier(TimeZoneIdentifier source) |
TimeZoneIdentifier(java.time.ZoneId value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
isValid()
Checks element to determine if necessary properties are set.
|
static TimeZoneIdentifier |
parse(java.lang.String propertyContent) |
compareTo, copyInto, copyValue, errors, getConverter, getNonStandard, getParent, getPropertyValueString, getUnknownValue, getValue, getValueType, hashCode, name, nonStandardParameter, parseContent, propertyNameProperty, propertyType, setConverter, setConverterByClass, setNonStandard, setParent, setPropertyName, setValue, setValueType, setValueType, setValueType, toContent, toString, valueContent, valueProperty, valueTypeProperty, withNonStandard, withNonStandard, withNonStandard, withPropertyName, withValue, withValueType, withValueType
childrenUnmodifiable, copyIntoCallback, orderer, setContentLineGenerator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
childrenUnmodifiable
public TimeZoneIdentifier(TimeZoneIdentifier source)
public TimeZoneIdentifier(java.time.ZoneId value)
public TimeZoneIdentifier()
public static TimeZoneIdentifier parse(java.lang.String propertyContent)
public boolean isValid()
VElement
Checks element to determine if necessary properties are set.
VElement.isValid()
is invoked recursively to test child elements if element is a parent
public boolean equals(java.lang.Object obj)
equals
in class PropertyBase<java.time.ZoneId,TimeZoneIdentifier>