💾 Archived View for tris.fyi › pydoc › _zoneinfo captured on 2022-01-08 at 13:45:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Back to module index

Go to module by name

_zoneinfo

C implementation of the zoneinfo module

Classes

ZoneInfo

clear_cache(...)

  Clear the ZoneInfo cache.
dst(...)

  Retrieve a timedelta representing the amount of DST applied in a zone at the given datetime.
from_file(...)

  Create a ZoneInfo file from a file object.
fromutc(...)

  Given a datetime with local time in UTC, retrieve an adjusted datetime in local time.
no_cache(...)

  Get a new instance of ZoneInfo, bypassing the cache.
tzname(...)

  Retrieve a string containing the abbreviation for the time zone that applies in a zone at a given datetime.
utcoffset(...)

  Retrieve a timedelta representing the UTC offset in a zone at the given datetime.
key = <member 'key' of 'zoneinfo.ZoneInfo' objects>