Class StandardOrDaylight<T extends StandardOrDaylight<T>>
- All Implemented Interfaces:
VComponent, VRepeatable<T>, VChild, VElement, VParent
- Direct Known Subclasses:
DaylightSavingTime, StandardTime
Superclass of DaylightSavingTime and StandardTime that
contains the following properties:
-
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
FieldsModifier and TypeFieldDescriptionprivate RecurrenceRuleCacheprivate List<TimeZoneName> This property specifies the customary designation for a time zone description.
RFC 5545, 3.8.3.2, page 103private TimeZoneOffsetFromThis property specifies the offset that is in use prior to this time zone observance.
RFC 5545, 3.8.3.3, page 104private TimeZoneOffsetToThis property specifies the offset that is in use in this time zone observance
RFC 5545, 3.8.3.4, page 105Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends VComponent> errors()Produces a list of error messages indicating problems with calendar elementVElement.errors()is invoked recursively to return errors of child elements in addition to errors in parentHandles caching of recurrence start Temporal values.voidsetTimeZoneNames(List<TimeZoneName> timeZoneNames) voidsetTimeZoneOffsetFrom(String timeZoneOffsetFrom) voidsetTimeZoneOffsetFrom(ZoneOffset zoneOffset) voidsetTimeZoneOffsetFrom(TimeZoneOffsetFrom timeZoneOffsetFrom) voidsetTimeZoneOffsetTo(String timeZoneOffsetTo) voidsetTimeZoneOffsetTo(ZoneOffset zoneOffset) voidsetTimeZoneOffsetTo(TimeZoneOffsetTo timeZoneOffsetTo) withTimeZoneNames(String... timeZoneNames) Sets the value of theby parsing a vararg of time zone name stringsinvalid reference
#timeZoneNamesProperty()withTimeZoneNames(List<TimeZoneName> timeZoneNames) Sets the value of theinvalid reference
#timeZoneNamesProperty()withTimeZoneNames(TimeZoneName... timeZoneNames) Sets the value of thefrom a vararg ofinvalid reference
#timeZoneNamesProperty()TimeZoneNameobjects.withTimeZoneOffsetFrom(String timeZoneOffsetFrom) Sets the value of theby parsing a iCalendar content stringinvalid reference
#timeZoneOffsetFromProperty()withTimeZoneOffsetFrom(ZoneOffset zoneOffset) Sets the value of theby creating a newinvalid reference
#timeZoneOffsetFromProperty()TimeZoneOffsetFromfrom theZoneOffsetparameterwithTimeZoneOffsetFrom(TimeZoneOffsetFrom timeZoneOffsetFrom) Sets the value of theby creating a newinvalid reference
#timeZoneOffsetFromProperty()TimeZoneOffsetFromfrom theZoneOffsetparameterwithTimeZoneOffsetTo(String timeZoneOffsetTo) Sets the value of theby parsing a iCalendar content stringinvalid reference
#timeZoneOffsetToProperty()withTimeZoneOffsetTo(ZoneOffset zoneOffset) Sets the value of theby creating a newinvalid reference
#timeZoneOffsetToProperty()TimeZoneOffsetTofrom theZoneOffsetparameterwithTimeZoneOffsetTo(TimeZoneOffsetTo timeZoneOffsetTo) Sets the value of theinvalid reference
#timeZoneOffsetToProperty()Methods 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
-
timeZoneNames
This property specifies the customary designation for a time zone description.
RFC 5545, 3.8.3.2, page 103EXAMPLES:
- TZNAME:EST
- TZNAME;LANGUAGE=fr-CA:HN
-
timeZoneOffsetFrom
This property specifies the offset that is in use prior to this time zone observance.
RFC 5545, 3.8.3.3, page 104EXAMPLES:
- TZOFFSETFROM:-0500
- TZOFFSETFROM:+1345
-
timeZoneOffsetTo
This property specifies the offset that is in use in this time zone observance
RFC 5545, 3.8.3.4, page 105EXAMPLES:
- TZOFFSETTO:-0400
- TZOFFSETTO:+1245
-
streamer
-
-
Constructor Details
-
StandardOrDaylight
public StandardOrDaylight() -
StandardOrDaylight
-
-
Method Details
-
getTimeZoneNames
-
setTimeZoneNames
-
withTimeZoneNames
Sets the value of theinvalid reference
#timeZoneNamesProperty()- Returns:
- - this class for chaining
-
withTimeZoneNames
-
withTimeZoneNames
Sets the value of thefrom a vararg ofinvalid reference
#timeZoneNamesProperty()TimeZoneNameobjects.- Returns:
- - this class for chaining
-
getTimeZoneOffsetFrom
-
setTimeZoneOffsetFrom
-
setTimeZoneOffsetFrom
-
setTimeZoneOffsetFrom
-
withTimeZoneOffsetFrom
Sets the value of the
by creating a newinvalid reference
#timeZoneOffsetFromProperty()TimeZoneOffsetFromfrom theZoneOffsetparameter- Parameters:
zoneOffset- value for newTimeZoneOffsetFrom
-
withTimeZoneOffsetFrom
Sets the value of the
by creating a newinvalid reference
#timeZoneOffsetFromProperty()TimeZoneOffsetFromfrom theZoneOffsetparameter- Returns:
- - this class for chaining
-
withTimeZoneOffsetFrom
-
getTimeZoneOffsetTo
-
setTimeZoneOffsetTo
-
setTimeZoneOffsetTo
-
setTimeZoneOffsetTo
-
withTimeZoneOffsetTo
Sets the value of the
invalid reference
#timeZoneOffsetToProperty()- Returns:
- - this class for chaining
-
withTimeZoneOffsetTo
Sets the value of the
by creating a newinvalid reference
#timeZoneOffsetToProperty()TimeZoneOffsetTofrom theZoneOffsetparameter- Returns:
- - this class for chaining
-
withTimeZoneOffsetTo
-
calendarList
-
errors
Description copied from interface:VElementProduces a list of error messages indicating problems with calendar elementVElement.errors()is invoked recursively to return errors of child elements in addition to errors in parent- Specified by:
errorsin interfaceVElement- Overrides:
errorsin classVRepeatableBase<T extends StandardOrDaylight<T>>- Returns:
- - list of error messages
-
recurrenceCache
Description copied from interface:VRepeatableHandles caching of recurrence start Temporal values.- Specified by:
recurrenceCachein interfaceVRepeatable<T extends StandardOrDaylight<T>>- Overrides:
recurrenceCachein classVRepeatableBase<T extends StandardOrDaylight<T>>
-