calibre-web/vendor/pytz/zoneinfo/Asia/Hong_Kong.py

159 lines
3.3 KiB
Python
Raw Normal View History

'''tzinfo timezone information for Asia/Hong_Kong.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class Hong_Kong(DstTzInfo):
'''Asia/Hong_Kong timezone definition. See datetime.tzinfo for details'''
zone = 'Asia/Hong_Kong'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1904,10,29,16,23,24),
d(1946,4,19,19,30,0),
d(1946,11,30,18,30,0),
d(1947,4,12,19,30,0),
d(1947,12,29,18,30,0),
d(1948,5,1,19,30,0),
d(1948,10,30,18,30,0),
d(1949,4,2,19,30,0),
d(1949,10,29,18,30,0),
d(1950,4,1,19,30,0),
d(1950,10,28,18,30,0),
d(1951,3,31,19,30,0),
d(1951,10,27,18,30,0),
d(1952,4,5,19,30,0),
d(1952,10,25,18,30,0),
d(1953,4,4,19,30,0),
d(1953,10,31,18,30,0),
d(1954,3,20,19,30,0),
d(1954,10,30,18,30,0),
d(1955,3,19,19,30,0),
d(1955,11,5,18,30,0),
d(1956,3,17,19,30,0),
d(1956,11,3,18,30,0),
d(1957,3,23,19,30,0),
d(1957,11,2,18,30,0),
d(1958,3,22,19,30,0),
d(1958,11,1,18,30,0),
d(1959,3,21,19,30,0),
d(1959,10,31,18,30,0),
d(1960,3,19,19,30,0),
d(1960,11,5,18,30,0),
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,23,19,30,0),
d(1963,11,2,18,30,0),
d(1964,3,21,19,30,0),
d(1964,10,31,18,30,0),
d(1965,4,17,19,30,0),
d(1965,10,16,18,30,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,19,30,0),
d(1972,10,21,18,30,0),
d(1973,4,21,19,30,0),
d(1973,10,20,18,30,0),
d(1974,4,20,19,30,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(1979,5,12,19,30,0),
d(1979,10,20,18,30,0),
d(1980,5,10,19,30,0),
d(1980,10,18,18,30,0),
]
_transition_info = [
i(27420,0,'LMT'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
i(32400,3600,'HKST'),
i(28800,0,'HKT'),
]
Hong_Kong = Hong_Kong()