~ubuntu-branches/ubuntu/edgy/python-tz/edgy

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/SystemV/MST7.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-02-14 14:29:04 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060214142904-36lky2owqswc1g5q
Tags: 2005r-1ubuntu1
Drop python2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
'''tzinfo timezone information for SystemV/MST7.'''
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 MST7(DstTzInfo):
7
 
    '''SystemV/MST7 timezone definition. See datetime.tzinfo for details'''
8
 
 
9
 
    zone = 'SystemV/MST7'
10
 
 
11
 
    _utc_transition_times = [
12
 
d(1,1,1,0,0,0),
13
 
d(1918,3,31,9,0,0),
14
 
d(1918,10,27,8,0,0),
15
 
d(1919,3,30,9,0,0),
16
 
d(1919,10,26,8,0,0),
17
 
d(1942,2,9,9,0,0),
18
 
d(1944,1,1,6,1,0),
19
 
d(1944,4,1,7,1,0),
20
 
d(1944,10,1,6,1,0),
21
 
d(1967,4,30,9,0,0),
22
 
d(1967,10,29,8,0,0),
23
 
        ]
24
 
 
25
 
    _transition_info = [
26
 
i(-25200,0,'MST'),
27
 
i(-21600,3600,'MDT'),
28
 
i(-25200,0,'MST'),
29
 
i(-21600,3600,'MDT'),
30
 
i(-25200,0,'MST'),
31
 
i(-21600,3600,'MWT'),
32
 
i(-25200,0,'MST'),
33
 
i(-21600,3600,'MWT'),
34
 
i(-25200,0,'MST'),
35
 
i(-21600,3600,'MDT'),
36
 
i(-25200,0,'MST'),
37
 
        ]
38
 
 
39
 
MST7 = MST7()
40