icalendar.timezone.provider module#
The interface for timezone implementations.
- class icalendar.timezone.provider.TZProvider[source]#
Bases:
ABCInterface for timezone implementations.
- abstractmethod create_timezone(name, transition_times, transition_info)[source]#
Create a pytz timezone file given information.
- Return type:
- abstractmethod fix_rrule_until(rrule, ical_rrule)[source]#
Make sure the until value works for the rrule generated from the ical_rrule.
- Return type:
- abstractmethod knows_timezone_id(id)[source]#
Whether the timezone is already cached by the implementation.
- Return type: