ICalGLib.RecurIterator¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class ICalGLib.RecurIterator(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
This is the
ICalGLib.RecurIterator
instance.- classmethod new(rule, dtstart)¶
- Parameters:
rule (
ICalGLib.Recurrence
) – The rule applied on theICalGLib.RecurIterator
dtstart (
ICalGLib.Time
) – The start time of the recurrence
- Returns:
The newly created
ICalGLib.RecurIterator
- Return type:
Creates an
ICalGLib.RecurIterator
.New in version 1.0.
- next()¶
- Returns:
The next occurrence according to this recurrence rule.
- Return type:
Gets the next occurrence from an iterator.
New in version 1.0.
- set_start(start)¶
- Parameters:
start (
ICalGLib.Time
) – The date-time to move the iterator to- Returns:
1 if succeeded, 0 if failed, like when the recurrence type is unsupported.
- Return type:
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.
New in version 3.0.