lib/tzinfo/definitions/Africa/Monrovia.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/Africa/Monrovia.rb in tzinfo-0.1.0
- old
+ new
@@ -3,13 +3,13 @@
module Definitions #:nodoc:
module Africa #:nodoc:
class Monrovia < Timezone #:nodoc:
setup
set_identifier('Africa/Monrovia')
-add_period(TimezonePeriod.new(nil,DateTime.new(1882,1,1,0,43,8),-2588,0,:'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1882,1,1,0,43,8),DateTime.new(1919,3,1,0,43,8),-2588,0,:'MMT'))
-add_period(TimezonePeriod.new(DateTime.new(1919,3,1,0,43,8),DateTime.new(1972,5,1,0,44,30),-2670,0,:'LRT'))
-add_period(TimezonePeriod.new(DateTime.new(1972,5,1,0,44,30),nil,0,0,:'GMT'))
+add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(52022445047,21600),0,Date::ITALY),-2588,0,:'LMT')}
+add_period(1882,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(52022445047,21600),0,Date::ITALY),DateTime.new0(Rational.new!(52315600247,21600),0,Date::ITALY),-2588,0,:'MMT')}
+add_period(1919,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(52315600247,21600),0,Date::ITALY),DateTime.new0(Rational.new!(7031342969,2880),0,Date::ITALY),-2670,0,:'LRT')}
+add_period(1972,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(7031342969,2880),0,Date::ITALY),nil,0,0,:'GMT')}
end
end
end
end