lib/tzinfo/definitions/America/Antigua.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/America/Antigua.rb in tzinfo-0.1.0
- old
+ new
@@ -3,12 +3,12 @@
module Definitions #:nodoc:
module America #:nodoc:
class Antigua < Timezone #:nodoc:
setup
set_identifier('America/Antigua')
-add_period(TimezonePeriod.new(nil,DateTime.new(1912,3,2,4,7,12),-14832,0,:'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1912,3,2,4,7,12),DateTime.new(1951,1,1,5,0,0),-18000,0,:'EST'))
-add_period(TimezonePeriod.new(DateTime.new(1951,1,1,5,0,0),nil,-14400,0,:'AST'))
+add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(1451678203,600),0,Date::ITALY),-14832,0,:'LMT')}
+add_period(1912,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(1451678203,600),0,Date::ITALY),DateTime.new0(Rational.new!(58407545,24),0,Date::ITALY),-18000,0,:'EST')}
+add_period(1951,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58407545,24),0,Date::ITALY),nil,-14400,0,:'AST')}
end
end
end
end