~ubuntu-branches/ubuntu/natty/python-tz/natty-proposed

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Asia/Jakarta.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-03-05 02:35:34 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070305023534-z5ms36hfatosmh2k
Tags: 2007c-0ubuntu1
* New upstream version.
* Set Ubuntu maintainer address.
* Replace the timezone data with a reference to the data in the
  tzdata package.
* One more package not duplicating timezone data. Ubuntu #86599.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
'''tzinfo timezone information for Asia/Jakarta.'''
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 Jakarta(DstTzInfo):
7
 
    '''Asia/Jakarta timezone definition. See datetime.tzinfo for details'''
8
 
 
9
 
    zone = 'Asia/Jakarta'
10
 
 
11
 
    _utc_transition_times = [
12
 
d(1,1,1,0,0,0),
13
 
d(1923,12,31,16,40,0),
14
 
d(1932,10,31,16,40,0),
15
 
d(1942,3,22,16,30,0),
16
 
d(1945,7,31,15,0,0),
17
 
d(1948,4,30,16,30,0),
18
 
d(1950,4,30,16,0,0),
19
 
d(1963,12,31,16,30,0),
20
 
        ]
21
 
 
22
 
    _transition_info = [
23
 
i(25620,0,'JMT'),
24
 
i(26400,0,'JAVT'),
25
 
i(27000,0,'WIT'),
26
 
i(32400,0,'JST'),
27
 
i(27000,0,'WIT'),
28
 
i(28800,0,'WIT'),
29
 
i(27000,0,'WIT'),
30
 
i(25200,0,'WIT'),
31
 
        ]
32
 
 
33
 
Jakarta = Jakarta()
34