lib/tzinfo/definitions/Pacific/Kwajalein.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/Pacific/Kwajalein.rb in tzinfo-0.1.0

- old
+ new

@@ -3,13 +3,13 @@ module Definitions #:nodoc: module Pacific #:nodoc: class Kwajalein < Timezone #:nodoc: setup set_identifier('Pacific/Kwajalein') -add_period(TimezonePeriod.new(nil,DateTime.new(1900,12,31,12,50,40),40160,0,:'LMT')) -add_period(TimezonePeriod.new(DateTime.new(1900,12,31,12,50,40),DateTime.new(1969,9,30,13,0,0),39600,0,:'MHT')) -add_period(TimezonePeriod.new(DateTime.new(1969,9,30,13,0,0),DateTime.new(1993,8,20,12,0,0),-43200,0,:'KWAT')) -add_period(TimezonePeriod.new(DateTime.new(1993,8,20,12,0,0),nil,43200,0,:'MHT')) +add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(1304307919,540),0,Date::ITALY),40160,0,:'LMT')} +add_period(1900,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(1304307919,540),0,Date::ITALY),DateTime.new0(Rational.new!(58571881,24),0,Date::ITALY),39600,0,:'MHT')} +add_period(1969,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58571881,24),0,Date::ITALY),DateTime.new0(Rational.new!(2449220,1),0,Date::ITALY),-43200,0,:'KWAT')} +add_period(1993,8) {TimezonePeriod.new(DateTime.new0(Rational.new!(2449220,1),0,Date::ITALY),nil,43200,0,:'MHT')} end end end end