�
<��g� � � � d Z ddlZddlmZmZ ed� � Z G d� de� � Z e� � Zd� Z G d� de� � Z eej
� � � Zej r eej
� � � ZneZeez
Z G d
� de� � Z e� � ZdS )zx
This module provides some datetime.tzinfo implementations.
All those classes are taken from the Python documentation.
� N)� timedelta�tzinfoc �* � e Zd ZdZd� Zd� Zd� Zd� ZdS )�Utcz3UTC
Universal time coordinated time zone.
c � � t S )zW
Return offset from UTC in minutes east of UTC, which is ZERO for UTC.
��ZERO��self�dts �^/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/isodate/tzinfo.py� utcoffsetz
Utc.utcoffset s � � �� c � � dS )zi
Return the time zone name corresponding to the datetime object dt,
as a string.
�UTC� r
s r
�tznamez
Utc.tzname s � �
�ur c � � t S )zc
Return the daylight saving time (DST) adjustment, in minutes east
of UTC.
r r
s r
�dstzUtc.dst! � � �
�r c � � t dfS )zW
When unpickling a Utc object, return the default instance below, UTC.
r )�_Utc�r s r
�
__reduce__zUtc.__reduce__( s
� � �R�x�r N)�__name__�
__module__�__qualname__�__doc__r r r r r r r
r r sZ � � � � � �� �
� � �� � �� � �� � � � r r c � � t S )z6
Helper function for unpickling a Utc object.
)r r r r
r r 3 s � � �Jr c �2 � e Zd ZdZd
d�Zd� Zd� Zd� Zd� Zd S )�FixedOffsetz�
A class building tzinfo objects for fixed-offset time zones.
Note that FixedOffset(0, 0, "UTC") or FixedOffset() is a different way to
build a UTC tzinfo object.
r r c �@ � t ||�� � | _ || _ dS )z�
Initialise an instance with time offset and name.
The time offset should be positive for time zones east of UTC
and negate for time zones west of UTC.
)�hours�minutesN)r �_FixedOffset__offset�_FixedOffset__name)r �offset_hours�offset_minutes�names r
�__init__zFixedOffset.__init__B s# � � "��n�M�M�M��
�����r c � � | j S �z;
Return offset from UTC in minutes of UTC.
)r% r
s r
r zFixedOffset.utcoffsetK s � � �}�r c � � | j S �zi
Return the time zone name corresponding to the datetime object dt, as a
string.
�r&