127 lines
2.6 KiB
Python
127 lines
2.6 KiB
Python
|
'''tzinfo timezone information for Asia/Tbilisi.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Tbilisi(DstTzInfo):
|
||
|
'''Asia/Tbilisi timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Asia/Tbilisi'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1924,5,1,21,0,44),
|
||
|
d(1957,2,28,21,0,0),
|
||
|
d(1981,3,31,20,0,0),
|
||
|
d(1981,9,30,19,0,0),
|
||
|
d(1982,3,31,20,0,0),
|
||
|
d(1982,9,30,19,0,0),
|
||
|
d(1983,3,31,20,0,0),
|
||
|
d(1983,9,30,19,0,0),
|
||
|
d(1984,3,31,20,0,0),
|
||
|
d(1984,9,29,22,0,0),
|
||
|
d(1985,3,30,22,0,0),
|
||
|
d(1985,9,28,22,0,0),
|
||
|
d(1986,3,29,22,0,0),
|
||
|
d(1986,9,27,22,0,0),
|
||
|
d(1987,3,28,22,0,0),
|
||
|
d(1987,9,26,22,0,0),
|
||
|
d(1988,3,26,22,0,0),
|
||
|
d(1988,9,24,22,0,0),
|
||
|
d(1989,3,25,22,0,0),
|
||
|
d(1989,9,23,22,0,0),
|
||
|
d(1990,3,24,22,0,0),
|
||
|
d(1990,9,29,22,0,0),
|
||
|
d(1991,3,30,22,0,0),
|
||
|
d(1991,4,8,20,0,0),
|
||
|
d(1991,9,28,23,0,0),
|
||
|
d(1991,12,31,21,0,0),
|
||
|
d(1992,3,28,21,0,0),
|
||
|
d(1992,9,26,20,0,0),
|
||
|
d(1993,3,27,21,0,0),
|
||
|
d(1993,9,25,20,0,0),
|
||
|
d(1994,3,26,21,0,0),
|
||
|
d(1994,9,24,20,0,0),
|
||
|
d(1995,3,25,20,0,0),
|
||
|
d(1995,9,23,19,0,0),
|
||
|
d(1996,3,30,20,0,0),
|
||
|
d(1997,3,29,19,0,0),
|
||
|
d(1997,10,25,19,0,0),
|
||
|
d(1998,3,28,20,0,0),
|
||
|
d(1998,10,24,19,0,0),
|
||
|
d(1999,3,27,20,0,0),
|
||
|
d(1999,10,30,19,0,0),
|
||
|
d(2000,3,25,20,0,0),
|
||
|
d(2000,10,28,19,0,0),
|
||
|
d(2001,3,24,20,0,0),
|
||
|
d(2001,10,27,19,0,0),
|
||
|
d(2002,3,30,20,0,0),
|
||
|
d(2002,10,26,19,0,0),
|
||
|
d(2003,3,29,20,0,0),
|
||
|
d(2003,10,25,19,0,0),
|
||
|
d(2004,3,27,20,0,0),
|
||
|
d(2004,6,26,19,0,0),
|
||
|
d(2004,10,30,23,0,0),
|
||
|
d(2005,3,26,23,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(10740,0,'TBMT'),
|
||
|
i(10800,0,'TBIT'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(18000,3600,'TBIST'),
|
||
|
i(14400,0,'TBIT'),
|
||
|
i(14400,0,'TBIST'),
|
||
|
i(14400,0,'GEST'),
|
||
|
i(10800,0,'GET'),
|
||
|
i(10800,0,'GET'),
|
||
|
i(14400,3600,'GEST'),
|
||
|
i(10800,0,'GET'),
|
||
|
i(14400,3600,'GEST'),
|
||
|
i(10800,0,'GET'),
|
||
|
i(14400,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GET'),
|
||
|
i(18000,3600,'GEST'),
|
||
|
i(14400,0,'GEST'),
|
||
|
i(10800,0,'GET'),
|
||
|
i(14400,0,'GET'),
|
||
|
]
|
||
|
|
||
|
Tbilisi = Tbilisi()
|
||
|
|