Class StandardTime

All Implemented Interfaces:
VComponent, VRepeatable<StandardTime>, VChild, VElement, VParent

public class StandardTime extends StandardOrDaylight<StandardTime>

STANDARD
Describes Standard Time
RFC 5545, 3.6.5, page 65

The DAYLIGHT sub-component is always a child of a VTIMEZONE calendar component. It can't exist alone. The "STANDARD" or "DAYLIGHT" sub-component MUST include the DTSTART, TZOFFSETFROM, and TZOFFSETTO properties.

The "DAYLIGHT" sub-component consists of a collection of properties that describe Standard Time. In general, this collection of properties consists of:

  • the first onset DATE-TIME for the observance;
  • the last onset DATE-TIME for the observance, if a last onset is known;
  • the offset to be applied for the observance;
  • a rule that describes the day and time when the observance takes effect;
  • an optional name for the observance.

Properties available to this sub-component include:

See Also:
  • Constructor Details

    • StandardTime

      public StandardTime()
      Creates a default StandardTime calendar component with no properties
    • StandardTime

      public StandardTime(StandardTime source)
      Creates a deep copy of a StandardTime calendar component
  • Method Details

    • parse

      public static StandardTime parse(String content)
      Creates a new VFreeBusy calendar component by parsing a String of iCalendar content lines
      Parameters:
      content - the text to parse, not null
      Returns:
      the parsed VFreeBusy