class documentation

class tzwinlocal(tzwinbase): (source)

View In Hierarchy

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_abbr Undocumented
Instance Variable _dst_base_offset_ Undocumented
Instance Variable _dst_offset Undocumented
Instance Variable _dstdayofweek Undocumented
Instance Variable _dsthour Undocumented
Instance Variable _dstminute Undocumented
Instance Variable _dstmonth Undocumented
Instance Variable _dstweeknumber Undocumented
Instance Variable _std_abbr Undocumented
Instance Variable _std_offset 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_hasdst Undocumented
Property _dst_base_offset Undocumented

Inherited from tzrangebase (via tzwinbase):

Method __ne__ 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 tzwinbase, 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.
def __init__(self): (source)

Undocumented

def __reduce__(self): (source)

Undocumented

def __repr__(self): (source)
def __str__(self): (source)

Undocumented

hasdst = (source)

Undocumented

_display = (source)

Undocumented

_dst_abbr = (source)

Undocumented

_dst_base_offset_ = (source)

Undocumented

_dst_offset = (source)

Undocumented

_dstdayofweek = (source)

Undocumented

_dsthour = (source)

Undocumented

_dstminute = (source)

Undocumented

_dstmonth = (source)

Undocumented

_dstweeknumber = (source)

Undocumented

_std_abbr = (source)

Undocumented

_std_offset = (source)

Undocumented

_stddayofweek = (source)

Undocumented

_stdhour = (source)

Undocumented

_stdminute = (source)

Undocumented

_stdmonth = (source)

Undocumented

_stdweeknumber = (source)

Undocumented