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_ambiguous 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_is_dst Undocumented
Instance Variable _dst_offset Undocumented
Instance Variable _dst_saved Undocumented
Instance Variable _hasdst Undocumented
Instance Variable _std_offset 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_status 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.
def __eq__(self, other): (source)

Undocumented

def __init__(self): (source)

Undocumented

def __ne__(self, other): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def dst(self, dt): (source)

Undocumented

def is_ambiguous(self, dt): (source)

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

@tzname_in_python2
def tzname(self, dt): (source)

Undocumented

def utcoffset(self, dt): (source)

Undocumented

__hash__ = (source)

Undocumented

def _isdst(self, dt, fold_naive=True): (source)

Undocumented

def _naive_is_dst(self, dt): (source)

Undocumented

_dst_offset = (source)

Undocumented

_dst_saved = (source)

Undocumented

_hasdst = (source)

Undocumented

_std_offset = (source)

Undocumented

_tznames = (source)

Undocumented