Creates a new ICAL.RecurExpansion instance.
The options object can be filled with the specified initial values. It can also contain additional members, as a result of serializing a previous expansion state, as shown in the example.
Recurrence expansion options
ICAL.RecurExpansion
True when iteration is fully completed.
Start date of recurring rules.
Private
Optional
exCurrent negative date.
Private
exCurrent position in exDates array
Private
Optional
exArray of exdate instances.
Last expanded time
Private
Optional
ruleCurrent additional date.
Private
ruleCurrent position in ruleDates array.
Private
Optional
ruleArray of rdate instances.
Private
ruleArray of rrule iterators.
Private
_extractPrivate
Extract all dates from the properties in the given component. The properties will be filtered by the property name.
The component to search in
The property name to search for
The extracted dates.
Private
_initPrivate
Initialize the recurrence expansion.
The component to initialize from.
Private
_nextPrivate
_nextFind and return the recurrence rule with the most recent event and return it.
Found iterator.
Private
_nextGenerated using TypeDoc
Primary class for expanding recurring rules. Can take multiple rrules, rdates, exdate(s) and iterate (in order) over each next occurrence.
Once initialized this class can also be serialized saved and continue iteration from the last point.
NOTE: it is intended that this class is to be used with ICAL.Event which handles recurrence exceptions.
Example
Alias
ICAL.RecurExpansion