�
���e� � � � d Z ddlmZmZmZ ddlmZmZmZ g d�Z G d� de� Z ddl
Z eej �� Z
ej r eej �� Zne
Zee
z
Z G d � d
e� Z e� Zd� Z edd
dd� Z edddd� Z G d� de� Z edddd� Z edddd� Z edddd� Z edd d!d"� Zy)#z�
Reference tzinfo implementations from the Python docs.
Used for testing against as they are only correct for the years
1987 to 2006. Do not use these for real code.
� )�tzinfo� timedelta�datetime)�HOUR�ZERO�UTC)�FixedOffset�
LocalTimezone�
USTimeZone�Eastern�Central�Mountain�Pacificr c �( � e Zd ZdZd� Zd� Zd� Zd� Zy)r z&Fixed offset in minutes east from UTC.c �4 � t |�� | _ || _ y )N)�minutes)r �_FixedOffset__offset�_FixedOffset__name)�self�offset�names �0/usr/lib/python3/dist-packages/pytz/reference.py�__init__zFixedOffset.__init__ s � �!�&�1��
���� c � � | j S �N)r �r �dts r � utcoffsetzFixedOffset.utcoffset � � ��}�}�r c � � | j S r )r r s r �tznamezFixedOffset.tzname# s � ��{�{�r c � � t S r )r r s r �dstzFixedOffset.dst& |