Module Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Num FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpSub AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr keyword NameLoad orelse Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLt NameLoad NameLoad body If CompareLtELt NameLoad Call AttributeLoad NameLoad attr keyword NameLoad NameLoad body Return NameLoad orelse Return NameLoad orelse If CompareLtELt NameLoad Call AttributeLoad NameLoad attr keyword NameLoad NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpMod BinOpSub NameLoad Call AttributeLoad NameLoad attr Num Num For NameStore Call NameLoad BinOpSub NameLoad Num Num Num body Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr BinOpSub UnaryOpUSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad NameLoad Index Str Assign AttributeStore NameLoad attr BinOpSub UnaryOpUSub SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index BinOpAdd Num NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Index Num SubscriptLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args defaults body Import alias alias Expr Call AttributeLoad NameLoad attr NameLoad keyword Num decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A _winreg N/A struct N/A datetime N/A handle N/A N/A _winreg ConnectRegistry None N/A _winreg HKEY_LOCAL_MACHINE N/A tzparent N/A N/A _winreg OpenKey handle SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones N/A parentsize N/A N/A N/A _winreg QueryInfoKey tzparent N/A 0 N/A localkey N/A N/A _winreg OpenKey handle SYSTEM\CurrentControlSet\Control\TimeZoneInformation N/A WEEKS N/A N/A datetime timedelta 7 list_timezones N/A N/A N/A N/A N/A Return a list of all time zones known to the system. N/A l N/A N/A i N/A xrange parentsize N/A N/A N/A N/A l append N/A N/A _winreg EnumKey tzparent i N/A l N/A win32tz N/A N/A datetime tzinfo N/A N/A tzinfo class based on win32's timezones available in the registry.
    
    >>> local = win32tz('Central Standard Time')
    >>> oct1 = datetime.datetime(month=10, year=2004, day=1, tzinfo=local)
    >>> dec1 = datetime.datetime(month=12, year=2004, day=1, tzinfo=local)
    >>> oct1.dst()
    datetime.timedelta(0, 3600)
    >>> dec1.dst()
    datetime.timedelta(0)
    >>> braz = win32tz('E. South America Standard Time')
    >>> braz.dst(oct1)
    datetime.timedelta(0)
    >>> braz.dst(dec1)
    datetime.timedelta(0, 3600)
    
     __init__ N/A N/A self name N/A N/A N/A N/A self data N/A win32tz_data name N/A utcoffset N/A N/A self dt N/A N/A N/A N/A N/A self _isdst dt N/A N/A N/A N/A datetime timedelta minutes N/A N/A self data dstoffset N/A N/A N/A N/A datetime timedelta minutes N/A N/A self data stdoffset N/A dst N/A N/A self dt N/A N/A N/A N/A N/A self _isdst dt N/A N/A minutes N/A N/A N/A self data dstoffset N/A N/A self data stdoffset N/A N/A N/A datetime timedelta minutes minutes N/A N/A N/A N/A datetime timedelta 0 N/A tzname N/A N/A self dt N/A N/A N/A N/A N/A self _isdst dt N/A N/A N/A N/A self data dstname N/A N/A N/A N/A self data stdname N/A _isdst N/A N/A self dt N/A N/A N/A dat N/A self data N/A dston N/A pickNthWeekday N/A dt year N/A dat dstmonth N/A dat dstdayofweek N/A dat dsthour N/A dat dstminute N/A dat dstweeknumber N/A dstoff N/A pickNthWeekday N/A dt year N/A dat stdmonth N/A dat stddayofweek N/A dat stdhour N/A dat stdminute N/A dat stdweeknumber N/A N/A dston dstoff N/A N/A N/A dston N/A N/A dt replace tzinfo None dstoff N/A N/A True N/A N/A False N/A N/A N/A dstoff N/A N/A dt replace tzinfo None dston N/A N/A False N/A N/A True N/A __repr__ N/A N/A self N/A N/A N/A N/A <win32tz - %s> N/A N/A self data display N/A N/A pickNthWeekday N/A N/A year month dayofweek hour minute whichweek N/A N/A N/A dayofweek == 0 means Sunday, whichweek > 4 means last instance N/A first N/A N/A datetime datetime year year month month hour hour minute minute day 1 N/A weekdayone N/A N/A first replace day N/A N/A N/A dayofweek N/A N/A first isoweekday 7 1 N/A n N/A xrange N/A whichweek 1 -1 -1 N/A N/A dt N/A weekdayone N/A n WEEKS N/A N/A N/A dt month month N/A N/A dt N/A win32tz_data N/A object N/A N/A Read a registry key for a timezone, expose its contents. __init__ N/A N/A self path N/A N/A N/A Load path, or if path is empty, load local time. N/A path N/A N/A keydict N/A valuesToDict N/A N/A _winreg OpenKey tzparent path N/A N/A self display N/A keydict N/A Display N/A N/A self dstname N/A keydict N/A Dlt N/A N/A self stdname N/A keydict N/A Std N/A tup N/A N/A struct unpack =3l16h N/A keydict N/A TZI N/A N/A self stdoffset N/A N/A N/A tup N/A 0 N/A tup N/A 1 N/A N/A self dstoffset N/A N/A self stdoffset N/A tup N/A 2 N/A offset 3 N/A N/A self stdmonth N/A tup N/A N/A 1 offset N/A N/A self stddayofweek N/A tup N/A N/A 2 offset N/A N/A self stdweeknumber N/A tup N/A N/A 3 offset N/A N/A self stdhour N/A tup N/A N/A 4 offset N/A N/A self stdminute N/A tup N/A N/A 5 offset N/A offset 11 N/A N/A self dstmonth N/A tup N/A N/A 1 offset N/A N/A self dstdayofweek N/A tup N/A N/A 2 offset N/A N/A self dstweeknumber N/A tup N/A N/A 3 offset N/A N/A self dsthour N/A tup N/A N/A 4 offset N/A N/A self dstminute N/A tup N/A N/A 5 offset N/A N/A keydict N/A valuesToDict localkey N/A N/A self stdname N/A keydict N/A StandardName N/A N/A self dstname N/A keydict N/A DaylightName N/A sourcekey N/A N/A _winreg OpenKey tzparent N/A self stdname N/A N/A self display N/A N/A valuesToDict sourcekey N/A Display N/A N/A self stdoffset N/A N/A N/A keydict N/A Bias N/A keydict N/A StandardBias N/A N/A self dstoffset N/A N/A self stdoffset N/A keydict N/A DaylightBias N/A tup N/A N/A struct unpack =8h N/A keydict N/A StandardStart N/A offset 0 N/A N/A self stdmonth N/A tup N/A N/A 1 offset N/A N/A self stddayofweek N/A tup N/A N/A 2 offset N/A N/A self stdweeknumber N/A tup N/A N/A 3 offset N/A N/A self stdhour N/A tup N/A N/A 4 offset N/A N/A self stdminute N/A tup N/A N/A 5 offset N/A tup N/A N/A struct unpack =8h N/A keydict N/A DaylightStart N/A N/A self dstmonth N/A tup N/A N/A 1 offset N/A N/A self dstdayofweek N/A tup N/A N/A 2 offset N/A N/A self dstweeknumber N/A tup N/A N/A 3 offset N/A N/A self dsthour N/A tup N/A N/A 4 offset N/A N/A self dstminute N/A tup N/A N/A 5 offset N/A N/A valuesToDict N/A N/A key N/A N/A N/A Convert a registry key's values to a dictionary. N/A dict N/A N/A size N/A N/A N/A _winreg QueryInfoKey key N/A 1 N/A i N/A xrange size N/A N/A N/A dict N/A N/A N/A N/A _winreg EnumValue key i N/A 0 N/A N/A N/A _winreg EnumValue key i N/A 1 N/A dict N/A _test N/A N/A N/A N/A N/A win32tz doctest N/A N/A N/A doctest testmod win32tz verbose 0 N/A N/A N/A __name__ __main__ N/A N/A N/A _test