lib/tzinfo/definitions/Asia/Dushanbe.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/Asia/Dushanbe.rb in tzinfo-0.1.0

- old
+ new

@@ -3,34 +3,34 @@ module Definitions #:nodoc: module Asia #:nodoc: class Dushanbe < Timezone #:nodoc: setup set_identifier('Asia/Dushanbe') -add_period(TimezonePeriod.new(nil,DateTime.new(1924,5,1,19,24,48),16512,0,:'LMT')) -add_period(TimezonePeriod.new(DateTime.new(1924,5,1,19,24,48),DateTime.new(1930,6,20,19,0,0),18000,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1930,6,20,19,0,0),DateTime.new(1981,3,31,18,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1981,3,31,18,0,0),DateTime.new(1981,9,30,17,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1981,9,30,17,0,0),DateTime.new(1982,3,31,18,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1982,3,31,18,0,0),DateTime.new(1982,9,30,17,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1982,9,30,17,0,0),DateTime.new(1983,3,31,18,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1983,3,31,18,0,0),DateTime.new(1983,9,30,17,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1983,9,30,17,0,0),DateTime.new(1984,3,31,18,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1984,3,31,18,0,0),DateTime.new(1984,9,29,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1984,9,29,20,0,0),DateTime.new(1985,3,30,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1985,3,30,20,0,0),DateTime.new(1985,9,28,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1985,9,28,20,0,0),DateTime.new(1986,3,29,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1986,3,29,20,0,0),DateTime.new(1986,9,27,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1986,9,27,20,0,0),DateTime.new(1987,3,28,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1987,3,28,20,0,0),DateTime.new(1987,9,26,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1987,9,26,20,0,0),DateTime.new(1988,3,26,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1988,3,26,20,0,0),DateTime.new(1988,9,24,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1988,9,24,20,0,0),DateTime.new(1989,3,25,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1989,3,25,20,0,0),DateTime.new(1989,9,23,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1989,9,23,20,0,0),DateTime.new(1990,3,24,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1990,3,24,20,0,0),DateTime.new(1990,9,29,20,0,0),21600,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1990,9,29,20,0,0),DateTime.new(1991,3,30,20,0,0),21600,0,:'DUST')) -add_period(TimezonePeriod.new(DateTime.new(1991,3,30,20,0,0),DateTime.new(1991,9,8,21,0,0),18000,3600,:'DUSST')) -add_period(TimezonePeriod.new(DateTime.new(1991,9,8,21,0,0),nil,18000,0,:'TJT')) +add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(1090758289,450),0,Date::ITALY),16512,0,:'LMT')} +add_period(1924,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(1090758289,450),0,Date::ITALY),DateTime.new0(Rational.new!(58227559,24),0,Date::ITALY),18000,0,:'DUST')} +add_period(1930,6) {TimezonePeriod.new(DateTime.new0(Rational.new!(58227559,24),0,Date::ITALY),DateTime.new0(Rational.new!(9778781,4),0,Date::ITALY),21600,0,:'DUST')} +add_period(1981,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9778781,4),0,Date::ITALY),DateTime.new0(Rational.new!(58677077,24),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1981,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58677077,24),0,Date::ITALY),DateTime.new0(Rational.new!(9780241,4),0,Date::ITALY),21600,0,:'DUST')} +add_period(1982,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9780241,4),0,Date::ITALY),DateTime.new0(Rational.new!(58685837,24),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1982,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58685837,24),0,Date::ITALY),DateTime.new0(Rational.new!(9781701,4),0,Date::ITALY),21600,0,:'DUST')} +add_period(1983,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9781701,4),0,Date::ITALY),DateTime.new0(Rational.new!(58694597,24),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1983,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58694597,24),0,Date::ITALY),DateTime.new0(Rational.new!(9783165,4),0,Date::ITALY),21600,0,:'DUST')} +add_period(1984,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9783165,4),0,Date::ITALY),DateTime.new0(Rational.new!(7337920,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1984,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7337920,3),0,Date::ITALY),DateTime.new0(Rational.new!(7338466,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1985,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7338466,3),0,Date::ITALY),DateTime.new0(Rational.new!(7339012,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1985,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7339012,3),0,Date::ITALY),DateTime.new0(Rational.new!(7339558,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1986,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7339558,3),0,Date::ITALY),DateTime.new0(Rational.new!(7340104,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1986,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7340104,3),0,Date::ITALY),DateTime.new0(Rational.new!(7340650,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1987,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7340650,3),0,Date::ITALY),DateTime.new0(Rational.new!(7341196,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1987,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7341196,3),0,Date::ITALY),DateTime.new0(Rational.new!(7341742,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1988,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7341742,3),0,Date::ITALY),DateTime.new0(Rational.new!(7342288,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1988,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7342288,3),0,Date::ITALY),DateTime.new0(Rational.new!(7342834,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1989,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7342834,3),0,Date::ITALY),DateTime.new0(Rational.new!(7343380,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1989,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7343380,3),0,Date::ITALY),DateTime.new0(Rational.new!(7343926,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1990,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7343926,3),0,Date::ITALY),DateTime.new0(Rational.new!(7344493,3),0,Date::ITALY),21600,3600,:'DUSST')} +add_period(1990,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(7344493,3),0,Date::ITALY),DateTime.new0(Rational.new!(7345039,3),0,Date::ITALY),21600,0,:'DUST')} +add_period(1991,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7345039,3),0,Date::ITALY),DateTime.new0(Rational.new!(19588067,8),0,Date::ITALY),18000,3600,:'DUSST')} +add_period(1991,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(19588067,8),0,Date::ITALY),nil,18000,0,:'TJT')} end end end end