3
���h� � @ s d Z ddlmZmZmZ ddlmZmZmZ dddddd d
dgZG dd� de�Z dd
l
Zeej d�Z
ejr|eej d�Zne
Zee
ZG dd� de�Ze� Zdd� Zedddd�Zedddd�ZG dd� de�Zed$ddd�Zed%ddd�Zed&d dd �Zed'd
d"d#�Zd
S )(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 @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )r z&Fixed offset in minutes east from UTC.c C s t |d�| _|| _d S )N)�minutes)r �_FixedOffset__offset�_FixedOffset__name)�self�offset�name� r �./tmp/pip-build-5_djhm0z/pytz/pytz/reference.py�__init__ s zFixedOffset.__init__c C s | j S )N)r )r �dtr r r � utcoffset s zFixedOffset.utcoffsetc C s | j S )N)r )r r r r r �tzname# s zFixedOffset.tznamec C s t S )N)r )r r r r r �dst& |