Class VRepeatableBase<T>
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>
- Type Parameters:
T- - concrete subclass
- All Implemented Interfaces:
VComponent, VRepeatable<T>, VChild, VElement, VParent
- Direct Known Subclasses:
StandardOrDaylight
Contains following properties:
- 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
FieldsModifier and TypeFieldDescriptionprivate List<RecurrenceDates> private RecurrenceRuleprivate RecurrenceRuleCacheFields 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 TypeMethodDescriptionerrors()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 parenterrorsRecurrence(List<? extends PropertyBaseRecurrence<?>> recurrenceDates, DateTimeStart dtstart) errorsRepeatable(VRepeatable<?> testObj) RDATE Recurrence Date-Times RFC 5545 iCalendar 3.8.5.2, page 120.RRULE, Recurrence Rule RFC 5545 iCalendar 3.8.5.3, page 122.Handles caching of recurrence start Temporal values.voidsetRecurrenceDates(List<RecurrenceDates> recurrenceDates) voidsetRecurrenceRule(RecurrenceRule recurrenceRule) streamRecurrences(Temporal start) Produces a stream of dates or date-times (depending on DTSTART) that represents the start of each element in the recurrence set.Methods 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
calendarList, 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
-
recurrenceDates
-
recurrenceRule
-
streamer
-
-
Constructor Details
-
VRepeatableBase
VRepeatableBase() -
VRepeatableBase
-
-
Method Details
-
getRecurrenceDates
RDATE Recurrence Date-Times RFC 5545 iCalendar 3.8.5.2, page 120. This property defines the list of DATE-TIME values for recurring events, to-dos, journal entries, or time zone definitions. NOTE: DOESN'T CURRENTLY SUPPORT PERIOD VALUE TYPE- Specified by:
getRecurrenceDatesin interfaceVRepeatable<T>
-
setRecurrenceDates
- Specified by:
setRecurrenceDatesin interfaceVRepeatable<T>
-
getRecurrenceRule
RRULE, Recurrence Rule RFC 5545 iCalendar 3.8.5.3, page 122. This property defines a rule or repeating pattern for recurring events, to-dos, journal entries, or time zone definitions If component is not repeating the value is null. Examples: RRULE:FREQ=DAILY;COUNT=10 RRULE:FREQ=WEEKLY;UNTIL=19971007T000000Z;WKST=SU;BYDAY=TU,TH- Specified by:
getRecurrenceRulein interfaceVRepeatable<T>
-
setRecurrenceRule
- Specified by:
setRecurrenceRulein interfaceVRepeatable<T>
-
streamRecurrences
Description copied from interface:VRepeatableProduces a stream of dates or date-times (depending on DTSTART) that represents the start of each element in the recurrence set. The values are calculated after applying DTSTART, RDATE, RRULE, and EXDATE properties. If the RRULE is forever, then the stream has no end as well. For a VEvent without RRULE or RDATE the stream will contain only one element.- Specified by:
streamRecurrencesin interfaceVRepeatable<T>- Parameters:
start- - include recurrences that END before this value- Returns:
- - stream of start dates or date/times for the recurrence set
-
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 classVParentBase<T>- Returns:
- - list of error messages
-
errorsRepeatable
-
errorsRecurrence
protected static List<String> errorsRecurrence(List<? extends PropertyBaseRecurrence<?>> recurrenceDates, DateTimeStart dtstart) -
recurrenceCache
Description copied from interface:VRepeatableHandles caching of recurrence start Temporal values.- Specified by:
recurrenceCachein interfaceVRepeatable<T>
-