💾 Archived View for tris.fyi › pydoc › zoneinfo captured on 2023-01-29 at 03:40:33. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-07-16)
-=-=-=-=-=-=-
This module has no docstring.
Warning raised if an invalid path is specified in PYTHONTZPATH.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
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>
Exception raised when a ZoneInfo key is not found.
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
available_timezones() Returns a set containing all available time zones. .. caution:: This may attempt to open a large number of files, since the best way to determine if a given file on the time zone search path is to open it and check for the "magic string" at the beginning.
reset_tzpath(to=None)
TZPATH = ('/nix/store/j3m6hzirjaxi8q3mfbkmyi3n2wg2681y-tzdata-2022g/share/zoneinfo',)