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

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Asia/Seoul.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/Seoul.'''
 
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 Seoul(DstTzInfo):
 
7
    '''Asia/Seoul timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'Asia/Seoul'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1904,11,30,15,30,0),
 
14
d(1927,12,31,15,0,0),
 
15
d(1931,12,31,15,30,0),
 
16
d(1954,3,20,15,0,0),
 
17
d(1960,5,14,16,0,0),
 
18
d(1960,9,12,15,0,0),
 
19
d(1961,8,9,16,0,0),
 
20
d(1968,9,30,15,30,0),
 
21
d(1987,5,9,15,0,0),
 
22
d(1987,10,10,14,0,0),
 
23
d(1988,5,7,15,0,0),
 
24
d(1988,10,8,14,0,0),
 
25
        ]
 
26
 
 
27
    _transition_info = [
 
28
i(30600,0,'KST'),
 
29
i(32400,0,'KST'),
 
30
i(30600,0,'KST'),
 
31
i(32400,0,'KST'),
 
32
i(28800,0,'KST'),
 
33
i(32400,3600,'KDT'),
 
34
i(28800,0,'KST'),
 
35
i(30600,0,'KST'),
 
36
i(32400,0,'KST'),
 
37
i(36000,3600,'KDT'),
 
38
i(32400,0,'KST'),
 
39
i(36000,3600,'KDT'),
 
40
i(32400,0,'KST'),
 
41
        ]
 
42
 
 
43
Seoul = Seoul()
 
44