lib/tzinfo/definitions/Pacific/Auckland.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/Pacific/Auckland.rb in tzinfo-0.3.0
- old
+ new
@@ -1,192 +1,202 @@
-require 'tzinfo/timezone'
+require 'tzinfo/timezone_definition'
+
module TZInfo
-module Definitions #:nodoc:
-module Pacific #:nodoc:
-class Auckland < Timezone #:nodoc:
-setup
-set_identifier('Pacific/Auckland')
-add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(25959290557,10800),0,Date::ITALY),41944,0,:LMT)}
-add_period(1868,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(25959290557,10800),0,Date::ITALY),DateTime.new0(Rational.new!(116409125,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1927,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(116409125,48),0,Date::ITALY),DateTime.new0(Rational.new!(38804945,16),0,Date::ITALY),41400,3600,:NZST)}
-add_period(1928,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(38804945,16),0,Date::ITALY),DateTime.new0(Rational.new!(116425589,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1928,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(116425589,48),0,Date::ITALY),DateTime.new0(Rational.new!(29108245,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1929,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29108245,12),0,Date::ITALY),DateTime.new0(Rational.new!(116443061,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1929,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(116443061,48),0,Date::ITALY),DateTime.new0(Rational.new!(29112613,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1930,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29112613,12),0,Date::ITALY),DateTime.new0(Rational.new!(116460533,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1930,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(116460533,48),0,Date::ITALY),DateTime.new0(Rational.new!(29116981,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1931,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29116981,12),0,Date::ITALY),DateTime.new0(Rational.new!(116478005,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1931,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(116478005,48),0,Date::ITALY),DateTime.new0(Rational.new!(29121433,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1932,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29121433,12),0,Date::ITALY),DateTime.new0(Rational.new!(116495477,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1932,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(116495477,48),0,Date::ITALY),DateTime.new0(Rational.new!(29125801,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1933,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29125801,12),0,Date::ITALY),DateTime.new0(Rational.new!(116512949,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1933,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(116512949,48),0,Date::ITALY),DateTime.new0(Rational.new!(29130673,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1934,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29130673,12),0,Date::ITALY),DateTime.new0(Rational.new!(116530085,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1934,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116530085,48),0,Date::ITALY),DateTime.new0(Rational.new!(29135041,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1935,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29135041,12),0,Date::ITALY),DateTime.new0(Rational.new!(116547557,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1935,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116547557,48),0,Date::ITALY),DateTime.new0(Rational.new!(29139409,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1936,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29139409,12),0,Date::ITALY),DateTime.new0(Rational.new!(116565029,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1936,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116565029,48),0,Date::ITALY),DateTime.new0(Rational.new!(29143777,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1937,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29143777,12),0,Date::ITALY),DateTime.new0(Rational.new!(116582501,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1937,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116582501,48),0,Date::ITALY),DateTime.new0(Rational.new!(29148145,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1938,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29148145,12),0,Date::ITALY),DateTime.new0(Rational.new!(116599973,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1938,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116599973,48),0,Date::ITALY),DateTime.new0(Rational.new!(29152597,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1939,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29152597,12),0,Date::ITALY),DateTime.new0(Rational.new!(116617445,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1939,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116617445,48),0,Date::ITALY),DateTime.new0(Rational.new!(29156965,12),0,Date::ITALY),41400,1800,:NZST)}
-add_period(1940,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29156965,12),0,Date::ITALY),DateTime.new0(Rational.new!(116635253,48),0,Date::ITALY),41400,0,:NZMT)}
-add_period(1940,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(116635253,48),0,Date::ITALY),152632800,41400,1800,:NZST)}
-add_period(1974,11) {TimezonePeriod.new(152632800,162309600,43200,3600,:NZDT)}
-add_period(1975,2) {TimezonePeriod.new(162309600,183477600,43200,0,:NZST)}
-add_period(1975,10) {TimezonePeriod.new(183477600,194968800,43200,3600,:NZDT)}
-add_period(1976,3) {TimezonePeriod.new(194968800,215532000,43200,0,:NZST)}
-add_period(1976,10) {TimezonePeriod.new(215532000,226418400,43200,3600,:NZDT)}
-add_period(1977,3) {TimezonePeriod.new(226418400,246981600,43200,0,:NZST)}
-add_period(1977,10) {TimezonePeriod.new(246981600,257868000,43200,3600,:NZDT)}
-add_period(1978,3) {TimezonePeriod.new(257868000,278431200,43200,0,:NZST)}
-add_period(1978,10) {TimezonePeriod.new(278431200,289317600,43200,3600,:NZDT)}
-add_period(1979,3) {TimezonePeriod.new(289317600,309880800,43200,0,:NZST)}
-add_period(1979,10) {TimezonePeriod.new(309880800,320767200,43200,3600,:NZDT)}
-add_period(1980,3) {TimezonePeriod.new(320767200,341330400,43200,0,:NZST)}
-add_period(1980,10) {TimezonePeriod.new(341330400,352216800,43200,3600,:NZDT)}
-add_period(1981,2) {TimezonePeriod.new(352216800,372780000,43200,0,:NZST)}
-add_period(1981,10) {TimezonePeriod.new(372780000,384271200,43200,3600,:NZDT)}
-add_period(1982,3) {TimezonePeriod.new(384271200,404834400,43200,0,:NZST)}
-add_period(1982,10) {TimezonePeriod.new(404834400,415720800,43200,3600,:NZDT)}
-add_period(1983,3) {TimezonePeriod.new(415720800,436284000,43200,0,:NZST)}
-add_period(1983,10) {TimezonePeriod.new(436284000,447170400,43200,3600,:NZDT)}
-add_period(1984,3) {TimezonePeriod.new(447170400,467733600,43200,0,:NZST)}
-add_period(1984,10) {TimezonePeriod.new(467733600,478620000,43200,3600,:NZDT)}
-add_period(1985,3) {TimezonePeriod.new(478620000,499183200,43200,0,:NZST)}
-add_period(1985,10) {TimezonePeriod.new(499183200,510069600,43200,3600,:NZDT)}
-add_period(1986,3) {TimezonePeriod.new(510069600,530632800,43200,0,:NZST)}
-add_period(1986,10) {TimezonePeriod.new(530632800,541519200,43200,3600,:NZDT)}
-add_period(1987,2) {TimezonePeriod.new(541519200,562082400,43200,0,:NZST)}
-add_period(1987,10) {TimezonePeriod.new(562082400,573573600,43200,3600,:NZDT)}
-add_period(1988,3) {TimezonePeriod.new(573573600,594136800,43200,0,:NZST)}
-add_period(1988,10) {TimezonePeriod.new(594136800,605023200,43200,3600,:NZDT)}
-add_period(1989,3) {TimezonePeriod.new(605023200,623772000,43200,0,:NZST)}
-add_period(1989,10) {TimezonePeriod.new(623772000,637682400,43200,3600,:NZDT)}
-add_period(1990,3) {TimezonePeriod.new(637682400,655221600,43200,0,:NZST)}
-add_period(1990,10) {TimezonePeriod.new(655221600,669132000,43200,3600,:NZDT)}
-add_period(1991,3) {TimezonePeriod.new(669132000,686671200,43200,0,:NZST)}
-add_period(1991,10) {TimezonePeriod.new(686671200,700581600,43200,3600,:NZDT)}
-add_period(1992,3) {TimezonePeriod.new(700581600,718120800,43200,0,:NZST)}
-add_period(1992,10) {TimezonePeriod.new(718120800,732636000,43200,3600,:NZDT)}
-add_period(1993,3) {TimezonePeriod.new(732636000,749570400,43200,0,:NZST)}
-add_period(1993,10) {TimezonePeriod.new(749570400,764085600,43200,3600,:NZDT)}
-add_period(1994,3) {TimezonePeriod.new(764085600,781020000,43200,0,:NZST)}
-add_period(1994,10) {TimezonePeriod.new(781020000,795535200,43200,3600,:NZDT)}
-add_period(1995,3) {TimezonePeriod.new(795535200,812469600,43200,0,:NZST)}
-add_period(1995,9) {TimezonePeriod.new(812469600,826984800,43200,3600,:NZDT)}
-add_period(1996,3) {TimezonePeriod.new(826984800,844524000,43200,0,:NZST)}
-add_period(1996,10) {TimezonePeriod.new(844524000,858434400,43200,3600,:NZDT)}
-add_period(1997,3) {TimezonePeriod.new(858434400,875973600,43200,0,:NZST)}
-add_period(1997,10) {TimezonePeriod.new(875973600,889884000,43200,3600,:NZDT)}
-add_period(1998,3) {TimezonePeriod.new(889884000,907423200,43200,0,:NZST)}
-add_period(1998,10) {TimezonePeriod.new(907423200,921938400,43200,3600,:NZDT)}
-add_period(1999,3) {TimezonePeriod.new(921938400,938872800,43200,0,:NZST)}
-add_period(1999,10) {TimezonePeriod.new(938872800,953388000,43200,3600,:NZDT)}
-add_period(2000,3) {TimezonePeriod.new(953388000,970322400,43200,0,:NZST)}
-add_period(2000,9) {TimezonePeriod.new(970322400,984837600,43200,3600,:NZDT)}
-add_period(2001,3) {TimezonePeriod.new(984837600,1002376800,43200,0,:NZST)}
-add_period(2001,10) {TimezonePeriod.new(1002376800,1016287200,43200,3600,:NZDT)}
-add_period(2002,3) {TimezonePeriod.new(1016287200,1033826400,43200,0,:NZST)}
-add_period(2002,10) {TimezonePeriod.new(1033826400,1047736800,43200,3600,:NZDT)}
-add_period(2003,3) {TimezonePeriod.new(1047736800,1065276000,43200,0,:NZST)}
-add_period(2003,10) {TimezonePeriod.new(1065276000,1079791200,43200,3600,:NZDT)}
-add_period(2004,3) {TimezonePeriod.new(1079791200,1096725600,43200,0,:NZST)}
-add_period(2004,10) {TimezonePeriod.new(1096725600,1111240800,43200,3600,:NZDT)}
-add_period(2005,3) {TimezonePeriod.new(1111240800,1128175200,43200,0,:NZST)}
-add_period(2005,10) {TimezonePeriod.new(1128175200,1142690400,43200,3600,:NZDT)}
-add_period(2006,3) {TimezonePeriod.new(1142690400,1159624800,43200,0,:NZST)}
-add_period(2006,9) {TimezonePeriod.new(1159624800,1174140000,43200,3600,:NZDT)}
-add_period(2007,3) {TimezonePeriod.new(1174140000,1191679200,43200,0,:NZST)}
-add_period(2007,10) {TimezonePeriod.new(1191679200,1205589600,43200,3600,:NZDT)}
-add_period(2008,3) {TimezonePeriod.new(1205589600,1223128800,43200,0,:NZST)}
-add_period(2008,10) {TimezonePeriod.new(1223128800,1237039200,43200,3600,:NZDT)}
-add_period(2009,3) {TimezonePeriod.new(1237039200,1254578400,43200,0,:NZST)}
-add_period(2009,10) {TimezonePeriod.new(1254578400,1269093600,43200,3600,:NZDT)}
-add_period(2010,3) {TimezonePeriod.new(1269093600,1286028000,43200,0,:NZST)}
-add_period(2010,10) {TimezonePeriod.new(1286028000,1300543200,43200,3600,:NZDT)}
-add_period(2011,3) {TimezonePeriod.new(1300543200,1317477600,43200,0,:NZST)}
-add_period(2011,10) {TimezonePeriod.new(1317477600,1331992800,43200,3600,:NZDT)}
-add_period(2012,3) {TimezonePeriod.new(1331992800,1349532000,43200,0,:NZST)}
-add_period(2012,10) {TimezonePeriod.new(1349532000,1363442400,43200,3600,:NZDT)}
-add_period(2013,3) {TimezonePeriod.new(1363442400,1380981600,43200,0,:NZST)}
-add_period(2013,10) {TimezonePeriod.new(1380981600,1394892000,43200,3600,:NZDT)}
-add_period(2014,3) {TimezonePeriod.new(1394892000,1412431200,43200,0,:NZST)}
-add_period(2014,10) {TimezonePeriod.new(1412431200,1426341600,43200,3600,:NZDT)}
-add_period(2015,3) {TimezonePeriod.new(1426341600,1443880800,43200,0,:NZST)}
-add_period(2015,10) {TimezonePeriod.new(1443880800,1458396000,43200,3600,:NZDT)}
-add_period(2016,3) {TimezonePeriod.new(1458396000,1475330400,43200,0,:NZST)}
-add_period(2016,10) {TimezonePeriod.new(1475330400,1489845600,43200,3600,:NZDT)}
-add_period(2017,3) {TimezonePeriod.new(1489845600,1506780000,43200,0,:NZST)}
-add_period(2017,9) {TimezonePeriod.new(1506780000,1521295200,43200,3600,:NZDT)}
-add_period(2018,3) {TimezonePeriod.new(1521295200,1538834400,43200,0,:NZST)}
-add_period(2018,10) {TimezonePeriod.new(1538834400,1552744800,43200,3600,:NZDT)}
-add_period(2019,3) {TimezonePeriod.new(1552744800,1570284000,43200,0,:NZST)}
-add_period(2019,10) {TimezonePeriod.new(1570284000,1584194400,43200,3600,:NZDT)}
-add_period(2020,3) {TimezonePeriod.new(1584194400,1601733600,43200,0,:NZST)}
-add_period(2020,10) {TimezonePeriod.new(1601733600,1616248800,43200,3600,:NZDT)}
-add_period(2021,3) {TimezonePeriod.new(1616248800,1633183200,43200,0,:NZST)}
-add_period(2021,10) {TimezonePeriod.new(1633183200,1647698400,43200,3600,:NZDT)}
-add_period(2022,3) {TimezonePeriod.new(1647698400,1664632800,43200,0,:NZST)}
-add_period(2022,10) {TimezonePeriod.new(1664632800,1679148000,43200,3600,:NZDT)}
-add_period(2023,3) {TimezonePeriod.new(1679148000,1696082400,43200,0,:NZST)}
-add_period(2023,9) {TimezonePeriod.new(1696082400,1710597600,43200,3600,:NZDT)}
-add_period(2024,3) {TimezonePeriod.new(1710597600,1728136800,43200,0,:NZST)}
-add_period(2024,10) {TimezonePeriod.new(1728136800,1742047200,43200,3600,:NZDT)}
-add_period(2025,3) {TimezonePeriod.new(1742047200,1759586400,43200,0,:NZST)}
-add_period(2025,10) {TimezonePeriod.new(1759586400,1773496800,43200,3600,:NZDT)}
-add_period(2026,3) {TimezonePeriod.new(1773496800,1791036000,43200,0,:NZST)}
-add_period(2026,10) {TimezonePeriod.new(1791036000,1805551200,43200,3600,:NZDT)}
-add_period(2027,3) {TimezonePeriod.new(1805551200,1822485600,43200,0,:NZST)}
-add_period(2027,10) {TimezonePeriod.new(1822485600,1837000800,43200,3600,:NZDT)}
-add_period(2028,3) {TimezonePeriod.new(1837000800,1853935200,43200,0,:NZST)}
-add_period(2028,9) {TimezonePeriod.new(1853935200,1868450400,43200,3600,:NZDT)}
-add_period(2029,3) {TimezonePeriod.new(1868450400,1885989600,43200,0,:NZST)}
-add_period(2029,10) {TimezonePeriod.new(1885989600,1899900000,43200,3600,:NZDT)}
-add_period(2030,3) {TimezonePeriod.new(1899900000,1917439200,43200,0,:NZST)}
-add_period(2030,10) {TimezonePeriod.new(1917439200,1931349600,43200,3600,:NZDT)}
-add_period(2031,3) {TimezonePeriod.new(1931349600,1948888800,43200,0,:NZST)}
-add_period(2031,10) {TimezonePeriod.new(1948888800,1963404000,43200,3600,:NZDT)}
-add_period(2032,3) {TimezonePeriod.new(1963404000,1980338400,43200,0,:NZST)}
-add_period(2032,10) {TimezonePeriod.new(1980338400,1994853600,43200,3600,:NZDT)}
-add_period(2033,3) {TimezonePeriod.new(1994853600,2011788000,43200,0,:NZST)}
-add_period(2033,10) {TimezonePeriod.new(2011788000,2026303200,43200,3600,:NZDT)}
-add_period(2034,3) {TimezonePeriod.new(2026303200,2043237600,43200,0,:NZST)}
-add_period(2034,9) {TimezonePeriod.new(2043237600,2057752800,43200,3600,:NZDT)}
-add_period(2035,3) {TimezonePeriod.new(2057752800,2075292000,43200,0,:NZST)}
-add_period(2035,10) {TimezonePeriod.new(2075292000,2089202400,43200,3600,:NZDT)}
-add_period(2036,3) {TimezonePeriod.new(2089202400,2106741600,43200,0,:NZST)}
-add_period(2036,10) {TimezonePeriod.new(2106741600,2120652000,43200,3600,:NZDT)}
-add_period(2037,3) {TimezonePeriod.new(2120652000,2138191200,43200,0,:NZST)}
-add_period(2037,10) {TimezonePeriod.new(2138191200,DateTime.new0(Rational.new!(29586037,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2038,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29586037,12),0,Date::ITALY),DateTime.new0(Rational.new!(29588389,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2038,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29588389,12),0,Date::ITALY),DateTime.new0(Rational.new!(29590405,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2039,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29590405,12),0,Date::ITALY),DateTime.new0(Rational.new!(29592757,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2039,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29592757,12),0,Date::ITALY),DateTime.new0(Rational.new!(29594773,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2040,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29594773,12),0,Date::ITALY),DateTime.new0(Rational.new!(29597209,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2040,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29597209,12),0,Date::ITALY),DateTime.new0(Rational.new!(29599141,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2041,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29599141,12),0,Date::ITALY),DateTime.new0(Rational.new!(29601577,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2041,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29601577,12),0,Date::ITALY),DateTime.new0(Rational.new!(29603509,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2042,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29603509,12),0,Date::ITALY),DateTime.new0(Rational.new!(29605945,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2042,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29605945,12),0,Date::ITALY),DateTime.new0(Rational.new!(29607877,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2043,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29607877,12),0,Date::ITALY),DateTime.new0(Rational.new!(29610313,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2043,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29610313,12),0,Date::ITALY),DateTime.new0(Rational.new!(29612329,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2044,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29612329,12),0,Date::ITALY),DateTime.new0(Rational.new!(29614681,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2044,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29614681,12),0,Date::ITALY),DateTime.new0(Rational.new!(29616697,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2045,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29616697,12),0,Date::ITALY),DateTime.new0(Rational.new!(29619049,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2045,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(29619049,12),0,Date::ITALY),DateTime.new0(Rational.new!(29621065,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2046,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29621065,12),0,Date::ITALY),DateTime.new0(Rational.new!(29623501,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2046,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29623501,12),0,Date::ITALY),DateTime.new0(Rational.new!(29625433,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2047,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29625433,12),0,Date::ITALY),DateTime.new0(Rational.new!(29627869,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2047,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29627869,12),0,Date::ITALY),DateTime.new0(Rational.new!(29629801,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2048,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29629801,12),0,Date::ITALY),DateTime.new0(Rational.new!(29632237,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2048,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29632237,12),0,Date::ITALY),DateTime.new0(Rational.new!(29634253,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2049,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29634253,12),0,Date::ITALY),DateTime.new0(Rational.new!(29636605,12),0,Date::ITALY),43200,0,:NZST)}
-add_period(2049,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29636605,12),0,Date::ITALY),DateTime.new0(Rational.new!(29638621,12),0,Date::ITALY),43200,3600,:NZDT)}
-add_period(2050,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29638621,12),0,Date::ITALY),nil,43200,0,:NZST)}
-end
-end
-end
+ module Definitions
+ module Pacific
+ module Auckland
+ include TimezoneDefinition
+
+ timezone 'Pacific/Auckland' do |tz|
+ tz.offset :o0, 41944, 0, :LMT
+ tz.offset :o1, 41400, 0, :NZMT
+ tz.offset :o2, 41400, 3600, :NZST
+ tz.offset :o3, 41400, 1800, :NZST
+ tz.offset :o4, 43200, 0, :NZST
+ tz.offset :o5, 43200, 3600, :NZDT
+
+ tz.transition 1868, 11, :o1, 25959290557, 10800
+ tz.transition 1927, 11, :o2, 116409125, 48
+ tz.transition 1928, 3, :o1, 38804945, 16
+ tz.transition 1928, 10, :o3, 116425589, 48
+ tz.transition 1929, 3, :o1, 29108245, 12
+ tz.transition 1929, 10, :o3, 116443061, 48
+ tz.transition 1930, 3, :o1, 29112613, 12
+ tz.transition 1930, 10, :o3, 116460533, 48
+ tz.transition 1931, 3, :o1, 29116981, 12
+ tz.transition 1931, 10, :o3, 116478005, 48
+ tz.transition 1932, 3, :o1, 29121433, 12
+ tz.transition 1932, 10, :o3, 116495477, 48
+ tz.transition 1933, 3, :o1, 29125801, 12
+ tz.transition 1933, 10, :o3, 116512949, 48
+ tz.transition 1934, 4, :o1, 29130673, 12
+ tz.transition 1934, 9, :o3, 116530085, 48
+ tz.transition 1935, 4, :o1, 29135041, 12
+ tz.transition 1935, 9, :o3, 116547557, 48
+ tz.transition 1936, 4, :o1, 29139409, 12
+ tz.transition 1936, 9, :o3, 116565029, 48
+ tz.transition 1937, 4, :o1, 29143777, 12
+ tz.transition 1937, 9, :o3, 116582501, 48
+ tz.transition 1938, 4, :o1, 29148145, 12
+ tz.transition 1938, 9, :o3, 116599973, 48
+ tz.transition 1939, 4, :o1, 29152597, 12
+ tz.transition 1939, 9, :o3, 116617445, 48
+ tz.transition 1940, 4, :o1, 29156965, 12
+ tz.transition 1940, 9, :o3, 116635253, 48
+ tz.transition 1945, 12, :o4, 2431821, 1
+ tz.transition 1974, 11, :o5, 152632800
+ tz.transition 1975, 2, :o4, 162309600
+ tz.transition 1975, 10, :o5, 183477600
+ tz.transition 1976, 3, :o4, 194968800
+ tz.transition 1976, 10, :o5, 215532000
+ tz.transition 1977, 3, :o4, 226418400
+ tz.transition 1977, 10, :o5, 246981600
+ tz.transition 1978, 3, :o4, 257868000
+ tz.transition 1978, 10, :o5, 278431200
+ tz.transition 1979, 3, :o4, 289317600
+ tz.transition 1979, 10, :o5, 309880800
+ tz.transition 1980, 3, :o4, 320767200
+ tz.transition 1980, 10, :o5, 341330400
+ tz.transition 1981, 2, :o4, 352216800
+ tz.transition 1981, 10, :o5, 372780000
+ tz.transition 1982, 3, :o4, 384271200
+ tz.transition 1982, 10, :o5, 404834400
+ tz.transition 1983, 3, :o4, 415720800
+ tz.transition 1983, 10, :o5, 436284000
+ tz.transition 1984, 3, :o4, 447170400
+ tz.transition 1984, 10, :o5, 467733600
+ tz.transition 1985, 3, :o4, 478620000
+ tz.transition 1985, 10, :o5, 499183200
+ tz.transition 1986, 3, :o4, 510069600
+ tz.transition 1986, 10, :o5, 530632800
+ tz.transition 1987, 2, :o4, 541519200
+ tz.transition 1987, 10, :o5, 562082400
+ tz.transition 1988, 3, :o4, 573573600
+ tz.transition 1988, 10, :o5, 594136800
+ tz.transition 1989, 3, :o4, 605023200
+ tz.transition 1989, 10, :o5, 623772000
+ tz.transition 1990, 3, :o4, 637682400
+ tz.transition 1990, 10, :o5, 655221600
+ tz.transition 1991, 3, :o4, 669132000
+ tz.transition 1991, 10, :o5, 686671200
+ tz.transition 1992, 3, :o4, 700581600
+ tz.transition 1992, 10, :o5, 718120800
+ tz.transition 1993, 3, :o4, 732636000
+ tz.transition 1993, 10, :o5, 749570400
+ tz.transition 1994, 3, :o4, 764085600
+ tz.transition 1994, 10, :o5, 781020000
+ tz.transition 1995, 3, :o4, 795535200
+ tz.transition 1995, 9, :o5, 812469600
+ tz.transition 1996, 3, :o4, 826984800
+ tz.transition 1996, 10, :o5, 844524000
+ tz.transition 1997, 3, :o4, 858434400
+ tz.transition 1997, 10, :o5, 875973600
+ tz.transition 1998, 3, :o4, 889884000
+ tz.transition 1998, 10, :o5, 907423200
+ tz.transition 1999, 3, :o4, 921938400
+ tz.transition 1999, 10, :o5, 938872800
+ tz.transition 2000, 3, :o4, 953388000
+ tz.transition 2000, 9, :o5, 970322400
+ tz.transition 2001, 3, :o4, 984837600
+ tz.transition 2001, 10, :o5, 1002376800
+ tz.transition 2002, 3, :o4, 1016287200
+ tz.transition 2002, 10, :o5, 1033826400
+ tz.transition 2003, 3, :o4, 1047736800
+ tz.transition 2003, 10, :o5, 1065276000
+ tz.transition 2004, 3, :o4, 1079791200
+ tz.transition 2004, 10, :o5, 1096725600
+ tz.transition 2005, 3, :o4, 1111240800
+ tz.transition 2005, 10, :o5, 1128175200
+ tz.transition 2006, 3, :o4, 1142690400
+ tz.transition 2006, 9, :o5, 1159624800
+ tz.transition 2007, 3, :o4, 1174140000
+ tz.transition 2007, 10, :o5, 1191679200
+ tz.transition 2008, 3, :o4, 1205589600
+ tz.transition 2008, 10, :o5, 1223128800
+ tz.transition 2009, 3, :o4, 1237039200
+ tz.transition 2009, 10, :o5, 1254578400
+ tz.transition 2010, 3, :o4, 1269093600
+ tz.transition 2010, 10, :o5, 1286028000
+ tz.transition 2011, 3, :o4, 1300543200
+ tz.transition 2011, 10, :o5, 1317477600
+ tz.transition 2012, 3, :o4, 1331992800
+ tz.transition 2012, 10, :o5, 1349532000
+ tz.transition 2013, 3, :o4, 1363442400
+ tz.transition 2013, 10, :o5, 1380981600
+ tz.transition 2014, 3, :o4, 1394892000
+ tz.transition 2014, 10, :o5, 1412431200
+ tz.transition 2015, 3, :o4, 1426341600
+ tz.transition 2015, 10, :o5, 1443880800
+ tz.transition 2016, 3, :o4, 1458396000
+ tz.transition 2016, 10, :o5, 1475330400
+ tz.transition 2017, 3, :o4, 1489845600
+ tz.transition 2017, 9, :o5, 1506780000
+ tz.transition 2018, 3, :o4, 1521295200
+ tz.transition 2018, 10, :o5, 1538834400
+ tz.transition 2019, 3, :o4, 1552744800
+ tz.transition 2019, 10, :o5, 1570284000
+ tz.transition 2020, 3, :o4, 1584194400
+ tz.transition 2020, 10, :o5, 1601733600
+ tz.transition 2021, 3, :o4, 1616248800
+ tz.transition 2021, 10, :o5, 1633183200
+ tz.transition 2022, 3, :o4, 1647698400
+ tz.transition 2022, 10, :o5, 1664632800
+ tz.transition 2023, 3, :o4, 1679148000
+ tz.transition 2023, 9, :o5, 1696082400
+ tz.transition 2024, 3, :o4, 1710597600
+ tz.transition 2024, 10, :o5, 1728136800
+ tz.transition 2025, 3, :o4, 1742047200
+ tz.transition 2025, 10, :o5, 1759586400
+ tz.transition 2026, 3, :o4, 1773496800
+ tz.transition 2026, 10, :o5, 1791036000
+ tz.transition 2027, 3, :o4, 1805551200
+ tz.transition 2027, 10, :o5, 1822485600
+ tz.transition 2028, 3, :o4, 1837000800
+ tz.transition 2028, 9, :o5, 1853935200
+ tz.transition 2029, 3, :o4, 1868450400
+ tz.transition 2029, 10, :o5, 1885989600
+ tz.transition 2030, 3, :o4, 1899900000
+ tz.transition 2030, 10, :o5, 1917439200
+ tz.transition 2031, 3, :o4, 1931349600
+ tz.transition 2031, 10, :o5, 1948888800
+ tz.transition 2032, 3, :o4, 1963404000
+ tz.transition 2032, 10, :o5, 1980338400
+ tz.transition 2033, 3, :o4, 1994853600
+ tz.transition 2033, 10, :o5, 2011788000
+ tz.transition 2034, 3, :o4, 2026303200
+ tz.transition 2034, 9, :o5, 2043237600
+ tz.transition 2035, 3, :o4, 2057752800
+ tz.transition 2035, 10, :o5, 2075292000
+ tz.transition 2036, 3, :o4, 2089202400
+ tz.transition 2036, 10, :o5, 2106741600
+ tz.transition 2037, 3, :o4, 2120652000
+ tz.transition 2037, 10, :o5, 2138191200
+ tz.transition 2038, 3, :o4, 29586037, 12
+ tz.transition 2038, 10, :o5, 29588389, 12
+ tz.transition 2039, 3, :o4, 29590405, 12
+ tz.transition 2039, 10, :o5, 29592757, 12
+ tz.transition 2040, 3, :o4, 29594773, 12
+ tz.transition 2040, 10, :o5, 29597209, 12
+ tz.transition 2041, 3, :o4, 29599141, 12
+ tz.transition 2041, 10, :o5, 29601577, 12
+ tz.transition 2042, 3, :o4, 29603509, 12
+ tz.transition 2042, 10, :o5, 29605945, 12
+ tz.transition 2043, 3, :o4, 29607877, 12
+ tz.transition 2043, 10, :o5, 29610313, 12
+ tz.transition 2044, 3, :o4, 29612329, 12
+ tz.transition 2044, 10, :o5, 29614681, 12
+ tz.transition 2045, 3, :o4, 29616697, 12
+ tz.transition 2045, 9, :o5, 29619049, 12
+ tz.transition 2046, 3, :o4, 29621065, 12
+ tz.transition 2046, 10, :o5, 29623501, 12
+ tz.transition 2047, 3, :o4, 29625433, 12
+ tz.transition 2047, 10, :o5, 29627869, 12
+ tz.transition 2048, 3, :o4, 29629801, 12
+ tz.transition 2048, 10, :o5, 29632237, 12
+ tz.transition 2049, 3, :o4, 29634253, 12
+ tz.transition 2049, 10, :o5, 29636605, 12
+ tz.transition 2050, 3, :o4, 29638621, 12
+ end
+ end
+ end
+ end
end