icalendar.timezone.zoneinfo module#
Use zoneinfo timezones
- class icalendar.timezone.zoneinfo.ZONEINFO[source]#
Bases:
TZProviderProvide icalendar with timezones from zoneinfo.
- fix_rrule_until(rrule, ical_rrule)[source]#
Make sure the until value works for the rrule generated from the ical_rrule.
- Return type:
- knows_timezone_id(tzid)[source]#
Whether the timezone is already cached by the implementation.
- Return type:
- name = 'zoneinfo'#
- utc = zoneinfo.ZoneInfo(key='UTC')#
- icalendar.timezone.zoneinfo.pickle_rrule_with_cache(self)[source]#
Make sure we can also pickle rrules that cache.
This is mainly copied from rrule.replace.