java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<T>
jfxtras.icalendarfx.components.VComponentBase<T>
jfxtras.icalendarfx.components.VCommon<T>
jfxtras.icalendarfx.components.VPrimary<T>
jfxtras.icalendarfx.components.VRepeatableBase<T>
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 jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect
Nested classes/interfaces inherited from interface jfxtras.icalendarfx.components.VRepeatable
VRepeatable.MergedIterator<T>
-
Field Summary
FieldsFields inherited from class jfxtras.icalendarfx.components.VPrimary
DTSTART_COMPARATOR
Fields inherited from class jfxtras.icalendarfx.components.VComponentBase
parent
Fields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, orderer
Fields inherited from class jfxtras.icalendarfx.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 DaylightSavingTime
Creates a new DaylightSavingTime calendar component by parsing a String of iCalendar content linesMethods inherited from class jfxtras.icalendarfx.components.StandardOrDaylight
calendarList, errors, getTimeZoneNames, getTimeZoneOffsetFrom, getTimeZoneOffsetTo, recurrenceCache, setTimeZoneNames, setTimeZoneOffsetFrom, setTimeZoneOffsetFrom, setTimeZoneOffsetFrom, setTimeZoneOffsetTo, setTimeZoneOffsetTo, setTimeZoneOffsetTo, withTimeZoneNames, withTimeZoneNames, withTimeZoneNames, withTimeZoneOffsetFrom, withTimeZoneOffsetFrom, withTimeZoneOffsetFrom, withTimeZoneOffsetTo, withTimeZoneOffsetTo, withTimeZoneOffsetTo
Methods inherited from class jfxtras.icalendarfx.components.VRepeatableBase
errorsRecurrence, errorsRepeatable, getRecurrenceDates, getRecurrenceRule, setRecurrenceDates, setRecurrenceRule, streamRecurrences
Methods inherited from class jfxtras.icalendarfx.components.VPrimary
dateTimeStartListenerHook, getComments, getDateTimeStart, isWholeDay, setComments, setDateTimeStart, setDateTimeStart, setDateTimeStart, withComments, withComments, withComments, withDateTimeStart, withDateTimeStart, withDateTimeStart
Methods inherited from class jfxtras.icalendarfx.components.VCommon
getNonStandard, setNonStandard, withNonStandard, withNonStandard, withNonStandard
Methods inherited from class jfxtras.icalendarfx.components.VComponentBase
addSubcomponent, getParent, isContentValid, name, setParent
Methods inherited from class jfxtras.icalendarfx.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, withChild
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, newEmptyVElement, parse, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jfxtras.icalendarfx.components.VComponent
toString
Methods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChild
Methods inherited from interface jfxtras.icalendarfx.components.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
-