public class TzId extends Parameter implements Escapable
Modifier and Type | Class and Description |
---|---|
static class |
TzId.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
Timezone identifier prefix.
|
ABBREV, ALTREP, CN, CUTYPE, DELEGATED_FROM, DELEGATED_TO, DIR, DISPLAY, EMAIL, ENCODING, EXPERIMENTAL_PREFIX, FBTYPE, FEATURE, FMTTYPE, LABEL, LANGUAGE, MEMBER, PARTSTAT, RANGE, RELATED, RELTYPE, ROLE, RSVP, SCHEDULE_AGENT, SCHEDULE_STATUS, SENT_BY, TYPE, TZID, VALUE, VVENUE
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
ZoneId |
toZoneId()
Provides a
ZoneId representation of this instance. |
ZoneId |
toZoneId(TimeZoneRegistry timeZoneRegistry) |
public static final String PREFIX
public TzId(String aValue)
aValue
- a string representation of a time zone identifierpublic ZoneId toZoneId()
ZoneId
representation of this instance. If created with a local timezone registry the
returned value will provide the corresponding globally unique value.public ZoneId toZoneId(TimeZoneRegistry timeZoneRegistry)
timeZoneRegistry
-