1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-18 07:44:54 +00:00
calibre-web/vendor/pytz/zoneinfo/America/Cancun.py

195 lines
3.9 KiB
Python
Raw Normal View History

'''tzinfo timezone information for America/Cancun.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class Cancun(DstTzInfo):
'''America/Cancun timezone definition. See datetime.tzinfo for details'''
zone = 'America/Cancun'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1922,1,1,6,0,0),
d(1981,12,23,6,0,0),
d(1996,4,7,7,0,0),
d(1996,10,27,6,0,0),
d(1997,4,6,7,0,0),
d(1997,10,26,6,0,0),
d(1998,4,5,7,0,0),
d(1998,8,2,6,0,0),
d(1998,10,25,7,0,0),
d(1999,4,4,8,0,0),
d(1999,10,31,7,0,0),
d(2000,4,2,8,0,0),
d(2000,10,29,7,0,0),
d(2001,5,6,8,0,0),
d(2001,9,30,7,0,0),
d(2002,4,7,8,0,0),
d(2002,10,27,7,0,0),
d(2003,4,6,8,0,0),
d(2003,10,26,7,0,0),
d(2004,4,4,8,0,0),
d(2004,10,31,7,0,0),
d(2005,4,3,8,0,0),
d(2005,10,30,7,0,0),
d(2006,4,2,8,0,0),
d(2006,10,29,7,0,0),
d(2007,4,1,8,0,0),
d(2007,10,28,7,0,0),
d(2008,4,6,8,0,0),
d(2008,10,26,7,0,0),
d(2009,4,5,8,0,0),
d(2009,10,25,7,0,0),
d(2010,4,4,8,0,0),
d(2010,10,31,7,0,0),
d(2011,4,3,8,0,0),
d(2011,10,30,7,0,0),
d(2012,4,1,8,0,0),
d(2012,10,28,7,0,0),
d(2013,4,7,8,0,0),
d(2013,10,27,7,0,0),
d(2014,4,6,8,0,0),
d(2014,10,26,7,0,0),
d(2015,4,5,8,0,0),
d(2015,10,25,7,0,0),
d(2016,4,3,8,0,0),
d(2016,10,30,7,0,0),
d(2017,4,2,8,0,0),
d(2017,10,29,7,0,0),
d(2018,4,1,8,0,0),
d(2018,10,28,7,0,0),
d(2019,4,7,8,0,0),
d(2019,10,27,7,0,0),
d(2020,4,5,8,0,0),
d(2020,10,25,7,0,0),
d(2021,4,4,8,0,0),
d(2021,10,31,7,0,0),
d(2022,4,3,8,0,0),
d(2022,10,30,7,0,0),
d(2023,4,2,8,0,0),
d(2023,10,29,7,0,0),
d(2024,4,7,8,0,0),
d(2024,10,27,7,0,0),
d(2025,4,6,8,0,0),
d(2025,10,26,7,0,0),
d(2026,4,5,8,0,0),
d(2026,10,25,7,0,0),
d(2027,4,4,8,0,0),
d(2027,10,31,7,0,0),
d(2028,4,2,8,0,0),
d(2028,10,29,7,0,0),
d(2029,4,1,8,0,0),
d(2029,10,28,7,0,0),
d(2030,4,7,8,0,0),
d(2030,10,27,7,0,0),
d(2031,4,6,8,0,0),
d(2031,10,26,7,0,0),
d(2032,4,4,8,0,0),
d(2032,10,31,7,0,0),
d(2033,4,3,8,0,0),
d(2033,10,30,7,0,0),
d(2034,4,2,8,0,0),
d(2034,10,29,7,0,0),
d(2035,4,1,8,0,0),
d(2035,10,28,7,0,0),
d(2036,4,6,8,0,0),
d(2036,10,26,7,0,0),
d(2037,4,5,8,0,0),
d(2037,10,25,7,0,0),
]
_transition_info = [
i(-20820,0,'LMT'),
i(-21600,0,'CST'),
i(-18000,0,'EST'),
i(-14400,3600,'EDT'),
i(-18000,0,'EST'),
i(-14400,3600,'EDT'),
i(-18000,0,'EST'),
i(-14400,3600,'EDT'),
i(-18000,0,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
]
Cancun = Cancun()