class documentation

class EveryDelta: (source)

View In Hierarchy

An EveryDelta is a RecurrenceRule based on a timedelta, that can cause civil times to repeat.

Method __call__ Compute a step count and next desired recurrence time based on a reference time and a current time in aware datetimes, and the timedelta in self.delta.
Instance Variable delta the time delta between recurrences
def __call__(self, reference: DateTime[ZoneInfo], current: DateTime[ZoneInfo]) -> tuple[int, DateTime[ZoneInfo]]: (source)

Compute a step count and next desired recurrence time based on a reference time and a current time in aware datetimes, and the timedelta in self.delta.

See Also
RecurrenceRule

the time delta between recurrences