mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-04 15:29:59 +00:00
309 lines
6.1 KiB
Python
309 lines
6.1 KiB
Python
|
'''tzinfo timezone information for Asia/Gaza.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Gaza(DstTzInfo):
|
||
|
'''Asia/Gaza timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Asia/Gaza'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1940,5,31,22,0,0),
|
||
|
d(1942,10,31,21,0,0),
|
||
|
d(1943,4,1,0,0,0),
|
||
|
d(1943,10,31,21,0,0),
|
||
|
d(1944,3,31,22,0,0),
|
||
|
d(1944,10,31,21,0,0),
|
||
|
d(1945,4,15,22,0,0),
|
||
|
d(1945,10,31,23,0,0),
|
||
|
d(1946,4,16,0,0,0),
|
||
|
d(1946,10,31,21,0,0),
|
||
|
d(1957,5,9,22,0,0),
|
||
|
d(1957,9,30,21,0,0),
|
||
|
d(1958,4,30,22,0,0),
|
||
|
d(1958,9,30,21,0,0),
|
||
|
d(1959,4,30,23,0,0),
|
||
|
d(1959,9,30,0,0,0),
|
||
|
d(1960,4,30,23,0,0),
|
||
|
d(1960,9,30,0,0,0),
|
||
|
d(1961,4,30,23,0,0),
|
||
|
d(1961,9,30,0,0,0),
|
||
|
d(1962,4,30,23,0,0),
|
||
|
d(1962,9,30,0,0,0),
|
||
|
d(1963,4,30,23,0,0),
|
||
|
d(1963,9,30,0,0,0),
|
||
|
d(1964,4,30,23,0,0),
|
||
|
d(1964,9,30,0,0,0),
|
||
|
d(1965,4,30,23,0,0),
|
||
|
d(1965,9,30,0,0,0),
|
||
|
d(1966,4,30,23,0,0),
|
||
|
d(1966,10,1,0,0,0),
|
||
|
d(1967,4,30,23,0,0),
|
||
|
d(1967,6,4,21,0,0),
|
||
|
d(1974,7,6,22,0,0),
|
||
|
d(1974,10,12,21,0,0),
|
||
|
d(1975,4,19,22,0,0),
|
||
|
d(1975,8,30,21,0,0),
|
||
|
d(1985,4,13,22,0,0),
|
||
|
d(1985,9,14,21,0,0),
|
||
|
d(1986,5,17,22,0,0),
|
||
|
d(1986,9,6,21,0,0),
|
||
|
d(1987,4,14,22,0,0),
|
||
|
d(1987,9,12,21,0,0),
|
||
|
d(1988,4,8,22,0,0),
|
||
|
d(1988,9,2,21,0,0),
|
||
|
d(1989,4,29,22,0,0),
|
||
|
d(1989,9,2,21,0,0),
|
||
|
d(1990,3,24,22,0,0),
|
||
|
d(1990,8,25,21,0,0),
|
||
|
d(1991,3,23,22,0,0),
|
||
|
d(1991,8,31,21,0,0),
|
||
|
d(1992,3,28,22,0,0),
|
||
|
d(1992,9,5,21,0,0),
|
||
|
d(1993,4,1,22,0,0),
|
||
|
d(1993,9,4,21,0,0),
|
||
|
d(1994,3,31,22,0,0),
|
||
|
d(1994,8,27,21,0,0),
|
||
|
d(1995,3,30,22,0,0),
|
||
|
d(1995,9,2,21,0,0),
|
||
|
d(1995,12,31,22,0,0),
|
||
|
d(1996,4,4,22,0,0),
|
||
|
d(1996,9,19,22,0,0),
|
||
|
d(1997,4,3,22,0,0),
|
||
|
d(1997,9,18,22,0,0),
|
||
|
d(1998,4,2,22,0,0),
|
||
|
d(1998,9,17,22,0,0),
|
||
|
d(1998,12,31,22,0,0),
|
||
|
d(1999,4,15,22,0,0),
|
||
|
d(1999,10,14,21,0,0),
|
||
|
d(2000,4,20,22,0,0),
|
||
|
d(2000,10,19,21,0,0),
|
||
|
d(2001,4,19,22,0,0),
|
||
|
d(2001,10,18,21,0,0),
|
||
|
d(2002,4,18,22,0,0),
|
||
|
d(2002,10,17,21,0,0),
|
||
|
d(2003,4,17,22,0,0),
|
||
|
d(2003,10,16,21,0,0),
|
||
|
d(2004,4,15,22,0,0),
|
||
|
d(2004,9,30,22,0,0),
|
||
|
d(2005,4,14,22,0,0),
|
||
|
d(2005,10,3,23,0,0),
|
||
|
d(2006,3,31,22,0,0),
|
||
|
d(2006,9,21,21,0,0),
|
||
|
d(2007,3,31,22,0,0),
|
||
|
d(2007,10,18,21,0,0),
|
||
|
d(2008,3,31,22,0,0),
|
||
|
d(2008,10,16,21,0,0),
|
||
|
d(2009,3,31,22,0,0),
|
||
|
d(2009,10,15,21,0,0),
|
||
|
d(2010,3,31,22,0,0),
|
||
|
d(2010,10,14,21,0,0),
|
||
|
d(2011,3,31,22,0,0),
|
||
|
d(2011,10,20,21,0,0),
|
||
|
d(2012,3,31,22,0,0),
|
||
|
d(2012,10,18,21,0,0),
|
||
|
d(2013,3,31,22,0,0),
|
||
|
d(2013,10,17,21,0,0),
|
||
|
d(2014,3,31,22,0,0),
|
||
|
d(2014,10,16,21,0,0),
|
||
|
d(2015,3,31,22,0,0),
|
||
|
d(2015,10,15,21,0,0),
|
||
|
d(2016,3,31,22,0,0),
|
||
|
d(2016,10,20,21,0,0),
|
||
|
d(2017,3,31,22,0,0),
|
||
|
d(2017,10,19,21,0,0),
|
||
|
d(2018,3,31,22,0,0),
|
||
|
d(2018,10,18,21,0,0),
|
||
|
d(2019,3,31,22,0,0),
|
||
|
d(2019,10,17,21,0,0),
|
||
|
d(2020,3,31,22,0,0),
|
||
|
d(2020,10,15,21,0,0),
|
||
|
d(2021,3,31,22,0,0),
|
||
|
d(2021,10,14,21,0,0),
|
||
|
d(2022,3,31,22,0,0),
|
||
|
d(2022,10,20,21,0,0),
|
||
|
d(2023,3,31,22,0,0),
|
||
|
d(2023,10,19,21,0,0),
|
||
|
d(2024,3,31,22,0,0),
|
||
|
d(2024,10,17,21,0,0),
|
||
|
d(2025,3,31,22,0,0),
|
||
|
d(2025,10,16,21,0,0),
|
||
|
d(2026,3,31,22,0,0),
|
||
|
d(2026,10,15,21,0,0),
|
||
|
d(2027,3,31,22,0,0),
|
||
|
d(2027,10,14,21,0,0),
|
||
|
d(2028,3,31,22,0,0),
|
||
|
d(2028,10,19,21,0,0),
|
||
|
d(2029,3,31,22,0,0),
|
||
|
d(2029,10,18,21,0,0),
|
||
|
d(2030,3,31,22,0,0),
|
||
|
d(2030,10,17,21,0,0),
|
||
|
d(2031,3,31,22,0,0),
|
||
|
d(2031,10,16,21,0,0),
|
||
|
d(2032,3,31,22,0,0),
|
||
|
d(2032,10,14,21,0,0),
|
||
|
d(2033,3,31,22,0,0),
|
||
|
d(2033,10,20,21,0,0),
|
||
|
d(2034,3,31,22,0,0),
|
||
|
d(2034,10,19,21,0,0),
|
||
|
d(2035,3,31,22,0,0),
|
||
|
d(2035,10,18,21,0,0),
|
||
|
d(2036,3,31,22,0,0),
|
||
|
d(2036,10,16,21,0,0),
|
||
|
d(2037,3,31,22,0,0),
|
||
|
d(2037,10,15,21,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EET'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EET'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EET'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EET'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EET'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(10800,3600,'IDT'),
|
||
|
i(7200,0,'IST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
i(10800,3600,'EEST'),
|
||
|
i(7200,0,'EET'),
|
||
|
]
|
||
|
|
||
|
Gaza = Gaza()
|
||
|
|