1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-09 11:30:00 +00:00
calibre-web/vendor/pytz/zoneinfo/Asia/Macao.py

105 lines
2.1 KiB
Python
Raw Normal View History

'''tzinfo timezone information for Asia/Macao.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class Macao(DstTzInfo):
'''Asia/Macao timezone definition. See datetime.tzinfo for details'''
zone = 'Asia/Macao'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1911,12,31,16,25,40),
d(1961,3,18,19,30,0),
d(1961,11,4,18,30,0),
d(1962,3,17,19,30,0),
d(1962,11,3,18,30,0),
d(1963,3,16,16,0,0),
d(1963,11,2,18,30,0),
d(1964,3,21,19,30,0),
d(1964,10,31,18,30,0),
d(1965,3,20,16,0,0),
d(1965,10,30,15,0,0),
d(1966,4,16,19,30,0),
d(1966,10,15,18,30,0),
d(1967,4,15,19,30,0),
d(1967,10,21,18,30,0),
d(1968,4,20,19,30,0),
d(1968,10,19,18,30,0),
d(1969,4,19,19,30,0),
d(1969,10,18,18,30,0),
d(1970,4,18,19,30,0),
d(1970,10,17,18,30,0),
d(1971,4,17,19,30,0),
d(1971,10,16,18,30,0),
d(1972,4,15,16,0,0),
d(1972,10,14,15,0,0),
d(1973,4,14,16,0,0),
d(1973,10,20,15,0,0),
d(1974,4,20,16,0,0),
d(1974,10,19,18,30,0),
d(1975,4,19,19,30,0),
d(1975,10,18,18,30,0),
d(1976,4,17,19,30,0),
d(1976,10,16,18,30,0),
d(1977,4,16,19,30,0),
d(1977,10,15,18,30,0),
d(1978,4,15,16,0,0),
d(1978,10,14,15,0,0),
d(1979,4,14,16,0,0),
d(1979,10,20,15,0,0),
d(1980,4,19,16,0,0),
d(1980,10,18,15,0,0),
d(1999,12,19,16,0,0),
]
_transition_info = [
i(27240,0,'LMT'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(32400,3600,'MOST'),
i(28800,0,'MOT'),
i(28800,0,'CST'),
]
Macao = Macao()