class documentation

tzinfo class based on win32's timezones available in the registry.

Static Method list Return a list of all time zones known to the system.
Method __eq__ Undocumented
Method __init__ 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_hasdst Undocumented
Property _dst_base_offset Undocumented

Inherited from tzrangebase:

Method __ne__ Undocumented
Method __repr__ Undocumented
Method dst Undocumented
Method fromutc Given a datetime in UTC, return local time
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_isdst Undocumented

Inherited from _tzinfo (via tzrangebase):

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.

Return a list of all time zones known to the system.

def __eq__(self, other): (source)

Undocumented

def display(self): (source)

Return the display name of the time zone.

def transitions(self, year): (source)

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``. :param year: The year whose transitions you would like to query. :return: Returns a :class:`tuple` of :class:`datetime.datetime` objects, ``(dston, dstoff)`` for zones with an annual DST transition, or ``None`` for fixed offset zones.

def _get_hasdst(self): (source)

Undocumented