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

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Asia/Kuching.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/Kuching.'''
 
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 Kuching(DstTzInfo):
 
7
    '''Asia/Kuching timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'Asia/Kuching'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1926,2,28,16,38,40),
 
14
d(1932,12,31,16,30,0),
 
15
d(1935,9,13,16,0,0),
 
16
d(1935,12,13,15,40,0),
 
17
d(1936,9,13,16,0,0),
 
18
d(1936,12,13,15,40,0),
 
19
d(1937,9,13,16,0,0),
 
20
d(1937,12,13,15,40,0),
 
21
d(1938,9,13,16,0,0),
 
22
d(1938,12,13,15,40,0),
 
23
d(1939,9,13,16,0,0),
 
24
d(1939,12,13,15,40,0),
 
25
d(1940,9,13,16,0,0),
 
26
d(1940,12,13,15,40,0),
 
27
d(1941,9,13,16,0,0),
 
28
d(1941,12,13,15,40,0),
 
29
d(1942,2,15,16,0,0),
 
30
d(1945,9,11,15,0,0),
 
31
d(1981,12,31,16,0,0),
 
32
        ]
 
33
 
 
34
    _transition_info = [
 
35
i(26460,0,'LMT'),
 
36
i(27000,0,'BORT'),
 
37
i(28800,0,'BORT'),
 
38
i(30000,1200,'BORTST'),
 
39
i(28800,0,'BORT'),
 
40
i(30000,1200,'BORTST'),
 
41
i(28800,0,'BORT'),
 
42
i(30000,1200,'BORTST'),
 
43
i(28800,0,'BORT'),
 
44
i(30000,1200,'BORTST'),
 
45
i(28800,0,'BORT'),
 
46
i(30000,1200,'BORTST'),
 
47
i(28800,0,'BORT'),
 
48
i(30000,1200,'BORTST'),
 
49
i(28800,0,'BORT'),
 
50
i(30000,1200,'BORTST'),
 
51
i(28800,0,'BORT'),
 
52
i(32400,0,'JST'),
 
53
i(28800,0,'BORT'),
 
54
i(28800,0,'MYT'),
 
55
        ]
 
56
 
 
57
Kuching = Kuching()
 
58