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:
None
- knows_timezone_id(tzid)[source]#
Whether the timezone is already cached by the implementation.
- Return type:
bool
- name = 'zoneinfo'#
- timezone(name)[source]#
Return a timezone with a name or None if we cannot find it.
- Return type:
tzinfo|None
- property utc: ZoneInfo#
Return the UTC timezone, initializing lazily on first access.
- 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.