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

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Asia/Harbin.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 Asia/Harbin.'''
 
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 Harbin(DstTzInfo):
 
7
    '''Asia/Harbin timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'Asia/Harbin'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1927,12,31,15,33,16),
 
14
d(1932,2,29,15,30,0),
 
15
d(1939,12,31,16,0,0),
 
16
d(1966,4,30,15,0,0),
 
17
d(1980,4,30,15,30,0),
 
18
d(1986,5,3,16,0,0),
 
19
d(1986,9,13,15,0,0),
 
20
d(1987,4,11,16,0,0),
 
21
d(1987,9,12,15,0,0),
 
22
d(1988,4,9,16,0,0),
 
23
d(1988,9,10,15,0,0),
 
24
d(1989,4,15,16,0,0),
 
25
d(1989,9,16,15,0,0),
 
26
d(1990,4,14,16,0,0),
 
27
d(1990,9,15,15,0,0),
 
28
d(1991,4,13,16,0,0),
 
29
d(1991,9,14,15,0,0),
 
30
        ]
 
31
 
 
32
    _transition_info = [
 
33
i(30420,0,'LMT'),
 
34
i(30600,0,'CHAT'),
 
35
i(28800,0,'CST'),
 
36
i(32400,0,'CHAT'),
 
37
i(30600,0,'CHAT'),
 
38
i(28800,0,'CST'),
 
39
i(32400,3600,'CDT'),
 
40
i(28800,0,'CST'),
 
41
i(32400,3600,'CDT'),
 
42
i(28800,0,'CST'),
 
43
i(32400,3600,'CDT'),
 
44
i(28800,0,'CST'),
 
45
i(32400,3600,'CDT'),
 
46
i(28800,0,'CST'),
 
47
i(32400,3600,'CDT'),
 
48
i(28800,0,'CST'),
 
49
i(32400,3600,'CDT'),
 
50
i(28800,0,'CST'),
 
51
        ]
 
52
 
 
53
Harbin = Harbin()
 
54