Class DaylightSavingTime
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<DaylightSavingTime>
jfxtras.icalendarfx.components.VComponentBase<DaylightSavingTime>
jfxtras.icalendarfx.components.VCommon<DaylightSavingTime>
jfxtras.icalendarfx.components.VPrimary<DaylightSavingTime>
jfxtras.icalendarfx.components.VRepeatableBase<DaylightSavingTime>
jfxtras.icalendarfx.components.StandardOrDaylight<DaylightSavingTime>
jfxtras.icalendarfx.components.DaylightSavingTime
- All Implemented Interfaces:
VComponent, VRepeatable<DaylightSavingTime>, VChild, VElement, VParent
DAYLIGHT
Describes Daylight Saving 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 Daylight Saving 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class VElementBase
VElementBase.Message, VElementBase.MessageEffectNested classes/interfaces inherited from interface VRepeatable
VRepeatable.MergedIterator<T> -
Field Summary
FieldsFields inherited from class VPrimary
DTSTART_COMPARATORFields inherited from class VComponentBase
parentFields inherited from class VParentBase
contentLineGenerator, ordererFields inherited from class VElementBase
BEGIN, END -
Constructor Summary
ConstructorsConstructorDescriptionCreates a default DaylightSavingTime calendar component with no propertiesDaylightSavingTime(DaylightSavingTime source) Creates a deep copy of a DaylightSavingTime calendar component -
Method Summary
Modifier and TypeMethodDescriptionstatic DaylightSavingTimeCreates a new DaylightSavingTime calendar component by parsing a String of iCalendar content linesMethods inherited from class StandardOrDaylight
calendarList, errors, getTimeZoneNames, getTimeZoneOffsetFrom, getTimeZoneOffsetTo, recurrenceCache, setTimeZoneNames, setTimeZoneOffsetFrom, setTimeZoneOffsetFrom, setTimeZoneOffsetFrom, setTimeZoneOffsetTo, setTimeZoneOffsetTo, setTimeZoneOffsetTo, withTimeZoneNames, withTimeZoneNames, withTimeZoneNames, withTimeZoneOffsetFrom, withTimeZoneOffsetFrom, withTimeZoneOffsetFrom, withTimeZoneOffsetTo, withTimeZoneOffsetTo, withTimeZoneOffsetToMethods inherited from class VRepeatableBase
errorsRecurrence, errorsRepeatable, getRecurrenceDates, getRecurrenceRule, setRecurrenceDates, setRecurrenceRule, streamRecurrencesMethods inherited from class VPrimary
dateTimeStartListenerHook, getComments, getDateTimeStart, isWholeDay, setComments, setDateTimeStart, setDateTimeStart, setDateTimeStart, withComments, withComments, withComments, withDateTimeStart, withDateTimeStart, withDateTimeStartMethods inherited from class VCommon
getNonStandard, setNonStandard, withNonStandard, withNonStandard, withNonStandardMethods inherited from class VComponentBase
addSubcomponent, getParent, isContentValid, name, setParentMethods inherited from class VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, equals, getGetter, getGetters, getSetter, getSetters, hashCode, orderChild, orderChild, orderChild, parseContent, parseContent, processInLineChild, removeChild, removeChild, replaceChild, replaceChild, toString, withChildMethods inherited from class VElementBase
elementName, newEmptyVElement, parse, throwMessageExceptionsMethods inherited from interface VComponent
toStringMethods inherited from interface VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChildMethods inherited from interface VRepeatable
checkDateTimeStartConsistency, checkRecurrencesConsistency, getDateTimeStart, isRecurrence, isRecurrenceSetEmpty, lastRecurrence, previousStreamValue, setRecurrenceRule, setRecurrenceRule, streamRecurrences, streamRecurrences, withRecurrenceDates, withRecurrenceDates, withRecurrenceDates, withRecurrenceDates, withRecurrenceRule, withRecurrenceRule, withRecurrenceRule
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DaylightSavingTime
public DaylightSavingTime()Creates a default DaylightSavingTime calendar component with no properties -
DaylightSavingTime
Creates a deep copy of a DaylightSavingTime calendar component
-
-
Method Details
-
parse
Creates a new DaylightSavingTime calendar component by parsing a String of iCalendar content lines- Parameters:
content- the text to parse, not null- Returns:
- the parsed DaylightSavingTime
-