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

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/America/Hermosillo.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/Hermosillo.'''
 
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 Hermosillo(DstTzInfo):
 
7
    '''America/Hermosillo timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'America/Hermosillo'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1922,1,1,7,0,0),
 
14
d(1927,6,11,6,0,0),
 
15
d(1930,11,15,6,0,0),
 
16
d(1931,5,2,6,0,0),
 
17
d(1931,10,1,6,0,0),
 
18
d(1932,4,1,7,0,0),
 
19
d(1942,4,24,6,0,0),
 
20
d(1949,1,14,7,0,0),
 
21
d(1970,1,1,8,0,0),
 
22
d(1996,4,7,9,0,0),
 
23
d(1996,10,27,8,0,0),
 
24
d(1997,4,6,9,0,0),
 
25
d(1997,10,26,8,0,0),
 
26
d(1998,4,5,9,0,0),
 
27
d(1998,10,25,8,0,0),
 
28
        ]
 
29
 
 
30
    _transition_info = [
 
31
i(-26640,0,'LMT'),
 
32
i(-25200,0,'MST'),
 
33
i(-21600,0,'CST'),
 
34
i(-25200,0,'MST'),
 
35
i(-21600,0,'CST'),
 
36
i(-25200,0,'MST'),
 
37
i(-21600,0,'CST'),
 
38
i(-25200,0,'MST'),
 
39
i(-28800,0,'PST'),
 
40
i(-25200,0,'MST'),
 
41
i(-21600,3600,'MDT'),
 
42
i(-25200,0,'MST'),
 
43
i(-21600,3600,'MDT'),
 
44
i(-25200,0,'MST'),
 
45
i(-21600,3600,'MDT'),
 
46
i(-25200,0,'MST'),
 
47
        ]
 
48
 
 
49
Hermosillo = Hermosillo()
 
50