mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-04 15:29:59 +00:00
323 lines
6.4 KiB
Python
323 lines
6.4 KiB
Python
|
'''tzinfo timezone information for Asia/Damascus.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Damascus(DstTzInfo):
|
||
|
'''Asia/Damascus timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Asia/Damascus'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1919,12,31,21,34,48),
|
||
|
d(1920,4,18,0,0,0),
|
||
|
d(1920,10,2,23,0,0),
|
||
|
d(1921,4,17,0,0,0),
|
||
|
d(1921,10,1,23,0,0),
|
||
|
d(1922,4,16,0,0,0),
|
||
|
d(1922,9,30,23,0,0),
|
||
|
d(1923,4,15,0,0,0),
|
||
|
d(1923,10,6,23,0,0),
|
||
|
d(1962,4,29,0,0,0),
|
||
|
d(1962,9,30,23,0,0),
|
||
|
d(1963,5,1,0,0,0),
|
||
|
d(1963,9,29,23,0,0),
|
||
|
d(1964,5,1,0,0,0),
|
||
|
d(1964,9,30,23,0,0),
|
||
|
d(1965,5,1,0,0,0),
|
||
|
d(1965,9,29,23,0,0),
|
||
|
d(1966,4,24,0,0,0),
|
||
|
d(1966,9,30,23,0,0),
|
||
|
d(1967,5,1,0,0,0),
|
||
|
d(1967,9,30,23,0,0),
|
||
|
d(1968,5,1,0,0,0),
|
||
|
d(1968,9,30,23,0,0),
|
||
|
d(1969,5,1,0,0,0),
|
||
|
d(1969,9,30,23,0,0),
|
||
|
d(1970,5,1,0,0,0),
|
||
|
d(1970,9,30,23,0,0),
|
||
|
d(1971,5,1,0,0,0),
|
||
|
d(1971,9,30,23,0,0),
|
||
|
d(1972,5,1,0,0,0),
|
||
|
d(1972,9,30,23,0,0),
|
||
|
d(1973,5,1,0,0,0),
|
||
|
d(1973,9,30,23,0,0),
|
||
|
d(1974,5,1,0,0,0),
|
||
|
d(1974,9,30,23,0,0),
|
||
|
d(1975,5,1,0,0,0),
|
||
|
d(1975,9,30,23,0,0),
|
||
|
d(1976,5,1,0,0,0),
|
||
|
d(1976,9,30,23,0,0),
|
||
|
d(1977,5,1,0,0,0),
|
||
|
d(1977,8,31,23,0,0),
|
||
|
d(1978,5,1,0,0,0),
|
||
|
d(1978,8,31,23,0,0),
|
||
|
d(1983,4,9,0,0,0),
|
||
|
d(1983,9,30,23,0,0),
|
||
|
d(1984,4,9,0,0,0),
|
||
|
d(1984,9,30,23,0,0),
|
||
|
d(1986,2,16,0,0,0),
|
||
|
d(1986,10,8,23,0,0),
|
||
|
d(1987,3,1,0,0,0),
|
||
|
d(1987,10,30,23,0,0),
|
||
|
d(1988,3,15,0,0,0),
|
||
|
d(1988,10,30,23,0,0),
|
||
|
d(1989,3,31,0,0,0),
|
||
|
d(1989,9,30,23,0,0),
|
||
|
d(1990,4,1,0,0,0),
|
||
|
d(1990,9,29,23,0,0),
|
||
|
d(1991,3,31,22,0,0),
|
||
|
d(1991,9,30,21,0,0),
|
||
|
d(1992,4,7,22,0,0),
|
||
|
d(1992,9,30,21,0,0),
|
||
|
d(1993,3,25,22,0,0),
|
||
|
d(1993,9,24,21,0,0),
|
||
|
d(1994,3,31,22,0,0),
|
||
|
d(1994,9,30,21,0,0),
|
||
|
d(1995,3,31,22,0,0),
|
||
|
d(1995,9,30,21,0,0),
|
||
|
d(1996,3,31,22,0,0),
|
||
|
d(1996,9,30,21,0,0),
|
||
|
d(1997,3,30,22,0,0),
|
||
|
d(1997,9,30,21,0,0),
|
||
|
d(1998,3,29,22,0,0),
|
||
|
d(1998,9,30,21,0,0),
|
||
|
d(1999,3,31,22,0,0),
|
||
|
d(1999,9,30,21,0,0),
|
||
|
d(2000,3,31,22,0,0),
|
||
|
d(2000,9,30,21,0,0),
|
||
|
d(2001,3,31,22,0,0),
|
||
|
d(2001,9,30,21,0,0),
|
||
|
d(2002,3,31,22,0,0),
|
||
|
d(2002,9,30,21,0,0),
|
||
|
d(2003,3,31,22,0,0),
|
||
|
d(2003,9,30,21,0,0),
|
||
|
d(2004,3,31,22,0,0),
|
||
|
d(2004,9,30,21,0,0),
|
||
|
d(2005,3,31,22,0,0),
|
||
|
d(2005,9,30,21,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,9,30,21,0,0),
|
||
|
d(2008,3,31,22,0,0),
|
||
|
d(2008,9,30,21,0,0),
|
||
|
d(2009,3,31,22,0,0),
|
||
|
d(2009,9,30,21,0,0),
|
||
|
d(2010,3,31,22,0,0),
|
||
|
d(2010,9,30,21,0,0),
|
||
|
d(2011,3,31,22,0,0),
|
||
|
d(2011,9,30,21,0,0),
|
||
|
d(2012,3,31,22,0,0),
|
||
|
d(2012,9,30,21,0,0),
|
||
|
d(2013,3,31,22,0,0),
|
||
|
d(2013,9,30,21,0,0),
|
||
|
d(2014,3,31,22,0,0),
|
||
|
d(2014,9,30,21,0,0),
|
||
|
d(2015,3,31,22,0,0),
|
||
|
d(2015,9,30,21,0,0),
|
||
|
d(2016,3,31,22,0,0),
|
||
|
d(2016,9,30,21,0,0),
|
||
|
d(2017,3,31,22,0,0),
|
||
|
d(2017,9,30,21,0,0),
|
||
|
d(2018,3,31,22,0,0),
|
||
|
d(2018,9,30,21,0,0),
|
||
|
d(2019,3,31,22,0,0),
|
||
|
d(2019,9,30,21,0,0),
|
||
|
d(2020,3,31,22,0,0),
|
||
|
d(2020,9,30,21,0,0),
|
||
|
d(2021,3,31,22,0,0),
|
||
|
d(2021,9,30,21,0,0),
|
||
|
d(2022,3,31,22,0,0),
|
||
|
d(2022,9,30,21,0,0),
|
||
|
d(2023,3,31,22,0,0),
|
||
|
d(2023,9,30,21,0,0),
|
||
|
d(2024,3,31,22,0,0),
|
||
|
d(2024,9,30,21,0,0),
|
||
|
d(2025,3,31,22,0,0),
|
||
|
d(2025,9,30,21,0,0),
|
||
|
d(2026,3,31,22,0,0),
|
||
|
d(2026,9,30,21,0,0),
|
||
|
d(2027,3,31,22,0,0),
|
||
|
d(2027,9,30,21,0,0),
|
||
|
d(2028,3,31,22,0,0),
|
||
|
d(2028,9,30,21,0,0),
|
||
|
d(2029,3,31,22,0,0),
|
||
|
d(2029,9,30,21,0,0),
|
||
|
d(2030,3,31,22,0,0),
|
||
|
d(2030,9,30,21,0,0),
|
||
|
d(2031,3,31,22,0,0),
|
||
|
d(2031,9,30,21,0,0),
|
||
|
d(2032,3,31,22,0,0),
|
||
|
d(2032,9,30,21,0,0),
|
||
|
d(2033,3,31,22,0,0),
|
||
|
d(2033,9,30,21,0,0),
|
||
|
d(2034,3,31,22,0,0),
|
||
|
d(2034,9,30,21,0,0),
|
||
|
d(2035,3,31,22,0,0),
|
||
|
d(2035,9,30,21,0,0),
|
||
|
d(2036,3,31,22,0,0),
|
||
|
d(2036,9,30,21,0,0),
|
||
|
d(2037,3,31,22,0,0),
|
||
|
d(2037,9,30,21,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(8700,0,'LMT'),
|
||
|
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'),
|
||
|
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'),
|
||
|
]
|
||
|
|
||
|
Damascus = Damascus()
|
||
|
|