Creates a new ICAL.RecurIterator instance. The options object may contain additional members when resuming iteration from a previous run.
The iterator options
Private by_The initialized by-data.
Private by_The indices used for the ICAL.RecurIterator#by_data object.
True when iteration is finished.
Private daysThe expanded year days
Private days_The index in the ICAL.RecurIterator#days array.
The start date of the event being iterated.
Private initializedIf true, the iterator has already been initialized
The last occurrence that was returned from the ICAL.RecurIterator#next method.
The sequence number from the occurrence
The rule that is being iterated
Static CONTRACTStatic EXPANDStatic ILLEGALStatic UNKNOWNStatic _expandStatic _indexPrivate _byPrivate
NOTES: We are given a list of dates in the month (BYMONTHDAY) (23, etc..) Also we are given a list of days (BYDAY) (MO, 2SU, etc..) when both conditions match a given date (this.last.day) iteration stops.
Optional isInit: booleanWhen given true will not increment the current day (this.last).
Private check_Private initPrivate normalizePrivate
Normalize each by day rule for a given year/month. Takes into account ordering and negative rules
Current year.
Current month.
Array of rules.
sorted and normalized rules. Negative rules will be expanded to their correct positive values for easier processing.
Generated using TypeDoc
An iterator for a single recurrence rule. This class usually doesn't have to be instanciated directly, the convenience method ICAL.Recur#iterator can be used.
Alias
ICAL.RecurIterator