1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-11 10:40:32 +00:00
calibre-web/vendor/pytz/zoneinfo/Africa/Windhoek.py

205 lines
3.9 KiB
Python
Raw Normal View History

'''tzinfo timezone information for Africa/Windhoek.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class Windhoek(DstTzInfo):
'''Africa/Windhoek timezone definition. See datetime.tzinfo for details'''
zone = 'Africa/Windhoek'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1903,2,28,22,30,0),
d(1942,9,20,0,0,0),
d(1943,3,20,23,0,0),
d(1990,3,20,22,0,0),
d(1994,4,2,22,0,0),
d(1994,9,4,1,0,0),
d(1995,4,2,0,0,0),
d(1995,9,3,1,0,0),
d(1996,4,7,0,0,0),
d(1996,9,1,1,0,0),
d(1997,4,6,0,0,0),
d(1997,9,7,1,0,0),
d(1998,4,5,0,0,0),
d(1998,9,6,1,0,0),
d(1999,4,4,0,0,0),
d(1999,9,5,1,0,0),
d(2000,4,2,0,0,0),
d(2000,9,3,1,0,0),
d(2001,4,1,0,0,0),
d(2001,9,2,1,0,0),
d(2002,4,7,0,0,0),
d(2002,9,1,1,0,0),
d(2003,4,6,0,0,0),
d(2003,9,7,1,0,0),
d(2004,4,4,0,0,0),
d(2004,9,5,1,0,0),
d(2005,4,3,0,0,0),
d(2005,9,4,1,0,0),
d(2006,4,2,0,0,0),
d(2006,9,3,1,0,0),
d(2007,4,1,0,0,0),
d(2007,9,2,1,0,0),
d(2008,4,6,0,0,0),
d(2008,9,7,1,0,0),
d(2009,4,5,0,0,0),
d(2009,9,6,1,0,0),
d(2010,4,4,0,0,0),
d(2010,9,5,1,0,0),
d(2011,4,3,0,0,0),
d(2011,9,4,1,0,0),
d(2012,4,1,0,0,0),
d(2012,9,2,1,0,0),
d(2013,4,7,0,0,0),
d(2013,9,1,1,0,0),
d(2014,4,6,0,0,0),
d(2014,9,7,1,0,0),
d(2015,4,5,0,0,0),
d(2015,9,6,1,0,0),
d(2016,4,3,0,0,0),
d(2016,9,4,1,0,0),
d(2017,4,2,0,0,0),
d(2017,9,3,1,0,0),
d(2018,4,1,0,0,0),
d(2018,9,2,1,0,0),
d(2019,4,7,0,0,0),
d(2019,9,1,1,0,0),
d(2020,4,5,0,0,0),
d(2020,9,6,1,0,0),
d(2021,4,4,0,0,0),
d(2021,9,5,1,0,0),
d(2022,4,3,0,0,0),
d(2022,9,4,1,0,0),
d(2023,4,2,0,0,0),
d(2023,9,3,1,0,0),
d(2024,4,7,0,0,0),
d(2024,9,1,1,0,0),
d(2025,4,6,0,0,0),
d(2025,9,7,1,0,0),
d(2026,4,5,0,0,0),
d(2026,9,6,1,0,0),
d(2027,4,4,0,0,0),
d(2027,9,5,1,0,0),
d(2028,4,2,0,0,0),
d(2028,9,3,1,0,0),
d(2029,4,1,0,0,0),
d(2029,9,2,1,0,0),
d(2030,4,7,0,0,0),
d(2030,9,1,1,0,0),
d(2031,4,6,0,0,0),
d(2031,9,7,1,0,0),
d(2032,4,4,0,0,0),
d(2032,9,5,1,0,0),
d(2033,4,3,0,0,0),
d(2033,9,4,1,0,0),
d(2034,4,2,0,0,0),
d(2034,9,3,1,0,0),
d(2035,4,1,0,0,0),
d(2035,9,2,1,0,0),
d(2036,4,6,0,0,0),
d(2036,9,7,1,0,0),
d(2037,4,5,0,0,0),
d(2037,9,6,1,0,0),
]
_transition_info = [
i(5400,0,'SWAT'),
i(7200,0,'SAST'),
i(10800,3600,'SAST'),
i(7200,0,'SAST'),
i(7200,0,'CAT'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
i(3600,0,'WAT'),
i(7200,3600,'WAST'),
]
Windhoek = Windhoek()