class documentation
class TZWinContext(TZContextBase): (source)
Context manager for changing local time zone on Windows. Because the effect of this is system-wide and global, it may have unintended side effect. Set the ``DATEUTIL_MAY_CHANGE_TZ`` environment variable to a truthy value before using this context manager.
Method | get |
Undocumented |
Method | set |
Undocumented |
Inherited from TZContextBase
:
Class Method | tz |
Class method used to query whether or not this class allows time zone changes. |
Class Method | tz |
Generate instructions on how to allow tz changes |
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | __init__ |
Undocumented |
Instance Variable | tzval |
Undocumented |
Class Variable | _guard |
Undocumented |
Class Variable | _guard |
Undocumented |
Instance Variable | _old |
Undocumented |