class documentation
Time zone object created from the zone info in the Windows registry These are similar to :py:class:`dateutil.tz.tzrange` objects in that the time zone data is provided in the format of a single offset rule for either 0 or 2 time zone transitions per year. :param: name The name of a Windows time zone key, e.g. "Eastern Standard Time". The full list of keys can be retrieved with :func:`tzwin.list`.
Method | __init__ |
Undocumented |
Method | __reduce__ |
Undocumented |
Method | __repr__ |
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 | _name |
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. |