lib/tzinfo/definitions/Asia/Aqtau.rb in tzinfo-0.1.2 vs lib/tzinfo/definitions/Asia/Aqtau.rb in tzinfo-0.2.0

- old
+ new

@@ -1,63 +1,62 @@ -require 'tzinfo/timezone' -module TZInfo -module Definitions #:nodoc: -module Asia #:nodoc: -class Aqtau < Timezone #:nodoc: -setup -set_identifier('Asia/Aqtau') -add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(6544549873,2700),0,Date::ITALY),12064,0,:'LMT')} -add_period(1924,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(6544549873,2700),0,Date::ITALY),DateTime.new0(Rational.new!(7278445,3),0,Date::ITALY),14400,0,:'FORT')} -add_period(1930,6) {TimezonePeriod.new(DateTime.new0(Rational.new!(7278445,3),0,Date::ITALY),DateTime.new0(Rational.new!(58512727,24),0,Date::ITALY),18000,0,:'FORT')} -add_period(1962,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58512727,24),0,Date::ITALY),DateTime.new0(Rational.new!(58677079,24),0,Date::ITALY),18000,0,:'SHET')} -add_period(1981,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58677079,24),0,Date::ITALY),DateTime.new0(Rational.new!(9780241,4),0,Date::ITALY),21600,0,:'SHET')} -add_period(1982,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9780241,4),0,Date::ITALY),DateTime.new0(Rational.new!(9780973,4),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1982,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(9780973,4),0,Date::ITALY),DateTime.new0(Rational.new!(58690207,24),0,Date::ITALY),18000,0,:'SHET')} -add_period(1983,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(58690207,24),0,Date::ITALY),DateTime.new0(Rational.new!(9782433,4),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1983,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(9782433,4),0,Date::ITALY),DateTime.new0(Rational.new!(58698991,24),0,Date::ITALY),18000,0,:'SHET')} -add_period(1984,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(58698991,24),0,Date::ITALY),DateTime.new0(Rational.new!(19567787,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1984,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19567787,8),0,Date::ITALY),DateTime.new0(Rational.new!(19569243,8),0,Date::ITALY),18000,0,:'SHET')} -add_period(1985,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19569243,8),0,Date::ITALY),DateTime.new0(Rational.new!(19570699,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1985,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19570699,8),0,Date::ITALY),DateTime.new0(Rational.new!(19572155,8),0,Date::ITALY),18000,0,:'SHET')} -add_period(1986,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19572155,8),0,Date::ITALY),DateTime.new0(Rational.new!(19573611,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1986,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19573611,8),0,Date::ITALY),DateTime.new0(Rational.new!(19575067,8),0,Date::ITALY),18000,0,:'SHET')} -add_period(1987,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19575067,8),0,Date::ITALY),DateTime.new0(Rational.new!(19576523,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1987,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19576523,8),0,Date::ITALY),DateTime.new0(Rational.new!(19577979,8),0,Date::ITALY),18000,0,:'SHET')} -add_period(1988,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19577979,8),0,Date::ITALY),DateTime.new0(Rational.new!(19579435,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1988,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19579435,8),0,Date::ITALY),DateTime.new0(Rational.new!(19580891,8),0,Date::ITALY),18000,0,:'SHET')} -add_period(1989,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19580891,8),0,Date::ITALY),DateTime.new0(Rational.new!(19582347,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1989,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19582347,8),0,Date::ITALY),DateTime.new0(Rational.new!(19583803,8),0,Date::ITALY),18000,0,:'SHET')} -add_period(1990,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19583803,8),0,Date::ITALY),DateTime.new0(Rational.new!(19585315,8),0,Date::ITALY),18000,3600,:'SHEST')} -add_period(1990,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19585315,8),0,Date::ITALY),DateTime.new0(Rational.new!(58758175,24),0,Date::ITALY),18000,0,:'SHET')} -add_period(1990,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58758175,24),0,Date::ITALY),DateTime.new0(Rational.new!(58766551,24),0,Date::ITALY),18000,0,:'SHET')} -add_period(1991,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58766551,24),0,Date::ITALY),DateTime.new0(Rational.new!(9794841,4),0,Date::ITALY),18000,0,:'AQTT')} -add_period(1992,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9794841,4),0,Date::ITALY),DateTime.new0(Rational.new!(58773413,24),0,Date::ITALY),18000,3600,:'AQTST')} -add_period(1992,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58773413,24),0,Date::ITALY),DateTime.new0(Rational.new!(19592595,8),0,Date::ITALY),18000,0,:'AQTT')} -add_period(1993,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19592595,8),0,Date::ITALY),DateTime.new0(Rational.new!(19594051,8),0,Date::ITALY),18000,3600,:'AQTST')} -add_period(1993,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19594051,8),0,Date::ITALY),DateTime.new0(Rational.new!(19595507,8),0,Date::ITALY),18000,0,:'AQTT')} -add_period(1994,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19595507,8),0,Date::ITALY),DateTime.new0(Rational.new!(19596963,8),0,Date::ITALY),18000,3600,:'AQTST')} -add_period(1994,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19596963,8),0,Date::ITALY),DateTime.new0(Rational.new!(19598419,8),0,Date::ITALY),18000,0,:'AQTT')} -add_period(1995,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19598419,8),0,Date::ITALY),DateTime.new0(Rational.new!(29399813,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(1995,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(29399813,12),0,Date::ITALY),DateTime.new0(Rational.new!(29402081,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(1996,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29402081,12),0,Date::ITALY),DateTime.new0(Rational.new!(29404601,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(1996,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29404601,12),0,Date::ITALY),DateTime.new0(Rational.new!(29406449,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(1997,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29406449,12),0,Date::ITALY),DateTime.new0(Rational.new!(29408969,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(1997,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29408969,12),0,Date::ITALY),DateTime.new0(Rational.new!(29410817,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(1998,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29410817,12),0,Date::ITALY),DateTime.new0(Rational.new!(29413337,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(1998,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29413337,12),0,Date::ITALY),DateTime.new0(Rational.new!(29415185,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(1999,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29415185,12),0,Date::ITALY),DateTime.new0(Rational.new!(29417789,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(1999,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29417789,12),0,Date::ITALY),DateTime.new0(Rational.new!(29419553,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(2000,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29419553,12),0,Date::ITALY),DateTime.new0(Rational.new!(29422157,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(2000,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29422157,12),0,Date::ITALY),DateTime.new0(Rational.new!(29423921,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(2001,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29423921,12),0,Date::ITALY),DateTime.new0(Rational.new!(29426525,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(2001,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29426525,12),0,Date::ITALY),DateTime.new0(Rational.new!(29428373,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(2002,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29428373,12),0,Date::ITALY),DateTime.new0(Rational.new!(29430893,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(2002,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29430893,12),0,Date::ITALY),DateTime.new0(Rational.new!(29432741,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(2003,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29432741,12),0,Date::ITALY),DateTime.new0(Rational.new!(29435261,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(2003,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29435261,12),0,Date::ITALY),DateTime.new0(Rational.new!(29437109,12),0,Date::ITALY),14400,0,:'AQTT')} -add_period(2004,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29437109,12),0,Date::ITALY),DateTime.new0(Rational.new!(29439713,12),0,Date::ITALY),14400,3600,:'AQTST')} -add_period(2004,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29439713,12),0,Date::ITALY),DateTime.new0(Rational.new!(7360333,3),0,Date::ITALY),14400,0,:'AQTT')} -add_period(2005,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7360333,3),0,Date::ITALY),nil,18000,0,:'AQTT')} -end -end -end -end +require 'tzinfo/timezone' +module TZInfo +module Definitions #:nodoc: +module Asia #:nodoc: +class Aqtau < Timezone #:nodoc: +setup +set_identifier('Asia/Aqtau') +add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(6544549873,2700),0,Date::ITALY),12064,0,:LMT)} +add_period(1924,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(6544549873,2700),0,Date::ITALY),DateTime.new0(Rational.new!(7278445,3),0,Date::ITALY),14400,0,:FORT)} +add_period(1930,6) {TimezonePeriod.new(DateTime.new0(Rational.new!(7278445,3),0,Date::ITALY),DateTime.new0(Rational.new!(58512727,24),0,Date::ITALY),18000,0,:FORT)} +add_period(1962,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58512727,24),0,Date::ITALY),370724400,18000,0,:SHET)} +add_period(1981,9) {TimezonePeriod.new(370724400,386445600,21600,0,:SHET)} +add_period(1982,3) {TimezonePeriod.new(386445600,402256800,18000,3600,:SHEST)} +add_period(1982,9) {TimezonePeriod.new(402256800,417985200,18000,0,:SHET)} +add_period(1983,3) {TimezonePeriod.new(417985200,433792800,18000,3600,:SHEST)} +add_period(1983,9) {TimezonePeriod.new(433792800,449607600,18000,0,:SHET)} +add_period(1984,3) {TimezonePeriod.new(449607600,465339600,18000,3600,:SHEST)} +add_period(1984,9) {TimezonePeriod.new(465339600,481064400,18000,0,:SHET)} +add_period(1985,3) {TimezonePeriod.new(481064400,496789200,18000,3600,:SHEST)} +add_period(1985,9) {TimezonePeriod.new(496789200,512514000,18000,0,:SHET)} +add_period(1986,3) {TimezonePeriod.new(512514000,528238800,18000,3600,:SHEST)} +add_period(1986,9) {TimezonePeriod.new(528238800,543963600,18000,0,:SHET)} +add_period(1987,3) {TimezonePeriod.new(543963600,559688400,18000,3600,:SHEST)} +add_period(1987,9) {TimezonePeriod.new(559688400,575413200,18000,0,:SHET)} +add_period(1988,3) {TimezonePeriod.new(575413200,591138000,18000,3600,:SHEST)} +add_period(1988,9) {TimezonePeriod.new(591138000,606862800,18000,0,:SHET)} +add_period(1989,3) {TimezonePeriod.new(606862800,622587600,18000,3600,:SHEST)} +add_period(1989,9) {TimezonePeriod.new(622587600,638312400,18000,0,:SHET)} +add_period(1990,3) {TimezonePeriod.new(638312400,654642000,18000,3600,:SHEST)} +add_period(1990,9) {TimezonePeriod.new(654642000,692823600,18000,0,:SHET)} +add_period(1991,12) {TimezonePeriod.new(692823600,701805600,18000,0,:AQTT)} +add_period(1992,3) {TimezonePeriod.new(701805600,717526800,18000,3600,:AQTST)} +add_period(1992,9) {TimezonePeriod.new(717526800,733266000,18000,0,:AQTT)} +add_period(1993,3) {TimezonePeriod.new(733266000,748990800,18000,3600,:AQTST)} +add_period(1993,9) {TimezonePeriod.new(748990800,764715600,18000,0,:AQTT)} +add_period(1994,3) {TimezonePeriod.new(764715600,780440400,18000,3600,:AQTST)} +add_period(1994,9) {TimezonePeriod.new(780440400,796165200,18000,0,:AQTT)} +add_period(1995,3) {TimezonePeriod.new(796165200,811893600,14400,3600,:AQTST)} +add_period(1995,9) {TimezonePeriod.new(811893600,828223200,14400,0,:AQTT)} +add_period(1996,3) {TimezonePeriod.new(828223200,846367200,14400,3600,:AQTST)} +add_period(1996,10) {TimezonePeriod.new(846367200,859672800,14400,0,:AQTT)} +add_period(1997,3) {TimezonePeriod.new(859672800,877816800,14400,3600,:AQTST)} +add_period(1997,10) {TimezonePeriod.new(877816800,891122400,14400,0,:AQTT)} +add_period(1998,3) {TimezonePeriod.new(891122400,909266400,14400,3600,:AQTST)} +add_period(1998,10) {TimezonePeriod.new(909266400,922572000,14400,0,:AQTT)} +add_period(1999,3) {TimezonePeriod.new(922572000,941320800,14400,3600,:AQTST)} +add_period(1999,10) {TimezonePeriod.new(941320800,954021600,14400,0,:AQTT)} +add_period(2000,3) {TimezonePeriod.new(954021600,972770400,14400,3600,:AQTST)} +add_period(2000,10) {TimezonePeriod.new(972770400,985471200,14400,0,:AQTT)} +add_period(2001,3) {TimezonePeriod.new(985471200,1004220000,14400,3600,:AQTST)} +add_period(2001,10) {TimezonePeriod.new(1004220000,1017525600,14400,0,:AQTT)} +add_period(2002,3) {TimezonePeriod.new(1017525600,1035669600,14400,3600,:AQTST)} +add_period(2002,10) {TimezonePeriod.new(1035669600,1048975200,14400,0,:AQTT)} +add_period(2003,3) {TimezonePeriod.new(1048975200,1067119200,14400,3600,:AQTST)} +add_period(2003,10) {TimezonePeriod.new(1067119200,1080424800,14400,0,:AQTT)} +add_period(2004,3) {TimezonePeriod.new(1080424800,1099173600,14400,3600,:AQTST)} +add_period(2004,10) {TimezonePeriod.new(1099173600,1110830400,14400,0,:AQTT)} +add_period(2005,3) {TimezonePeriod.new(1110830400,nil,18000,0,:AQTT)} +end +end +end +end