class documentation
The rruleset type allows more complex recurrence setups, mixing multiple rules, dates, exclusion rules, and exclusion dates. The type constructor takes the following keyword arguments: :param cache: If True, caching of results will be enabled, improving performance of multiple queries considerably.
Method | __init__ |
Undocumented |
Method | exdate |
Include the given datetime instance in the recurrence set exclusion list. Dates included that way will not be generated, even if some inclusive rrule or rdate matches them. |
Method | exrule |
Include the given rrule instance in the recurrence set exclusion list. Dates which are part of the given recurrence rules will not be generated, even if some inclusive rrule or rdate matches them. |
Method | rdate |
Include the given :py:class:`datetime` instance in the recurrence set generation. |
Method | rrule |
Include the given :py:class:`rrule` instance in the recurrence set generation. |
Class | _genitem |
Undocumented |
Method | _iter |
Undocumented |
Instance Variable | _exdate |
Undocumented |
Instance Variable | _exrule |
Undocumented |
Instance Variable | _len |
Undocumented |
Instance Variable | _rdate |
Undocumented |
Instance Variable | _rrule |
Undocumented |
Inherited from rrulebase
:
Method | __contains__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | after |
Returns the first recurrence after the given datetime instance. The inc keyword defines what happens if dt is an occurrence. With inc=True, if dt itself is an occurrence, it will be returned. |
Method | before |
Returns the last recurrence before the given datetime instance. The inc keyword defines what happens if dt is an occurrence. With inc=True, if dt itself is an occurrence, it will be returned. |
Method | between |
Returns all the occurrences of the rrule between after and before. The inc keyword defines what happens if after and/or before are themselves occurrences. With inc=True, they will be included in the list, if they are found in the recurrence set... |
Method | count |
Returns the number of recurrences in this set. It will have go trough the whole recurrence, if this hasn't been done before. |
Method | xafter |
Generator which yields up to `count` recurrences after the given datetime instance, equivalent to `after`. |
Method | _invalidate |
Undocumented |
Method | _iter |
Undocumented |
Instance Variable | _cache |
Undocumented |
Instance Variable | _cache |
Undocumented |
Instance Variable | _cache |
Undocumented |
Instance Variable | _cache |
Undocumented |
Include the given datetime instance in the recurrence set exclusion list. Dates included that way will not be generated, even if some inclusive rrule or rdate matches them.
Include the given rrule instance in the recurrence set exclusion list. Dates which are part of the given recurrence rules will not be generated, even if some inclusive rrule or rdate matches them.