lib/tzinfo/definitions/Africa/Conakry.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/Africa/Conakry.rb in tzinfo-0.1.0
- old
+ new
@@ -3,13 +3,13 @@
module Definitions #:nodoc:
module Africa #:nodoc:
class Conakry < Timezone #:nodoc:
setup
set_identifier('Africa/Conakry')
-add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,0,54,52),-3292,0,:'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1912,1,1,0,54,52),DateTime.new(1934,2,26,0,0,0),0,0,:'GMT'))
-add_period(TimezonePeriod.new(DateTime.new(1934,2,26,0,0,0),DateTime.new(1960,1,1,1,0,0),-3600,0,:'WAT'))
-add_period(TimezonePeriod.new(DateTime.new(1960,1,1,1,0,0),nil,0,0,:'GMT'))
+add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(52259094823,21600),0,Date::ITALY),-3292,0,:'LMT')}
+add_period(1912,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(52259094823,21600),0,Date::ITALY),DateTime.new0(Rational.new!(4854989,2),0,Date::ITALY),0,0,:'GMT')}
+add_period(1934,2) {TimezonePeriod.new(DateTime.new0(Rational.new!(4854989,2),0,Date::ITALY),DateTime.new0(Rational.new!(58486429,24),0,Date::ITALY),-3600,0,:'WAT')}
+add_period(1960,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58486429,24),0,Date::ITALY),nil,0,0,:'GMT')}
end
end
end
end