Module ical4j.core

Class 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:
  • Field Details

  • Constructor Details

    • TzId

      public TzId(String aValue)
      Parameters:
      aValue - a string representation of a time zone identifier
  • Method Details

    • toZoneId

      public ZoneId toZoneId()
      Provides a ZoneId 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:
    • getValue

      public final String getValue()
      Specified by:
      getValue in class Content
      Returns:
      the content value