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