1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-01 05:49:58 +00:00
calibre-web/vendor/pytz/zoneinfo/Asia/Kuala_Lumpur.py

35 lines
763 B
Python
Raw Normal View History

'''tzinfo timezone information for Asia/Kuala_Lumpur.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class Kuala_Lumpur(DstTzInfo):
'''Asia/Kuala_Lumpur timezone definition. See datetime.tzinfo for details'''
zone = 'Asia/Kuala_Lumpur'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1905,5,31,17,4,35),
d(1932,12,31,17,0,0),
d(1935,12,31,16,40,0),
d(1941,8,31,16,40,0),
d(1942,2,15,16,30,0),
d(1945,9,11,15,0,0),
d(1981,12,31,16,30,0),
]
_transition_info = [
i(24900,0,'SMT'),
i(25200,0,'MALT'),
i(26400,1200,'MALST'),
i(26400,0,'MALT'),
i(27000,0,'MALT'),
i(32400,0,'JST'),
i(27000,0,'MALT'),
i(28800,0,'MYT'),
]
Kuala_Lumpur = Kuala_Lumpur()