Current File : //proc/self/root/usr/lib/python3/dist-packages/twisted/python/__pycache__/_tzhelper.cpython-312.pyc |
�
Ϫ�fw � �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__"