Class representing the local time zone information in the Windows registry While :class:`dateutil.tz.tzlocal` makes system calls (via the :mod:`time` module) to retrieve time zone information, ``tzwinlocal`` retrieves the rules directly from the Windows registry and creates an object like :class:`dateutil.tz.tzwin`. Because Windows does not have an equivalent of :func:`time.tzset`, on Windows, :class:`dateutil.tz.tzlocal` instances will always reflect the time zone settings *at the time that the process was started*, meaning changes to the machine's time zone settings during the run of a program on Windows will **not** be reflected by :class:`dateutil.tz.tzlocal`. Because ``tzwinlocal`` reads the registry directly, it is unaffected by this issue.
Method | __init__ |
Undocumented |
Method | __reduce__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Instance Variable | hasdst |
Undocumented |
Instance Variable | _display |
Undocumented |
Instance Variable | _dst |
Undocumented |
Instance Variable | _dst |
Undocumented |
Instance Variable | _dst |
Undocumented |
Instance Variable | _dstdayofweek |
Undocumented |
Instance Variable | _dsthour |
Undocumented |
Instance Variable | _dstminute |
Undocumented |
Instance Variable | _dstmonth |
Undocumented |
Instance Variable | _dstweeknumber |
Undocumented |
Instance Variable | _std |
Undocumented |
Instance Variable | _std |
Undocumented |
Instance Variable | _stddayofweek |
Undocumented |
Instance Variable | _stdhour |
Undocumented |
Instance Variable | _stdminute |
Undocumented |
Instance Variable | _stdmonth |
Undocumented |
Instance Variable | _stdweeknumber |
Undocumented |
Inherited from tzwinbase
:
Static Method | list |
Return a list of all time zones known to the system. |
Method | __eq__ |
Undocumented |
Method | display |
Return the display name of the time zone. |
Method | transitions |
For a given year, get the DST on and off transition times, expressed always on the standard time side. For zones with no transitions, this function returns ``None``. |
Method | _get |
Undocumented |
Property | _dst |
Undocumented |
Inherited from tzrangebase
(via tzwinbase
):
Method | __ne__ |
Undocumented |
Method | dst |
Undocumented |
Method | fromutc |
Given a datetime in UTC, return local time |
Method | is |
Whether or not the "wall time" of a given datetime is ambiguous in this zone. |
Method | tzname |
Undocumented |
Method | utcoffset |
Undocumented |
Class Variable | __hash__ |
Undocumented |
Method | _isdst |
Undocumented |
Method | _naive |
Undocumented |
Inherited from _tzinfo
(via tzwinbase
, tzrangebase
):
Method | _fold |
Undocumented |
Method | _fold |
Determine the fold status of a "wall" datetime, given a representation of the same datetime as a (naive) UTC datetime. This is calculated based on the assumption that ``dt.utcoffset() - dt.dst()`` is constant for all datetimes, and that this offset is the actual number of hours separating ``dt_utc`` and ``dt_wall``. |
Method | _fromutc |
Given a timezone-aware datetime in a given timezone, calculates a timezone-aware datetime in a new timezone. |