Module ical4j.core

Class VTimeZone

All Implemented Interfaces:
Serializable, Comparable<Component>, ComponentContainer<Observance>, ComponentListAccessor<Observance>, FluentComponent, PropertyContainer, PropertyListAccessor, Prototype<Component>, TimeZonePropertyAccessor

public class VTimeZone extends CalendarComponent implements ComponentContainer<Observance>, TimeZonePropertyAccessor
$Id$ [Apr 5, 2004] Defines an iCalendar VTIMEZONE component.
       4.6.5 Time Zone Component
  
          Component Name: VTIMEZONE
  
          Purpose: Provide a grouping of component properties that defines a
          time zone.
  
          Formal Definition: A "VTIMEZONE" calendar component is defined by the
          following notation:
  
            timezonec  = "BEGIN" ":" "VTIMEZONE" CRLF
  
                         2*(
  
                         ; 'tzid' is required, but MUST NOT occur more
                         ; than once
  
                       tzid /
  
                         ; 'last-mod' and 'tzurl' are optional,
                       but MUST NOT occur more than once
  
                       last-mod / tzurl /
  
                         ; one of 'standardc' or 'daylightc' MUST occur
                       ..; and each MAY occur more than once.
  
                       standardc / daylightc /
  
                       ; the following is optional,
                       ; and MAY occur more than once
  
                         x-prop
  
                         )
  
                         "END" ":" "VTIMEZONE" CRLF
  
            standardc  = "BEGIN" ":" "STANDARD" CRLF
  
                         tzprop
  
                         "END" ":" "STANDARD" CRLF
  
            daylightc  = "BEGIN" ":" "DAYLIGHT" CRLF
  
                         tzprop
  
                         "END" ":" "DAYLIGHT" CRLF
  
            tzprop     = 3*(
  
                       ; the following are each REQUIRED,
                       ; but MUST NOT occur more than once
  
                       dtstart / tzoffsetto / tzoffsetfrom /
  
                       ; the following are optional,
                       ; and MAY occur more than once
  
                       comment / rdate / rrule / tzname / x-prop
  
                       )
 
See Also:
  • Constructor Details

    • VTimeZone

      public VTimeZone()
      Default constructor.
    • VTimeZone

      public VTimeZone(PropertyList properties)
      Constructs a new instance containing the specified properties.
      Parameters:
      properties - a list of properties
    • VTimeZone

      public VTimeZone(ComponentList<Observance> observances)
      Constructs a new vtimezone component with no properties and the specified list of type components.
      Parameters:
      observances - a list of type components
    • VTimeZone

      public VTimeZone(PropertyList properties, ComponentList<Observance> observances)
      Constructor.
      Parameters:
      properties - a list of properties
      observances - a list of timezone types
  • Method Details