Viewing File: /opt/imunify360/venv/lib/python3.11/site-packages/dateutil/tz/__pycache__/win.cpython-311.pyc
]j2 H d Z ddlZddlZddlmZ ddlmZ ddlZddlmZ n# e $ r e
d w xY wddlmZ g d Z
ej d
ZdZdZd
Zd Z e Z G d de Z G d de Z G d de Z G d de Zd Zd ZdS )z
This module provides an interface to the native time zone data on Windows,
including :py:class:`datetime.tzinfo` implementations.
Attempting to import this module on a non-Windows platform will raise an
:py:obj:`ImportError`.
N)winreg) text_type)wintypesz#Running tzwin on non-Windows system )tzrangebase)tzwin
tzwinlocaltzres z7SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zonesz4SOFTWARE\Microsoft\Windows\CurrentVersion\Time Zonesz4SYSTEM\CurrentControlSet\Control\TimeZoneInformationc t j d t j } t j | t t }n# t $ r
t }Y nw xY w| |S N)r ConnectRegistryHKEY_LOCAL_MACHINEOpenKeyTZKEYNAMENTCloseWindowsErrorTZKEYNAME9X)handle TZKEYNAMEs o/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/dateutil/tz/win.py
_settzkeynamer "