class documentation
A :class:`tzinfo` subclass built around the ``time`` timezone functions.
Method | __eq__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __ne__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | dst |
Undocumented |
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 |
Instance Variable | _dst |
Undocumented |
Instance Variable | _dst |
Undocumented |
Instance Variable | _hasdst |
Undocumented |
Instance Variable | _std |
Undocumented |
Instance Variable | _tznames |
Undocumented |
Inherited from _tzinfo
:
Method | fromutc |
Given a timezone-aware datetime in a given timezone, calculates a timezone-aware datetime in a new timezone. |
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. |
overrides
dateutil.tz._common._tzinfo.is_ambiguous
Whether or not the "wall time" of a given datetime is ambiguous in this zone. :param dt: A :py:class:`datetime.datetime`, naive or time zone aware. :return: Returns ``True`` if ambiguous, ``False`` otherwise. .. versionadded:: 2.6.0