lib/tzinfo/definitions/Africa/El_Aaiun.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/Africa/El_Aaiun.rb in tzinfo-0.1.0
- old
+ new
@@ -3,12 +3,12 @@
module Definitions #:nodoc:
module Africa #:nodoc:
class El_Aaiun < Timezone #:nodoc:
setup
set_identifier('Africa/El_Aaiun')
-add_period(TimezonePeriod.new(nil,DateTime.new(1934,1,1,0,52,48),-3168,0,:'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1934,1,1,0,52,48),DateTime.new(1976,4,14,1,0,0),-3600,0,:'WAT'))
-add_period(TimezonePeriod.new(DateTime.new(1976,4,14,1,0,0),nil,0,0,:'WET'))
+add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(728231561,300),0,Date::ITALY),-3168,0,:'LMT')}
+add_period(1934,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(728231561,300),0,Date::ITALY),DateTime.new0(Rational.new!(58629181,24),0,Date::ITALY),-3600,0,:'WAT')}
+add_period(1976,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58629181,24),0,Date::ITALY),nil,0,0,:'WET')}
end
end
end
end