~ubuntu-branches/ubuntu/trusty/python-tz/trusty-updates

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/America/Guatemala.py

  • Committer: Bazaar Package Importer
  • Author(s): Brian Sutherland
  • Date: 2005-02-08 02:14:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050208021433-t6c9teignwsm2ywo
Tags: upstream-2005a
ImportĀ upstreamĀ versionĀ 2005a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''tzinfo timezone information for America/Guatemala.'''
 
2
from pytz.tzinfo import DstTzInfo
 
3
from pytz.tzinfo import memorized_datetime as d
 
4
from pytz.tzinfo import memorized_ttinfo as i
 
5
 
 
6
class Guatemala(DstTzInfo):
 
7
    '''America/Guatemala timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'America/Guatemala'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1918,10,5,6,2,4),
 
14
d(1973,11,25,6,0,0),
 
15
d(1974,2,24,5,0,0),
 
16
d(1983,5,21,6,0,0),
 
17
d(1983,9,22,5,0,0),
 
18
d(1991,3,23,6,0,0),
 
19
d(1991,9,7,5,0,0),
 
20
        ]
 
21
 
 
22
    _transition_info = [
 
23
i(-21720,0,'LMT'),
 
24
i(-21600,0,'CST'),
 
25
i(-18000,3600,'CDT'),
 
26
i(-21600,0,'CST'),
 
27
i(-18000,3600,'CDT'),
 
28
i(-21600,0,'CST'),
 
29
i(-18000,3600,'CDT'),
 
30
i(-21600,0,'CST'),
 
31
        ]
 
32
 
 
33
Guatemala = Guatemala()
 
34