You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parallel-library/vendor/pytz/zoneinfo/NZ.py

331 lines
6.7 KiB
Python

'''tzinfo timezone information for NZ.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class NZ(DstTzInfo):
'''NZ timezone definition. See datetime.tzinfo for details'''
zone = 'NZ'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1927,11,5,14,30,0),
d(1928,3,3,13,30,0),
d(1928,10,13,14,30,0),
d(1929,3,16,14,0,0),
d(1929,10,12,14,30,0),
d(1930,3,15,14,0,0),
d(1930,10,11,14,30,0),
d(1931,3,14,14,0,0),
d(1931,10,10,14,30,0),
d(1932,3,19,14,0,0),
d(1932,10,8,14,30,0),
d(1933,3,18,14,0,0),
d(1933,10,7,14,30,0),
d(1934,4,28,14,0,0),
d(1934,9,29,14,30,0),
d(1935,4,27,14,0,0),
d(1935,9,28,14,30,0),
d(1936,4,25,14,0,0),
d(1936,9,26,14,30,0),
d(1937,4,24,14,0,0),
d(1937,9,25,14,30,0),
d(1938,4,23,14,0,0),
d(1938,9,24,14,30,0),
d(1939,4,29,14,0,0),
d(1939,9,23,14,30,0),
d(1940,4,27,14,0,0),
d(1940,9,28,14,30,0),
d(1945,12,31,12,0,0),
d(1974,11,2,14,0,0),
d(1975,2,22,14,0,0),
d(1975,10,25,14,0,0),
d(1976,3,6,14,0,0),
d(1976,10,30,14,0,0),
d(1977,3,5,14,0,0),
d(1977,10,29,14,0,0),
d(1978,3,4,14,0,0),
d(1978,10,28,14,0,0),
d(1979,3,3,14,0,0),
d(1979,10,27,14,0,0),
d(1980,3,1,14,0,0),
d(1980,10,25,14,0,0),
d(1981,2,28,14,0,0),
d(1981,10,24,14,0,0),
d(1982,3,6,14,0,0),
d(1982,10,30,14,0,0),
d(1983,3,5,14,0,0),
d(1983,10,29,14,0,0),
d(1984,3,3,14,0,0),
d(1984,10,27,14,0,0),
d(1985,3,2,14,0,0),
d(1985,10,26,14,0,0),
d(1986,3,1,14,0,0),
d(1986,10,25,14,0,0),
d(1987,2,28,14,0,0),
d(1987,10,24,14,0,0),
d(1988,3,5,14,0,0),
d(1988,10,29,14,0,0),
d(1989,3,4,14,0,0),
d(1989,10,7,14,0,0),
d(1990,3,17,14,0,0),
d(1990,10,6,14,0,0),
d(1991,3,16,14,0,0),
d(1991,10,5,14,0,0),
d(1992,3,14,14,0,0),
d(1992,10,3,14,0,0),
d(1993,3,20,14,0,0),
d(1993,10,2,14,0,0),
d(1994,3,19,14,0,0),
d(1994,10,1,14,0,0),
d(1995,3,18,14,0,0),
d(1995,9,30,14,0,0),
d(1996,3,16,14,0,0),
d(1996,10,5,14,0,0),
d(1997,3,15,14,0,0),
d(1997,10,4,14,0,0),
d(1998,3,14,14,0,0),
d(1998,10,3,14,0,0),
d(1999,3,20,14,0,0),
d(1999,10,2,14,0,0),
d(2000,3,18,14,0,0),
d(2000,9,30,14,0,0),
d(2001,3,17,14,0,0),
d(2001,10,6,14,0,0),
d(2002,3,16,14,0,0),
d(2002,10,5,14,0,0),
d(2003,3,15,14,0,0),
d(2003,10,4,14,0,0),
d(2004,3,20,14,0,0),
d(2004,10,2,14,0,0),
d(2005,3,19,14,0,0),
d(2005,10,1,14,0,0),
d(2006,3,18,14,0,0),
d(2006,9,30,14,0,0),
d(2007,3,17,14,0,0),
d(2007,10,6,14,0,0),
d(2008,3,15,14,0,0),
d(2008,10,4,14,0,0),
d(2009,3,14,14,0,0),
d(2009,10,3,14,0,0),
d(2010,3,20,14,0,0),
d(2010,10,2,14,0,0),
d(2011,3,19,14,0,0),
d(2011,10,1,14,0,0),
d(2012,3,17,14,0,0),
d(2012,10,6,14,0,0),
d(2013,3,16,14,0,0),
d(2013,10,5,14,0,0),
d(2014,3,15,14,0,0),
d(2014,10,4,14,0,0),
d(2015,3,14,14,0,0),
d(2015,10,3,14,0,0),
d(2016,3,19,14,0,0),
d(2016,10,1,14,0,0),
d(2017,3,18,14,0,0),
d(2017,9,30,14,0,0),
d(2018,3,17,14,0,0),
d(2018,10,6,14,0,0),
d(2019,3,16,14,0,0),
d(2019,10,5,14,0,0),
d(2020,3,14,14,0,0),
d(2020,10,3,14,0,0),
d(2021,3,20,14,0,0),
d(2021,10,2,14,0,0),
d(2022,3,19,14,0,0),
d(2022,10,1,14,0,0),
d(2023,3,18,14,0,0),
d(2023,9,30,14,0,0),
d(2024,3,16,14,0,0),
d(2024,10,5,14,0,0),
d(2025,3,15,14,0,0),
d(2025,10,4,14,0,0),
d(2026,3,14,14,0,0),
d(2026,10,3,14,0,0),
d(2027,3,20,14,0,0),
d(2027,10,2,14,0,0),
d(2028,3,18,14,0,0),
d(2028,9,30,14,0,0),
d(2029,3,17,14,0,0),
d(2029,10,6,14,0,0),
d(2030,3,16,14,0,0),
d(2030,10,5,14,0,0),
d(2031,3,15,14,0,0),
d(2031,10,4,14,0,0),
d(2032,3,20,14,0,0),
d(2032,10,2,14,0,0),
d(2033,3,19,14,0,0),
d(2033,10,1,14,0,0),
d(2034,3,18,14,0,0),
d(2034,9,30,14,0,0),
d(2035,3,17,14,0,0),
d(2035,10,6,14,0,0),
d(2036,3,15,14,0,0),
d(2036,10,4,14,0,0),
d(2037,3,14,14,0,0),
d(2037,10,3,14,0,0),
]
_transition_info = [
i(41400,0,'NZMT'),
i(45000,3600,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(41400,0,'NZMT'),
i(43200,1800,'NZST'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
i(43200,0,'NZST'),
i(46800,3600,'NZDT'),
]
NZ = NZ()