Class TzId
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Parameter
-
- net.fortuna.ical4j.model.parameter.TzId
-
- All Implemented Interfaces:
Serializable
,Comparable<Parameter>
,Encodable
public class TzId extends Parameter implements Encodable
$Id$ [18-Apr-2004] Defines a Time Zone Identifier parameter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TzId.Factory
-
Field Summary
Fields Modifier and Type Field Description static String
PREFIX
Timezone identifier prefix.-
Fields inherited from class net.fortuna.ical4j.model.Parameter
ABBREV, ALTREP, CN, CUTYPE, DELEGATED_FROM, DELEGATED_TO, DERIVED, DIR, DISPLAY, EMAIL, ENCODING, EXPERIMENTAL_PREFIX, FBTYPE, FEATURE, FMTTYPE, LABEL, LANGUAGE, MEMBER, ORDER, PARTSTAT, RANGE, RELATED, RELTYPE, ROLE, RSVP, SCHEDULE_AGENT, SCHEDULE_STATUS, SCHEMA, SENT_BY, TYPE, TZID, VALUE, VVENUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
ZoneId
toZoneId()
Provides aZoneId
representation of this instance.ZoneId
toZoneId(TimeZoneRegistry timeZoneRegistry)
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
Timezone identifier prefix.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TzId
public TzId(String aValue)
- Parameters:
aValue
- a string representation of a time zone identifier
-
-
Method Detail
-
toZoneId
public ZoneId toZoneId()
Provides aZoneId
representation of this instance. If created with a local timezone registry the returned value will provide the corresponding globally unique value.- Returns:
- a zone id represented by this instance
-
toZoneId
public ZoneId toZoneId(TimeZoneRegistry timeZoneRegistry)
- Parameters:
timeZoneRegistry
-- Returns:
-
-