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

- old
+ new

@@ -3,15 +3,15 @@ module Definitions #:nodoc: module Pacific #:nodoc: class Pago_Pago < Timezone #:nodoc: setup set_identifier('Pacific/Pago_Pago') -add_period(TimezonePeriod.new(nil,DateTime.new(1879,7,4,11,22,48),45432,0,:'LMT')) -add_period(TimezonePeriod.new(DateTime.new(1879,7,4,11,22,48),DateTime.new(1911,1,1,11,22,48),-40968,0,:'LMT')) -add_period(TimezonePeriod.new(DateTime.new(1911,1,1,11,22,48),DateTime.new(1950,1,1,11,30,0),-41400,0,:'SAMT')) -add_period(TimezonePeriod.new(DateTime.new(1950,1,1,11,30,0),DateTime.new(1967,4,1,11,0,0),-39600,0,:'NST')) -add_period(TimezonePeriod.new(DateTime.new(1967,4,1,11,0,0),DateTime.new(1983,11,30,11,0,0),-39600,0,:'BST')) -add_period(TimezonePeriod.new(DateTime.new(1983,11,30,11,0,0),nil,-39600,0,:'SST')) +add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(2889041969,1200),0,Date::ITALY),45432,0,:'LMT')} +add_period(1879,7) {TimezonePeriod.new(DateTime.new0(Rational.new!(2889041969,1200),0,Date::ITALY),DateTime.new0(Rational.new!(2902845569,1200),0,Date::ITALY),-40968,0,:'LMT')} +add_period(1911,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(2902845569,1200),0,Date::ITALY),DateTime.new0(Rational.new!(116797583,48),0,Date::ITALY),-41400,0,:'SAMT')} +add_period(1950,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(116797583,48),0,Date::ITALY),DateTime.new0(Rational.new!(58549967,24),0,Date::ITALY),-39600,0,:'NST')} +add_period(1967,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58549967,24),0,Date::ITALY),DateTime.new0(Rational.new!(58696055,24),0,Date::ITALY),-39600,0,:'BST')} +add_period(1983,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(58696055,24),0,Date::ITALY),nil,-39600,0,:'SST')} end end end end