icalendar.timezone.zoneinfo module#
Use zoneinfo timezones
- class icalendar.timezone.zoneinfo.ZONEINFO[source]#
Bases:
TZProvider
Provide icalendar with timezones from zoneinfo.
- create_timezone(tz: Timezone.Timezone) tzinfo [source]#
Create a timezone from the given information.
- fix_rrule_until(rrule: rrule, ical_rrule: prop.vRecur) None [source]#
Make sure the until value works for the rrule generated from the ical_rrule.
- knows_timezone_id(tzid: str) bool [source]#
Whether the timezone is already cached by the implementation.
- name = 'zoneinfo'#
- timezone(name: str) tzinfo | None [source]#
Return a timezone with a name or None if we cannot find it.
- utc = zoneinfo.ZoneInfo(key='UTC')#