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

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Asia/Kashgar.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/Kashgar.'''
 
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 Kashgar(DstTzInfo):
 
7
    '''Asia/Kashgar timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'Asia/Kashgar'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1927,12,31,18,56,4),
 
14
d(1939,12,31,18,30,0),
 
15
d(1980,4,30,19,0,0),
 
16
d(1986,5,3,16,0,0),
 
17
d(1986,9,13,15,0,0),
 
18
d(1987,4,11,16,0,0),
 
19
d(1987,9,12,15,0,0),
 
20
d(1988,4,9,16,0,0),
 
21
d(1988,9,10,15,0,0),
 
22
d(1989,4,15,16,0,0),
 
23
d(1989,9,16,15,0,0),
 
24
d(1990,4,14,16,0,0),
 
25
d(1990,9,15,15,0,0),
 
26
d(1991,4,13,16,0,0),
 
27
d(1991,9,14,15,0,0),
 
28
        ]
 
29
 
 
30
    _transition_info = [
 
31
i(18240,0,'LMT'),
 
32
i(19800,0,'KAST'),
 
33
i(18000,0,'KAST'),
 
34
i(28800,0,'CST'),
 
35
i(32400,3600,'CDT'),
 
36
i(28800,0,'CST'),
 
37
i(32400,3600,'CDT'),
 
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
        ]
 
48
 
 
49
Kashgar = Kashgar()
 
50