mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-12 03:00:31 +00:00
229 lines
4.6 KiB
Python
229 lines
4.6 KiB
Python
|
'''tzinfo timezone information for America/Miquelon.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Miquelon(DstTzInfo):
|
||
|
'''America/Miquelon timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'America/Miquelon'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1911,5,15,3,44,40),
|
||
|
d(1980,5,1,4,0,0),
|
||
|
d(1987,4,5,5,0,0),
|
||
|
d(1987,10,25,4,0,0),
|
||
|
d(1988,4,3,5,0,0),
|
||
|
d(1988,10,30,4,0,0),
|
||
|
d(1989,4,2,5,0,0),
|
||
|
d(1989,10,29,4,0,0),
|
||
|
d(1990,4,1,5,0,0),
|
||
|
d(1990,10,28,4,0,0),
|
||
|
d(1991,4,7,5,0,0),
|
||
|
d(1991,10,27,4,0,0),
|
||
|
d(1992,4,5,5,0,0),
|
||
|
d(1992,10,25,4,0,0),
|
||
|
d(1993,4,4,5,0,0),
|
||
|
d(1993,10,31,4,0,0),
|
||
|
d(1994,4,3,5,0,0),
|
||
|
d(1994,10,30,4,0,0),
|
||
|
d(1995,4,2,5,0,0),
|
||
|
d(1995,10,29,4,0,0),
|
||
|
d(1996,4,7,5,0,0),
|
||
|
d(1996,10,27,4,0,0),
|
||
|
d(1997,4,6,5,0,0),
|
||
|
d(1997,10,26,4,0,0),
|
||
|
d(1998,4,5,5,0,0),
|
||
|
d(1998,10,25,4,0,0),
|
||
|
d(1999,4,4,5,0,0),
|
||
|
d(1999,10,31,4,0,0),
|
||
|
d(2000,4,2,5,0,0),
|
||
|
d(2000,10,29,4,0,0),
|
||
|
d(2001,4,1,5,0,0),
|
||
|
d(2001,10,28,4,0,0),
|
||
|
d(2002,4,7,5,0,0),
|
||
|
d(2002,10,27,4,0,0),
|
||
|
d(2003,4,6,5,0,0),
|
||
|
d(2003,10,26,4,0,0),
|
||
|
d(2004,4,4,5,0,0),
|
||
|
d(2004,10,31,4,0,0),
|
||
|
d(2005,4,3,5,0,0),
|
||
|
d(2005,10,30,4,0,0),
|
||
|
d(2006,4,2,5,0,0),
|
||
|
d(2006,10,29,4,0,0),
|
||
|
d(2007,3,11,5,0,0),
|
||
|
d(2007,11,4,4,0,0),
|
||
|
d(2008,3,9,5,0,0),
|
||
|
d(2008,11,2,4,0,0),
|
||
|
d(2009,3,8,5,0,0),
|
||
|
d(2009,11,1,4,0,0),
|
||
|
d(2010,3,14,5,0,0),
|
||
|
d(2010,11,7,4,0,0),
|
||
|
d(2011,3,13,5,0,0),
|
||
|
d(2011,11,6,4,0,0),
|
||
|
d(2012,3,11,5,0,0),
|
||
|
d(2012,11,4,4,0,0),
|
||
|
d(2013,3,10,5,0,0),
|
||
|
d(2013,11,3,4,0,0),
|
||
|
d(2014,3,9,5,0,0),
|
||
|
d(2014,11,2,4,0,0),
|
||
|
d(2015,3,8,5,0,0),
|
||
|
d(2015,11,1,4,0,0),
|
||
|
d(2016,3,13,5,0,0),
|
||
|
d(2016,11,6,4,0,0),
|
||
|
d(2017,3,12,5,0,0),
|
||
|
d(2017,11,5,4,0,0),
|
||
|
d(2018,3,11,5,0,0),
|
||
|
d(2018,11,4,4,0,0),
|
||
|
d(2019,3,10,5,0,0),
|
||
|
d(2019,11,3,4,0,0),
|
||
|
d(2020,3,8,5,0,0),
|
||
|
d(2020,11,1,4,0,0),
|
||
|
d(2021,3,14,5,0,0),
|
||
|
d(2021,11,7,4,0,0),
|
||
|
d(2022,3,13,5,0,0),
|
||
|
d(2022,11,6,4,0,0),
|
||
|
d(2023,3,12,5,0,0),
|
||
|
d(2023,11,5,4,0,0),
|
||
|
d(2024,3,10,5,0,0),
|
||
|
d(2024,11,3,4,0,0),
|
||
|
d(2025,3,9,5,0,0),
|
||
|
d(2025,11,2,4,0,0),
|
||
|
d(2026,3,8,5,0,0),
|
||
|
d(2026,11,1,4,0,0),
|
||
|
d(2027,3,14,5,0,0),
|
||
|
d(2027,11,7,4,0,0),
|
||
|
d(2028,3,12,5,0,0),
|
||
|
d(2028,11,5,4,0,0),
|
||
|
d(2029,3,11,5,0,0),
|
||
|
d(2029,11,4,4,0,0),
|
||
|
d(2030,3,10,5,0,0),
|
||
|
d(2030,11,3,4,0,0),
|
||
|
d(2031,3,9,5,0,0),
|
||
|
d(2031,11,2,4,0,0),
|
||
|
d(2032,3,14,5,0,0),
|
||
|
d(2032,11,7,4,0,0),
|
||
|
d(2033,3,13,5,0,0),
|
||
|
d(2033,11,6,4,0,0),
|
||
|
d(2034,3,12,5,0,0),
|
||
|
d(2034,11,5,4,0,0),
|
||
|
d(2035,3,11,5,0,0),
|
||
|
d(2035,11,4,4,0,0),
|
||
|
d(2036,3,9,5,0,0),
|
||
|
d(2036,11,2,4,0,0),
|
||
|
d(2037,3,8,5,0,0),
|
||
|
d(2037,11,1,4,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(-13500,0,'LMT'),
|
||
|
i(-14400,0,'AST'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
i(-7200,3600,'PMDT'),
|
||
|
i(-10800,0,'PMST'),
|
||
|
]
|
||
|
|
||
|
Miquelon = Miquelon()
|
||
|
|