lib/tzinfo/definitions/America/St_Vincent.rb in tzinfo-0.0.4 vs lib/tzinfo/definitions/America/St_Vincent.rb in tzinfo-0.1.0
- old
+ new
@@ -3,12 +3,12 @@
module Definitions #:nodoc:
module America #:nodoc:
class St_Vincent < Timezone #:nodoc:
setup
set_identifier('America/St_Vincent')
-add_period(TimezonePeriod.new(nil,DateTime.new(1890,1,1,4,4,56),-14696,0,:'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1890,1,1,4,4,56),DateTime.new(1912,1,1,4,4,56),-14696,0,:'KMT'))
-add_period(TimezonePeriod.new(DateTime.new(1912,1,1,4,4,56),nil,-14400,0,:'AST'))
+add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(26042781637,10800),0,Date::ITALY),-14696,0,:'LMT')}
+add_period(1890,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(26042781637,10800),0,Date::ITALY),DateTime.new0(Rational.new!(26129548837,10800),0,Date::ITALY),-14696,0,:'KMT')}
+add_period(1912,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(26129548837,10800),0,Date::ITALY),nil,-14400,0,:'AST')}
end
end
end
end