| Server IP : 74.208.250.37 / Your IP : 216.73.216.114 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/python/__pycache__/ |
Upload File : |
�
ojw � �p � d Z ddlmZmZmZmZ ddlm Z ddgZ
G d� de� Zej ddd� Z
y) z
Time zone utilities.
� )�datetime� timedelta�timezone�tzinfo)�Optional�FixedOffsetTimeZone�UTCc � � e Zd ZdZddedee ddfd�Zedede d e dd fd
�� Z
ededd fd�� Zd
ee
defd�Zd
ee
defd�Zd
ee
defd�Zy)r a*
Represents a fixed timezone offset (without daylight saving time).
@ivar name: A L{str} giving the name of this timezone; the name just
includes how much time this offset represents.
@ivar offset: A L{TimeDelta} giving the amount of time this timezone is
offset.
N�offset�name�returnc � � || _ || _ y)z�
Construct a L{FixedOffsetTimeZone} with a fixed offset.
@param offset: a delta representing the offset from UTC.
@param name: A name to be given for this timezone.
N)r r )�selfr r s �:/usr/lib/python3/dist-packages/twisted/python/_tzhelper.py�__init__zFixedOffsetTimeZone.__init__"