RecurIterator#

class RecurIterator(**properties: Any)#

Superclasses: Object, Object

This is the ICalRecurIterator instance.

Constructors#

class RecurIterator
classmethod new(rule: Recurrence, dtstart: Time) RecurIterator#

Creates an RecurIterator.

Added in version 1.0.

Parameters:
  • rule – The rule applied on the RecurIterator

  • dtstart – The start time of the recurrence

Methods#

class RecurIterator
next() Time#

Gets the next occurrence from an iterator.

Added in version 1.0.

set_start(start: Time) int#

Sets the date-time at which the iterator will start, where ‘start’ is a value between DTSTART and UNTIL. Note: CAN NOT be used with RRULEs that contain COUNT.

Added in version 3.0.

Parameters:

start – The date-time to move the iterator to