You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
237 lines
4.9 KiB
Python
237 lines
4.9 KiB
Python
'''tzinfo timezone information for Asia/Ulan_Bator.'''
|
|
from pytz.tzinfo import DstTzInfo
|
|
from pytz.tzinfo import memorized_datetime as d
|
|
from pytz.tzinfo import memorized_ttinfo as i
|
|
|
|
class Ulan_Bator(DstTzInfo):
|
|
'''Asia/Ulan_Bator timezone definition. See datetime.tzinfo for details'''
|
|
|
|
zone = 'Asia/Ulan_Bator'
|
|
|
|
_utc_transition_times = [
|
|
d(1,1,1,0,0,0),
|
|
d(1905,7,31,16,52,28),
|
|
d(1977,12,31,17,0,0),
|
|
d(1983,3,31,16,0,0),
|
|
d(1983,9,30,15,0,0),
|
|
d(1984,3,31,16,0,0),
|
|
d(1984,9,29,15,0,0),
|
|
d(1985,3,30,16,0,0),
|
|
d(1985,9,28,15,0,0),
|
|
d(1986,3,29,16,0,0),
|
|
d(1986,9,27,15,0,0),
|
|
d(1987,3,28,16,0,0),
|
|
d(1987,9,26,15,0,0),
|
|
d(1988,3,26,16,0,0),
|
|
d(1988,9,24,15,0,0),
|
|
d(1989,3,25,16,0,0),
|
|
d(1989,9,23,15,0,0),
|
|
d(1990,3,24,16,0,0),
|
|
d(1990,9,29,15,0,0),
|
|
d(1991,3,30,16,0,0),
|
|
d(1991,9,28,15,0,0),
|
|
d(1992,3,28,16,0,0),
|
|
d(1992,9,26,15,0,0),
|
|
d(1993,3,27,16,0,0),
|
|
d(1993,9,25,15,0,0),
|
|
d(1994,3,26,16,0,0),
|
|
d(1994,9,24,15,0,0),
|
|
d(1995,3,25,16,0,0),
|
|
d(1995,9,23,15,0,0),
|
|
d(1996,3,30,16,0,0),
|
|
d(1996,9,28,15,0,0),
|
|
d(1997,3,29,16,0,0),
|
|
d(1997,9,27,15,0,0),
|
|
d(1998,3,28,16,0,0),
|
|
d(1998,9,26,15,0,0),
|
|
d(2001,4,27,18,0,0),
|
|
d(2001,9,28,17,0,0),
|
|
d(2002,3,29,18,0,0),
|
|
d(2002,9,27,17,0,0),
|
|
d(2003,3,28,18,0,0),
|
|
d(2003,9,26,17,0,0),
|
|
d(2004,3,26,18,0,0),
|
|
d(2004,9,24,17,0,0),
|
|
d(2005,3,25,18,0,0),
|
|
d(2005,9,23,17,0,0),
|
|
d(2006,3,24,18,0,0),
|
|
d(2006,9,29,17,0,0),
|
|
d(2007,3,30,18,0,0),
|
|
d(2007,9,28,17,0,0),
|
|
d(2008,3,28,18,0,0),
|
|
d(2008,9,26,17,0,0),
|
|
d(2009,3,27,18,0,0),
|
|
d(2009,9,25,17,0,0),
|
|
d(2010,3,26,18,0,0),
|
|
d(2010,9,24,17,0,0),
|
|
d(2011,3,25,18,0,0),
|
|
d(2011,9,23,17,0,0),
|
|
d(2012,3,30,18,0,0),
|
|
d(2012,9,28,17,0,0),
|
|
d(2013,3,29,18,0,0),
|
|
d(2013,9,27,17,0,0),
|
|
d(2014,3,28,18,0,0),
|
|
d(2014,9,26,17,0,0),
|
|
d(2015,3,27,18,0,0),
|
|
d(2015,9,25,17,0,0),
|
|
d(2016,3,25,18,0,0),
|
|
d(2016,9,23,17,0,0),
|
|
d(2017,3,24,18,0,0),
|
|
d(2017,9,29,17,0,0),
|
|
d(2018,3,30,18,0,0),
|
|
d(2018,9,28,17,0,0),
|
|
d(2019,3,29,18,0,0),
|
|
d(2019,9,27,17,0,0),
|
|
d(2020,3,27,18,0,0),
|
|
d(2020,9,25,17,0,0),
|
|
d(2021,3,26,18,0,0),
|
|
d(2021,9,24,17,0,0),
|
|
d(2022,3,25,18,0,0),
|
|
d(2022,9,23,17,0,0),
|
|
d(2023,3,24,18,0,0),
|
|
d(2023,9,29,17,0,0),
|
|
d(2024,3,29,18,0,0),
|
|
d(2024,9,27,17,0,0),
|
|
d(2025,3,28,18,0,0),
|
|
d(2025,9,26,17,0,0),
|
|
d(2026,3,27,18,0,0),
|
|
d(2026,9,25,17,0,0),
|
|
d(2027,3,26,18,0,0),
|
|
d(2027,9,24,17,0,0),
|
|
d(2028,3,24,18,0,0),
|
|
d(2028,9,29,17,0,0),
|
|
d(2029,3,30,18,0,0),
|
|
d(2029,9,28,17,0,0),
|
|
d(2030,3,29,18,0,0),
|
|
d(2030,9,27,17,0,0),
|
|
d(2031,3,28,18,0,0),
|
|
d(2031,9,26,17,0,0),
|
|
d(2032,3,26,18,0,0),
|
|
d(2032,9,24,17,0,0),
|
|
d(2033,3,25,18,0,0),
|
|
d(2033,9,23,17,0,0),
|
|
d(2034,3,24,18,0,0),
|
|
d(2034,9,29,17,0,0),
|
|
d(2035,3,30,18,0,0),
|
|
d(2035,9,28,17,0,0),
|
|
d(2036,3,28,18,0,0),
|
|
d(2036,9,26,17,0,0),
|
|
d(2037,3,27,18,0,0),
|
|
d(2037,9,25,17,0,0),
|
|
]
|
|
|
|
_transition_info = [
|
|
i(25680,0,'LMT'),
|
|
i(25200,0,'ULAT'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
i(32400,3600,'ULAST'),
|
|
i(28800,0,'ULAT'),
|
|
]
|
|
|
|
Ulan_Bator = Ulan_Bator()
|
|
|