mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-04 15:29:59 +00:00
271 lines
5.5 KiB
Python
271 lines
5.5 KiB
Python
|
'''tzinfo timezone information for Antarctica/Palmer.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Palmer(DstTzInfo):
|
||
|
'''Antarctica/Palmer timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Antarctica/Palmer'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1965,1,1,0,0,0),
|
||
|
d(1965,3,1,3,0,0),
|
||
|
d(1965,10,15,4,0,0),
|
||
|
d(1966,3,1,3,0,0),
|
||
|
d(1966,10,15,4,0,0),
|
||
|
d(1967,4,2,3,0,0),
|
||
|
d(1967,10,1,4,0,0),
|
||
|
d(1968,4,7,3,0,0),
|
||
|
d(1968,10,6,4,0,0),
|
||
|
d(1969,4,6,3,0,0),
|
||
|
d(1969,10,5,4,0,0),
|
||
|
d(1974,1,23,3,0,0),
|
||
|
d(1974,5,1,2,0,0),
|
||
|
d(1982,5,1,3,0,0),
|
||
|
d(1982,10,10,4,0,0),
|
||
|
d(1983,3,13,3,0,0),
|
||
|
d(1983,10,9,4,0,0),
|
||
|
d(1984,3,11,3,0,0),
|
||
|
d(1984,10,14,4,0,0),
|
||
|
d(1985,3,10,3,0,0),
|
||
|
d(1985,10,13,4,0,0),
|
||
|
d(1986,3,9,3,0,0),
|
||
|
d(1986,10,12,4,0,0),
|
||
|
d(1987,4,12,3,0,0),
|
||
|
d(1987,10,11,4,0,0),
|
||
|
d(1988,3,13,3,0,0),
|
||
|
d(1988,10,2,4,0,0),
|
||
|
d(1989,3,12,3,0,0),
|
||
|
d(1989,10,15,4,0,0),
|
||
|
d(1990,3,18,3,0,0),
|
||
|
d(1990,9,16,4,0,0),
|
||
|
d(1991,3,10,3,0,0),
|
||
|
d(1991,10,13,4,0,0),
|
||
|
d(1992,3,15,3,0,0),
|
||
|
d(1992,10,11,4,0,0),
|
||
|
d(1993,3,14,3,0,0),
|
||
|
d(1993,10,10,4,0,0),
|
||
|
d(1994,3,13,3,0,0),
|
||
|
d(1994,10,9,4,0,0),
|
||
|
d(1995,3,12,3,0,0),
|
||
|
d(1995,10,15,4,0,0),
|
||
|
d(1996,3,10,3,0,0),
|
||
|
d(1996,10,13,4,0,0),
|
||
|
d(1997,3,30,3,0,0),
|
||
|
d(1997,10,12,4,0,0),
|
||
|
d(1998,3,15,3,0,0),
|
||
|
d(1998,9,27,4,0,0),
|
||
|
d(1999,4,4,3,0,0),
|
||
|
d(1999,10,10,4,0,0),
|
||
|
d(2000,3,12,3,0,0),
|
||
|
d(2000,10,15,4,0,0),
|
||
|
d(2001,3,11,3,0,0),
|
||
|
d(2001,10,14,4,0,0),
|
||
|
d(2002,3,10,3,0,0),
|
||
|
d(2002,10,13,4,0,0),
|
||
|
d(2003,3,9,3,0,0),
|
||
|
d(2003,10,12,4,0,0),
|
||
|
d(2004,3,14,3,0,0),
|
||
|
d(2004,10,10,4,0,0),
|
||
|
d(2005,3,13,3,0,0),
|
||
|
d(2005,10,9,4,0,0),
|
||
|
d(2006,3,12,3,0,0),
|
||
|
d(2006,10,15,4,0,0),
|
||
|
d(2007,3,11,3,0,0),
|
||
|
d(2007,10,14,4,0,0),
|
||
|
d(2008,3,9,3,0,0),
|
||
|
d(2008,10,12,4,0,0),
|
||
|
d(2009,3,15,3,0,0),
|
||
|
d(2009,10,11,4,0,0),
|
||
|
d(2010,3,14,3,0,0),
|
||
|
d(2010,10,10,4,0,0),
|
||
|
d(2011,3,13,3,0,0),
|
||
|
d(2011,10,9,4,0,0),
|
||
|
d(2012,3,11,3,0,0),
|
||
|
d(2012,10,14,4,0,0),
|
||
|
d(2013,3,10,3,0,0),
|
||
|
d(2013,10,13,4,0,0),
|
||
|
d(2014,3,9,3,0,0),
|
||
|
d(2014,10,12,4,0,0),
|
||
|
d(2015,3,15,3,0,0),
|
||
|
d(2015,10,11,4,0,0),
|
||
|
d(2016,3,13,3,0,0),
|
||
|
d(2016,10,9,4,0,0),
|
||
|
d(2017,3,12,3,0,0),
|
||
|
d(2017,10,15,4,0,0),
|
||
|
d(2018,3,11,3,0,0),
|
||
|
d(2018,10,14,4,0,0),
|
||
|
d(2019,3,10,3,0,0),
|
||
|
d(2019,10,13,4,0,0),
|
||
|
d(2020,3,15,3,0,0),
|
||
|
d(2020,10,11,4,0,0),
|
||
|
d(2021,3,14,3,0,0),
|
||
|
d(2021,10,10,4,0,0),
|
||
|
d(2022,3,13,3,0,0),
|
||
|
d(2022,10,9,4,0,0),
|
||
|
d(2023,3,12,3,0,0),
|
||
|
d(2023,10,15,4,0,0),
|
||
|
d(2024,3,10,3,0,0),
|
||
|
d(2024,10,13,4,0,0),
|
||
|
d(2025,3,9,3,0,0),
|
||
|
d(2025,10,12,4,0,0),
|
||
|
d(2026,3,15,3,0,0),
|
||
|
d(2026,10,11,4,0,0),
|
||
|
d(2027,3,14,3,0,0),
|
||
|
d(2027,10,10,4,0,0),
|
||
|
d(2028,3,12,3,0,0),
|
||
|
d(2028,10,15,4,0,0),
|
||
|
d(2029,3,11,3,0,0),
|
||
|
d(2029,10,14,4,0,0),
|
||
|
d(2030,3,10,3,0,0),
|
||
|
d(2030,10,13,4,0,0),
|
||
|
d(2031,3,9,3,0,0),
|
||
|
d(2031,10,12,4,0,0),
|
||
|
d(2032,3,14,3,0,0),
|
||
|
d(2032,10,10,4,0,0),
|
||
|
d(2033,3,13,3,0,0),
|
||
|
d(2033,10,9,4,0,0),
|
||
|
d(2034,3,12,3,0,0),
|
||
|
d(2034,10,15,4,0,0),
|
||
|
d(2035,3,11,3,0,0),
|
||
|
d(2035,10,14,4,0,0),
|
||
|
d(2036,3,9,3,0,0),
|
||
|
d(2036,10,12,4,0,0),
|
||
|
d(2037,3,15,3,0,0),
|
||
|
d(2037,10,11,4,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(0,0,'zzz'),
|
||
|
i(-10800,-10800,'ARST'),
|
||
|
i(-14400,0,'ART'),
|
||
|
i(-10800,3600,'ARST'),
|
||
|
i(-14400,0,'ART'),
|
||
|
i(-10800,3600,'ARST'),
|
||
|
i(-14400,0,'ART'),
|
||
|
i(-10800,3600,'ARST'),
|
||
|
i(-14400,0,'ART'),
|
||
|
i(-10800,3600,'ARST'),
|
||
|
i(-14400,0,'ART'),
|
||
|
i(-10800,0,'ART'),
|
||
|
i(-7200,3600,'ARST'),
|
||
|
i(-10800,0,'ART'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
i(-14400,0,'CLT'),
|
||
|
i(-10800,3600,'CLST'),
|
||
|
]
|
||
|
|
||
|
Palmer = Palmer()
|
||
|
|