HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/alt/python38/lib/python3.8/site-packages/babel/localtime/__pycache__/__init__.cpython-38.pyc
U

�`��@s�dZddlZddlZddlZddlmZddlmZddlmZej	dkrXddl
mZnddlmZdZ
e�Zeejd�Zejr�eejd�ZneZeeZed�ZGd	d
�d
e�Zdd�Zz
e�ZWnejk
r�e�ZYnXdS)
z�
    babel.localtime
    ~~~~~~~~~~~~~~~

    Babel specific fork of tzlocal to determine the local timezone
    of the system.

    :copyright: (c) 2013-2021 by the Babel Team.
    :license: BSD, see LICENSE for more details.
�N)�	timedelta)�tzinfo)�RLock�win32��_get_localzone)�secondsc@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�_FallbackLocalTimezonecCs|�|�rtStSdS�N)�_isdst�	DSTOFFSET�	STDOFFSET��self�dt�r�I/opt/alt/python38/lib/python3.8/site-packages/babel/localtime/__init__.py�	utcoffset)s
z _FallbackLocalTimezone.utcoffsetcCs|�|�rtStSdSr
)r�DSTDIFF�ZEROrrrr�dst/s
z_FallbackLocalTimezone.dstcCstj|�|�Sr
)�time�tznamerrrrrr5sz_FallbackLocalTimezone.tznamec	CsD|j|j|j|j|j|j|��ddf	}t�|�}t�	|�}|j
dkS)Nr���)�year�month�day�hour�minute�second�weekdayr�mktime�	localtime�tm_isdst)rr�ttZstamprrrr8s�

z_FallbackLocalTimezone._isdstN)�__name__�
__module__�__qualname__rrrrrrrrr	'sr	cCst�S)z�Returns the current underlying local timezone object.
    Generally this function does not need to be used, it's a
    better idea to use the :data:`LOCALTZ` singleton instead.
    rrrrr�
get_localzoneAsr()�__doc__�sys�pytzr�datetimerr�	threadingr�platformZbabel.localtime._win32rZbabel.localtime._unixZ
_cached_tz�_cache_lock�timezoner
�daylight�altzonerrrr	r(�LOCALTZ�UnknownTimeZoneErrorrrrr�<module>s.