lib/tzinfo/definitions/Europe/Madrid.rb in tzinfo-0.2.2 vs lib/tzinfo/definitions/Europe/Madrid.rb in tzinfo-0.3.0

- old
+ new

@@ -1,202 +1,211 @@ -require 'tzinfo/timezone' +require 'tzinfo/timezone_definition' + module TZInfo -module Definitions #:nodoc: -module Europe #:nodoc: -class Madrid < Timezone #:nodoc: -setup -set_identifier('Europe/Madrid') -add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(52172327021,21600),0,Date::ITALY),-884,0,:LMT)} -add_period(1901,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(52172327021,21600),0,Date::ITALY),DateTime.new0(Rational.new!(58112507,24),0,Date::ITALY),0,0,:WET)} -add_period(1917,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58112507,24),0,Date::ITALY),DateTime.new0(Rational.new!(58116203,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1917,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58116203,24),0,Date::ITALY),DateTime.new0(Rational.new!(58120787,24),0,Date::ITALY),0,0,:WET)} -add_period(1918,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58120787,24),0,Date::ITALY),DateTime.new0(Rational.new!(58124963,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1918,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58124963,24),0,Date::ITALY),DateTime.new0(Rational.new!(58129307,24),0,Date::ITALY),0,0,:WET)} -add_period(1919,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58129307,24),0,Date::ITALY),DateTime.new0(Rational.new!(58133723,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1919,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58133723,24),0,Date::ITALY),DateTime.new0(Rational.new!(58173419,24),0,Date::ITALY),0,0,:WET)} -add_period(1924,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58173419,24),0,Date::ITALY),DateTime.new0(Rational.new!(58177523,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1924,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58177523,24),0,Date::ITALY),DateTime.new0(Rational.new!(58190963,24),0,Date::ITALY),0,0,:WET)} -add_period(1926,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58190963,24),0,Date::ITALY),DateTime.new0(Rational.new!(58194995,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1926,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58194995,24),0,Date::ITALY),DateTime.new0(Rational.new!(58199531,24),0,Date::ITALY),0,0,:WET)} -add_period(1927,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58199531,24),0,Date::ITALY),DateTime.new0(Rational.new!(58203731,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1927,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58203731,24),0,Date::ITALY),DateTime.new0(Rational.new!(58208435,24),0,Date::ITALY),0,0,:WET)} -add_period(1928,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58208435,24),0,Date::ITALY),DateTime.new0(Rational.new!(58212635,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1928,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58212635,24),0,Date::ITALY),DateTime.new0(Rational.new!(58217339,24),0,Date::ITALY),0,0,:WET)} -add_period(1929,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58217339,24),0,Date::ITALY),DateTime.new0(Rational.new!(58221371,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1929,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58221371,24),0,Date::ITALY),DateTime.new0(Rational.new!(58288235,24),0,Date::ITALY),0,0,:WET)} -add_period(1937,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58288235,24),0,Date::ITALY),DateTime.new0(Rational.new!(58291427,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1937,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58291427,24),0,Date::ITALY),DateTime.new0(Rational.new!(58295531,24),0,Date::ITALY),0,0,:WET)} -add_period(1938,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(58295531,24),0,Date::ITALY),DateTime.new0(Rational.new!(58300163,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1938,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58300163,24),0,Date::ITALY),DateTime.new0(Rational.new!(58304867,24),0,Date::ITALY),0,0,:WET)} -add_period(1939,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58304867,24),0,Date::ITALY),DateTime.new0(Rational.new!(58309067,24),0,Date::ITALY),0,3600,:WEST)} -add_period(1939,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58309067,24),0,Date::ITALY),DateTime.new0(Rational.new!(58312931,24),0,Date::ITALY),0,0,:WET)} -add_period(1940,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(58312931,24),0,Date::ITALY),DateTime.new0(Rational.new!(29165789,12),0,Date::ITALY),0,3600,:WEST)} -add_period(1942,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(29165789,12),0,Date::ITALY),DateTime.new0(Rational.new!(29167253,12),0,Date::ITALY),0,7200,:WEMT)} -add_period(1942,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(29167253,12),0,Date::ITALY),DateTime.new0(Rational.new!(29169989,12),0,Date::ITALY),0,3600,:WEST)} -add_period(1943,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29169989,12),0,Date::ITALY),DateTime.new0(Rational.new!(29172017,12),0,Date::ITALY),0,7200,:WEMT)} -add_period(1943,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29172017,12),0,Date::ITALY),DateTime.new0(Rational.new!(29174357,12),0,Date::ITALY),0,3600,:WEST)} -add_period(1944,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29174357,12),0,Date::ITALY),DateTime.new0(Rational.new!(29176493,12),0,Date::ITALY),0,7200,:WEMT)} -add_period(1944,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29176493,12),0,Date::ITALY),DateTime.new0(Rational.new!(29178725,12),0,Date::ITALY),0,3600,:WEST)} -add_period(1945,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29178725,12),0,Date::ITALY),DateTime.new0(Rational.new!(58361483,24),0,Date::ITALY),0,7200,:WEMT)} -add_period(1945,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58361483,24),0,Date::ITALY),DateTime.new0(Rational.new!(29183093,12),0,Date::ITALY),0,3600,:WEST)} -add_period(1946,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29183093,12),0,Date::ITALY),DateTime.new0(Rational.new!(29185121,12),0,Date::ITALY),0,7200,:WEMT)} -add_period(1946,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(29185121,12),0,Date::ITALY),DateTime.new0(Rational.new!(29196449,12),0,Date::ITALY),3600,0,:CET)} -add_period(1949,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29196449,12),0,Date::ITALY),DateTime.new0(Rational.new!(58396547,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(1949,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58396547,24),0,Date::ITALY),135122400,3600,0,:CET)} -add_period(1974,4) {TimezonePeriod.new(135122400,150246000,3600,3600,:CEST)} -add_period(1974,10) {TimezonePeriod.new(150246000,167176800,3600,0,:CET)} -add_period(1975,4) {TimezonePeriod.new(167176800,181695600,3600,3600,:CEST)} -add_period(1975,10) {TimezonePeriod.new(181695600,196812000,3600,0,:CET)} -add_period(1976,3) {TimezonePeriod.new(196812000,212540400,3600,3600,:CEST)} -add_period(1976,9) {TimezonePeriod.new(212540400,228866400,3600,0,:CET)} -add_period(1977,4) {TimezonePeriod.new(228866400,243990000,3600,3600,:CEST)} -add_period(1977,9) {TimezonePeriod.new(243990000,260402400,3600,0,:CET)} -add_period(1978,4) {TimezonePeriod.new(260402400,276044400,3600,3600,:CEST)} -add_period(1978,9) {TimezonePeriod.new(276044400,291776400,3600,0,:CET)} -add_period(1979,4) {TimezonePeriod.new(291776400,307501200,3600,3600,:CEST)} -add_period(1979,9) {TimezonePeriod.new(307501200,323830800,3600,0,:CET)} -add_period(1980,4) {TimezonePeriod.new(323830800,338950800,3600,3600,:CEST)} -add_period(1980,9) {TimezonePeriod.new(338950800,354675600,3600,0,:CET)} -add_period(1981,3) {TimezonePeriod.new(354675600,370400400,3600,3600,:CEST)} -add_period(1981,9) {TimezonePeriod.new(370400400,386125200,3600,0,:CET)} -add_period(1982,3) {TimezonePeriod.new(386125200,401850000,3600,3600,:CEST)} -add_period(1982,9) {TimezonePeriod.new(401850000,417574800,3600,0,:CET)} -add_period(1983,3) {TimezonePeriod.new(417574800,433299600,3600,3600,:CEST)} -add_period(1983,9) {TimezonePeriod.new(433299600,449024400,3600,0,:CET)} -add_period(1984,3) {TimezonePeriod.new(449024400,465354000,3600,3600,:CEST)} -add_period(1984,9) {TimezonePeriod.new(465354000,481078800,3600,0,:CET)} -add_period(1985,3) {TimezonePeriod.new(481078800,496803600,3600,3600,:CEST)} -add_period(1985,9) {TimezonePeriod.new(496803600,512528400,3600,0,:CET)} -add_period(1986,3) {TimezonePeriod.new(512528400,528253200,3600,3600,:CEST)} -add_period(1986,9) {TimezonePeriod.new(528253200,543978000,3600,0,:CET)} -add_period(1987,3) {TimezonePeriod.new(543978000,559702800,3600,3600,:CEST)} -add_period(1987,9) {TimezonePeriod.new(559702800,575427600,3600,0,:CET)} -add_period(1988,3) {TimezonePeriod.new(575427600,591152400,3600,3600,:CEST)} -add_period(1988,9) {TimezonePeriod.new(591152400,606877200,3600,0,:CET)} -add_period(1989,3) {TimezonePeriod.new(606877200,622602000,3600,3600,:CEST)} -add_period(1989,9) {TimezonePeriod.new(622602000,638326800,3600,0,:CET)} -add_period(1990,3) {TimezonePeriod.new(638326800,654656400,3600,3600,:CEST)} -add_period(1990,9) {TimezonePeriod.new(654656400,670381200,3600,0,:CET)} -add_period(1991,3) {TimezonePeriod.new(670381200,686106000,3600,3600,:CEST)} -add_period(1991,9) {TimezonePeriod.new(686106000,701830800,3600,0,:CET)} -add_period(1992,3) {TimezonePeriod.new(701830800,717555600,3600,3600,:CEST)} -add_period(1992,9) {TimezonePeriod.new(717555600,733280400,3600,0,:CET)} -add_period(1993,3) {TimezonePeriod.new(733280400,749005200,3600,3600,:CEST)} -add_period(1993,9) {TimezonePeriod.new(749005200,764730000,3600,0,:CET)} -add_period(1994,3) {TimezonePeriod.new(764730000,780454800,3600,3600,:CEST)} -add_period(1994,9) {TimezonePeriod.new(780454800,796179600,3600,0,:CET)} -add_period(1995,3) {TimezonePeriod.new(796179600,811904400,3600,3600,:CEST)} -add_period(1995,9) {TimezonePeriod.new(811904400,828234000,3600,0,:CET)} -add_period(1996,3) {TimezonePeriod.new(828234000,846378000,3600,3600,:CEST)} -add_period(1996,10) {TimezonePeriod.new(846378000,859683600,3600,0,:CET)} -add_period(1997,3) {TimezonePeriod.new(859683600,877827600,3600,3600,:CEST)} -add_period(1997,10) {TimezonePeriod.new(877827600,891133200,3600,0,:CET)} -add_period(1998,3) {TimezonePeriod.new(891133200,909277200,3600,3600,:CEST)} -add_period(1998,10) {TimezonePeriod.new(909277200,922582800,3600,0,:CET)} -add_period(1999,3) {TimezonePeriod.new(922582800,941331600,3600,3600,:CEST)} -add_period(1999,10) {TimezonePeriod.new(941331600,954032400,3600,0,:CET)} -add_period(2000,3) {TimezonePeriod.new(954032400,972781200,3600,3600,:CEST)} -add_period(2000,10) {TimezonePeriod.new(972781200,985482000,3600,0,:CET)} -add_period(2001,3) {TimezonePeriod.new(985482000,1004230800,3600,3600,:CEST)} -add_period(2001,10) {TimezonePeriod.new(1004230800,1017536400,3600,0,:CET)} -add_period(2002,3) {TimezonePeriod.new(1017536400,1035680400,3600,3600,:CEST)} -add_period(2002,10) {TimezonePeriod.new(1035680400,1048986000,3600,0,:CET)} -add_period(2003,3) {TimezonePeriod.new(1048986000,1067130000,3600,3600,:CEST)} -add_period(2003,10) {TimezonePeriod.new(1067130000,1080435600,3600,0,:CET)} -add_period(2004,3) {TimezonePeriod.new(1080435600,1099184400,3600,3600,:CEST)} -add_period(2004,10) {TimezonePeriod.new(1099184400,1111885200,3600,0,:CET)} -add_period(2005,3) {TimezonePeriod.new(1111885200,1130634000,3600,3600,:CEST)} -add_period(2005,10) {TimezonePeriod.new(1130634000,1143334800,3600,0,:CET)} -add_period(2006,3) {TimezonePeriod.new(1143334800,1162083600,3600,3600,:CEST)} -add_period(2006,10) {TimezonePeriod.new(1162083600,1174784400,3600,0,:CET)} -add_period(2007,3) {TimezonePeriod.new(1174784400,1193533200,3600,3600,:CEST)} -add_period(2007,10) {TimezonePeriod.new(1193533200,1206838800,3600,0,:CET)} -add_period(2008,3) {TimezonePeriod.new(1206838800,1224982800,3600,3600,:CEST)} -add_period(2008,10) {TimezonePeriod.new(1224982800,1238288400,3600,0,:CET)} -add_period(2009,3) {TimezonePeriod.new(1238288400,1256432400,3600,3600,:CEST)} -add_period(2009,10) {TimezonePeriod.new(1256432400,1269738000,3600,0,:CET)} -add_period(2010,3) {TimezonePeriod.new(1269738000,1288486800,3600,3600,:CEST)} -add_period(2010,10) {TimezonePeriod.new(1288486800,1301187600,3600,0,:CET)} -add_period(2011,3) {TimezonePeriod.new(1301187600,1319936400,3600,3600,:CEST)} -add_period(2011,10) {TimezonePeriod.new(1319936400,1332637200,3600,0,:CET)} -add_period(2012,3) {TimezonePeriod.new(1332637200,1351386000,3600,3600,:CEST)} -add_period(2012,10) {TimezonePeriod.new(1351386000,1364691600,3600,0,:CET)} -add_period(2013,3) {TimezonePeriod.new(1364691600,1382835600,3600,3600,:CEST)} -add_period(2013,10) {TimezonePeriod.new(1382835600,1396141200,3600,0,:CET)} -add_period(2014,3) {TimezonePeriod.new(1396141200,1414285200,3600,3600,:CEST)} -add_period(2014,10) {TimezonePeriod.new(1414285200,1427590800,3600,0,:CET)} -add_period(2015,3) {TimezonePeriod.new(1427590800,1445734800,3600,3600,:CEST)} -add_period(2015,10) {TimezonePeriod.new(1445734800,1459040400,3600,0,:CET)} -add_period(2016,3) {TimezonePeriod.new(1459040400,1477789200,3600,3600,:CEST)} -add_period(2016,10) {TimezonePeriod.new(1477789200,1490490000,3600,0,:CET)} -add_period(2017,3) {TimezonePeriod.new(1490490000,1509238800,3600,3600,:CEST)} -add_period(2017,10) {TimezonePeriod.new(1509238800,1521939600,3600,0,:CET)} -add_period(2018,3) {TimezonePeriod.new(1521939600,1540688400,3600,3600,:CEST)} -add_period(2018,10) {TimezonePeriod.new(1540688400,1553994000,3600,0,:CET)} -add_period(2019,3) {TimezonePeriod.new(1553994000,1572138000,3600,3600,:CEST)} -add_period(2019,10) {TimezonePeriod.new(1572138000,1585443600,3600,0,:CET)} -add_period(2020,3) {TimezonePeriod.new(1585443600,1603587600,3600,3600,:CEST)} -add_period(2020,10) {TimezonePeriod.new(1603587600,1616893200,3600,0,:CET)} -add_period(2021,3) {TimezonePeriod.new(1616893200,1635642000,3600,3600,:CEST)} -add_period(2021,10) {TimezonePeriod.new(1635642000,1648342800,3600,0,:CET)} -add_period(2022,3) {TimezonePeriod.new(1648342800,1667091600,3600,3600,:CEST)} -add_period(2022,10) {TimezonePeriod.new(1667091600,1679792400,3600,0,:CET)} -add_period(2023,3) {TimezonePeriod.new(1679792400,1698541200,3600,3600,:CEST)} -add_period(2023,10) {TimezonePeriod.new(1698541200,1711846800,3600,0,:CET)} -add_period(2024,3) {TimezonePeriod.new(1711846800,1729990800,3600,3600,:CEST)} -add_period(2024,10) {TimezonePeriod.new(1729990800,1743296400,3600,0,:CET)} -add_period(2025,3) {TimezonePeriod.new(1743296400,1761440400,3600,3600,:CEST)} -add_period(2025,10) {TimezonePeriod.new(1761440400,1774746000,3600,0,:CET)} -add_period(2026,3) {TimezonePeriod.new(1774746000,1792890000,3600,3600,:CEST)} -add_period(2026,10) {TimezonePeriod.new(1792890000,1806195600,3600,0,:CET)} -add_period(2027,3) {TimezonePeriod.new(1806195600,1824944400,3600,3600,:CEST)} -add_period(2027,10) {TimezonePeriod.new(1824944400,1837645200,3600,0,:CET)} -add_period(2028,3) {TimezonePeriod.new(1837645200,1856394000,3600,3600,:CEST)} -add_period(2028,10) {TimezonePeriod.new(1856394000,1869094800,3600,0,:CET)} -add_period(2029,3) {TimezonePeriod.new(1869094800,1887843600,3600,3600,:CEST)} -add_period(2029,10) {TimezonePeriod.new(1887843600,1901149200,3600,0,:CET)} -add_period(2030,3) {TimezonePeriod.new(1901149200,1919293200,3600,3600,:CEST)} -add_period(2030,10) {TimezonePeriod.new(1919293200,1932598800,3600,0,:CET)} -add_period(2031,3) {TimezonePeriod.new(1932598800,1950742800,3600,3600,:CEST)} -add_period(2031,10) {TimezonePeriod.new(1950742800,1964048400,3600,0,:CET)} -add_period(2032,3) {TimezonePeriod.new(1964048400,1982797200,3600,3600,:CEST)} -add_period(2032,10) {TimezonePeriod.new(1982797200,1995498000,3600,0,:CET)} -add_period(2033,3) {TimezonePeriod.new(1995498000,2014246800,3600,3600,:CEST)} -add_period(2033,10) {TimezonePeriod.new(2014246800,2026947600,3600,0,:CET)} -add_period(2034,3) {TimezonePeriod.new(2026947600,2045696400,3600,3600,:CEST)} -add_period(2034,10) {TimezonePeriod.new(2045696400,2058397200,3600,0,:CET)} -add_period(2035,3) {TimezonePeriod.new(2058397200,2077146000,3600,3600,:CEST)} -add_period(2035,10) {TimezonePeriod.new(2077146000,2090451600,3600,0,:CET)} -add_period(2036,3) {TimezonePeriod.new(2090451600,2108595600,3600,3600,:CEST)} -add_period(2036,10) {TimezonePeriod.new(2108595600,2121901200,3600,0,:CET)} -add_period(2037,3) {TimezonePeriod.new(2121901200,2140045200,3600,3600,:CEST)} -add_period(2037,10) {TimezonePeriod.new(2140045200,DateTime.new0(Rational.new!(59172253,24),0,Date::ITALY),3600,0,:CET)} -add_period(2038,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59172253,24),0,Date::ITALY),DateTime.new0(Rational.new!(59177461,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2038,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59177461,24),0,Date::ITALY),DateTime.new0(Rational.new!(59180989,24),0,Date::ITALY),3600,0,:CET)} -add_period(2039,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59180989,24),0,Date::ITALY),DateTime.new0(Rational.new!(59186197,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2039,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59186197,24),0,Date::ITALY),DateTime.new0(Rational.new!(59189725,24),0,Date::ITALY),3600,0,:CET)} -add_period(2040,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59189725,24),0,Date::ITALY),DateTime.new0(Rational.new!(59194933,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2040,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59194933,24),0,Date::ITALY),DateTime.new0(Rational.new!(59198629,24),0,Date::ITALY),3600,0,:CET)} -add_period(2041,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59198629,24),0,Date::ITALY),DateTime.new0(Rational.new!(59203669,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2041,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59203669,24),0,Date::ITALY),DateTime.new0(Rational.new!(59207365,24),0,Date::ITALY),3600,0,:CET)} -add_period(2042,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59207365,24),0,Date::ITALY),DateTime.new0(Rational.new!(59212405,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2042,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59212405,24),0,Date::ITALY),DateTime.new0(Rational.new!(59216101,24),0,Date::ITALY),3600,0,:CET)} -add_period(2043,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59216101,24),0,Date::ITALY),DateTime.new0(Rational.new!(59221141,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2043,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59221141,24),0,Date::ITALY),DateTime.new0(Rational.new!(59224837,24),0,Date::ITALY),3600,0,:CET)} -add_period(2044,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59224837,24),0,Date::ITALY),DateTime.new0(Rational.new!(59230045,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2044,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59230045,24),0,Date::ITALY),DateTime.new0(Rational.new!(59233573,24),0,Date::ITALY),3600,0,:CET)} -add_period(2045,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59233573,24),0,Date::ITALY),DateTime.new0(Rational.new!(59238781,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2045,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59238781,24),0,Date::ITALY),DateTime.new0(Rational.new!(59242309,24),0,Date::ITALY),3600,0,:CET)} -add_period(2046,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59242309,24),0,Date::ITALY),DateTime.new0(Rational.new!(59247517,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2046,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59247517,24),0,Date::ITALY),DateTime.new0(Rational.new!(59251213,24),0,Date::ITALY),3600,0,:CET)} -add_period(2047,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59251213,24),0,Date::ITALY),DateTime.new0(Rational.new!(59256253,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2047,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59256253,24),0,Date::ITALY),DateTime.new0(Rational.new!(59259949,24),0,Date::ITALY),3600,0,:CET)} -add_period(2048,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59259949,24),0,Date::ITALY),DateTime.new0(Rational.new!(59264989,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2048,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59264989,24),0,Date::ITALY),DateTime.new0(Rational.new!(59268685,24),0,Date::ITALY),3600,0,:CET)} -add_period(2049,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59268685,24),0,Date::ITALY),DateTime.new0(Rational.new!(59273893,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2049,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59273893,24),0,Date::ITALY),DateTime.new0(Rational.new!(59277421,24),0,Date::ITALY),3600,0,:CET)} -add_period(2050,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(59277421,24),0,Date::ITALY),DateTime.new0(Rational.new!(59282629,24),0,Date::ITALY),3600,3600,:CEST)} -add_period(2050,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(59282629,24),0,Date::ITALY),nil,3600,0,:CET)} -end -end -end + module Definitions + module Europe + module Madrid + include TimezoneDefinition + + timezone 'Europe/Madrid' do |tz| + tz.offset :o0, -884, 0, :LMT + tz.offset :o1, 0, 0, :WET + tz.offset :o2, 0, 3600, :WEST + tz.offset :o3, 0, 7200, :WEMT + tz.offset :o4, 3600, 0, :CET + tz.offset :o5, 3600, 3600, :CEST + + tz.transition 1901, 1, :o1, 52172327021, 21600 + tz.transition 1917, 5, :o2, 58112507, 24 + tz.transition 1917, 10, :o1, 58116203, 24 + tz.transition 1918, 4, :o2, 58120787, 24 + tz.transition 1918, 10, :o1, 58124963, 24 + tz.transition 1919, 4, :o2, 58129307, 24 + tz.transition 1919, 10, :o1, 58133723, 24 + tz.transition 1924, 4, :o2, 58173419, 24 + tz.transition 1924, 10, :o1, 58177523, 24 + tz.transition 1926, 4, :o2, 58190963, 24 + tz.transition 1926, 10, :o1, 58194995, 24 + tz.transition 1927, 4, :o2, 58199531, 24 + tz.transition 1927, 10, :o1, 58203731, 24 + tz.transition 1928, 4, :o2, 58208435, 24 + tz.transition 1928, 10, :o1, 58212635, 24 + tz.transition 1929, 4, :o2, 58217339, 24 + tz.transition 1929, 10, :o1, 58221371, 24 + tz.transition 1937, 5, :o2, 58288235, 24 + tz.transition 1937, 10, :o1, 58291427, 24 + tz.transition 1938, 3, :o2, 58295531, 24 + tz.transition 1938, 10, :o1, 58300163, 24 + tz.transition 1939, 4, :o2, 58304867, 24 + tz.transition 1939, 10, :o1, 58309067, 24 + tz.transition 1940, 3, :o2, 58312931, 24 + tz.transition 1942, 5, :o3, 29165789, 12 + tz.transition 1942, 9, :o2, 29167253, 12 + tz.transition 1943, 4, :o3, 29169989, 12 + tz.transition 1943, 10, :o2, 29172017, 12 + tz.transition 1944, 4, :o3, 29174357, 12 + tz.transition 1944, 10, :o2, 29176493, 12 + tz.transition 1945, 4, :o3, 29178725, 12 + tz.transition 1945, 9, :o2, 58361483, 24 + tz.transition 1946, 4, :o3, 29183093, 12 + tz.transition 1946, 9, :o4, 29185121, 12 + tz.transition 1949, 4, :o5, 29196449, 12 + tz.transition 1949, 9, :o4, 58396547, 24 + tz.transition 1974, 4, :o5, 135122400 + tz.transition 1974, 10, :o4, 150246000 + tz.transition 1975, 4, :o5, 167176800 + tz.transition 1975, 10, :o4, 181695600 + tz.transition 1976, 3, :o5, 196812000 + tz.transition 1976, 9, :o4, 212540400 + tz.transition 1977, 4, :o5, 228866400 + tz.transition 1977, 9, :o4, 243990000 + tz.transition 1978, 4, :o5, 260402400 + tz.transition 1978, 9, :o4, 276044400 + tz.transition 1979, 4, :o5, 291776400 + tz.transition 1979, 9, :o4, 307501200 + tz.transition 1980, 4, :o5, 323830800 + tz.transition 1980, 9, :o4, 338950800 + tz.transition 1981, 3, :o5, 354675600 + tz.transition 1981, 9, :o4, 370400400 + tz.transition 1982, 3, :o5, 386125200 + tz.transition 1982, 9, :o4, 401850000 + tz.transition 1983, 3, :o5, 417574800 + tz.transition 1983, 9, :o4, 433299600 + tz.transition 1984, 3, :o5, 449024400 + tz.transition 1984, 9, :o4, 465354000 + tz.transition 1985, 3, :o5, 481078800 + tz.transition 1985, 9, :o4, 496803600 + tz.transition 1986, 3, :o5, 512528400 + tz.transition 1986, 9, :o4, 528253200 + tz.transition 1987, 3, :o5, 543978000 + tz.transition 1987, 9, :o4, 559702800 + tz.transition 1988, 3, :o5, 575427600 + tz.transition 1988, 9, :o4, 591152400 + tz.transition 1989, 3, :o5, 606877200 + tz.transition 1989, 9, :o4, 622602000 + tz.transition 1990, 3, :o5, 638326800 + tz.transition 1990, 9, :o4, 654656400 + tz.transition 1991, 3, :o5, 670381200 + tz.transition 1991, 9, :o4, 686106000 + tz.transition 1992, 3, :o5, 701830800 + tz.transition 1992, 9, :o4, 717555600 + tz.transition 1993, 3, :o5, 733280400 + tz.transition 1993, 9, :o4, 749005200 + tz.transition 1994, 3, :o5, 764730000 + tz.transition 1994, 9, :o4, 780454800 + tz.transition 1995, 3, :o5, 796179600 + tz.transition 1995, 9, :o4, 811904400 + tz.transition 1996, 3, :o5, 828234000 + tz.transition 1996, 10, :o4, 846378000 + tz.transition 1997, 3, :o5, 859683600 + tz.transition 1997, 10, :o4, 877827600 + tz.transition 1998, 3, :o5, 891133200 + tz.transition 1998, 10, :o4, 909277200 + tz.transition 1999, 3, :o5, 922582800 + tz.transition 1999, 10, :o4, 941331600 + tz.transition 2000, 3, :o5, 954032400 + tz.transition 2000, 10, :o4, 972781200 + tz.transition 2001, 3, :o5, 985482000 + tz.transition 2001, 10, :o4, 1004230800 + tz.transition 2002, 3, :o5, 1017536400 + tz.transition 2002, 10, :o4, 1035680400 + tz.transition 2003, 3, :o5, 1048986000 + tz.transition 2003, 10, :o4, 1067130000 + tz.transition 2004, 3, :o5, 1080435600 + tz.transition 2004, 10, :o4, 1099184400 + tz.transition 2005, 3, :o5, 1111885200 + tz.transition 2005, 10, :o4, 1130634000 + tz.transition 2006, 3, :o5, 1143334800 + tz.transition 2006, 10, :o4, 1162083600 + tz.transition 2007, 3, :o5, 1174784400 + tz.transition 2007, 10, :o4, 1193533200 + tz.transition 2008, 3, :o5, 1206838800 + tz.transition 2008, 10, :o4, 1224982800 + tz.transition 2009, 3, :o5, 1238288400 + tz.transition 2009, 10, :o4, 1256432400 + tz.transition 2010, 3, :o5, 1269738000 + tz.transition 2010, 10, :o4, 1288486800 + tz.transition 2011, 3, :o5, 1301187600 + tz.transition 2011, 10, :o4, 1319936400 + tz.transition 2012, 3, :o5, 1332637200 + tz.transition 2012, 10, :o4, 1351386000 + tz.transition 2013, 3, :o5, 1364691600 + tz.transition 2013, 10, :o4, 1382835600 + tz.transition 2014, 3, :o5, 1396141200 + tz.transition 2014, 10, :o4, 1414285200 + tz.transition 2015, 3, :o5, 1427590800 + tz.transition 2015, 10, :o4, 1445734800 + tz.transition 2016, 3, :o5, 1459040400 + tz.transition 2016, 10, :o4, 1477789200 + tz.transition 2017, 3, :o5, 1490490000 + tz.transition 2017, 10, :o4, 1509238800 + tz.transition 2018, 3, :o5, 1521939600 + tz.transition 2018, 10, :o4, 1540688400 + tz.transition 2019, 3, :o5, 1553994000 + tz.transition 2019, 10, :o4, 1572138000 + tz.transition 2020, 3, :o5, 1585443600 + tz.transition 2020, 10, :o4, 1603587600 + tz.transition 2021, 3, :o5, 1616893200 + tz.transition 2021, 10, :o4, 1635642000 + tz.transition 2022, 3, :o5, 1648342800 + tz.transition 2022, 10, :o4, 1667091600 + tz.transition 2023, 3, :o5, 1679792400 + tz.transition 2023, 10, :o4, 1698541200 + tz.transition 2024, 3, :o5, 1711846800 + tz.transition 2024, 10, :o4, 1729990800 + tz.transition 2025, 3, :o5, 1743296400 + tz.transition 2025, 10, :o4, 1761440400 + tz.transition 2026, 3, :o5, 1774746000 + tz.transition 2026, 10, :o4, 1792890000 + tz.transition 2027, 3, :o5, 1806195600 + tz.transition 2027, 10, :o4, 1824944400 + tz.transition 2028, 3, :o5, 1837645200 + tz.transition 2028, 10, :o4, 1856394000 + tz.transition 2029, 3, :o5, 1869094800 + tz.transition 2029, 10, :o4, 1887843600 + tz.transition 2030, 3, :o5, 1901149200 + tz.transition 2030, 10, :o4, 1919293200 + tz.transition 2031, 3, :o5, 1932598800 + tz.transition 2031, 10, :o4, 1950742800 + tz.transition 2032, 3, :o5, 1964048400 + tz.transition 2032, 10, :o4, 1982797200 + tz.transition 2033, 3, :o5, 1995498000 + tz.transition 2033, 10, :o4, 2014246800 + tz.transition 2034, 3, :o5, 2026947600 + tz.transition 2034, 10, :o4, 2045696400 + tz.transition 2035, 3, :o5, 2058397200 + tz.transition 2035, 10, :o4, 2077146000 + tz.transition 2036, 3, :o5, 2090451600 + tz.transition 2036, 10, :o4, 2108595600 + tz.transition 2037, 3, :o5, 2121901200 + tz.transition 2037, 10, :o4, 2140045200 + tz.transition 2038, 3, :o5, 59172253, 24 + tz.transition 2038, 10, :o4, 59177461, 24 + tz.transition 2039, 3, :o5, 59180989, 24 + tz.transition 2039, 10, :o4, 59186197, 24 + tz.transition 2040, 3, :o5, 59189725, 24 + tz.transition 2040, 10, :o4, 59194933, 24 + tz.transition 2041, 3, :o5, 59198629, 24 + tz.transition 2041, 10, :o4, 59203669, 24 + tz.transition 2042, 3, :o5, 59207365, 24 + tz.transition 2042, 10, :o4, 59212405, 24 + tz.transition 2043, 3, :o5, 59216101, 24 + tz.transition 2043, 10, :o4, 59221141, 24 + tz.transition 2044, 3, :o5, 59224837, 24 + tz.transition 2044, 10, :o4, 59230045, 24 + tz.transition 2045, 3, :o5, 59233573, 24 + tz.transition 2045, 10, :o4, 59238781, 24 + tz.transition 2046, 3, :o5, 59242309, 24 + tz.transition 2046, 10, :o4, 59247517, 24 + tz.transition 2047, 3, :o5, 59251213, 24 + tz.transition 2047, 10, :o4, 59256253, 24 + tz.transition 2048, 3, :o5, 59259949, 24 + tz.transition 2048, 10, :o4, 59264989, 24 + tz.transition 2049, 3, :o5, 59268685, 24 + tz.transition 2049, 10, :o4, 59273893, 24 + tz.transition 2050, 3, :o5, 59277421, 24 + tz.transition 2050, 10, :o4, 59282629, 24 + end + end + end + end end