Sha256: 09b5ea335065e9320942bdf0389cf0f4450900e068ef2a7aad7b702ebbdeb354

Contents?: true

Size: 784 Bytes

Versions: 3

Compression:

Stored size: 784 Bytes

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Pacific #:nodoc:
class Niue < Timezone #:nodoc:
setup
set_identifier('Pacific/Niue')
add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(10434467399,4320),0,Date::ITALY),-40780,0,:'LMT')}
add_period(1901,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(10434467399,4320),0,Date::ITALY),DateTime.new0(Rational.new!(87611327,36),0,Date::ITALY),-40800,0,:'NUT')}
add_period(1951,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(87611327,36),0,Date::ITALY),DateTime.new0(Rational.new!(117301583,48),0,Date::ITALY),-41400,0,:'NUT')}
add_period(1978,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(117301583,48),0,Date::ITALY),nil,-39600,0,:'NUT')}
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tzinfo-0.1.0 lib/tzinfo/definitions/Pacific/Niue.rb
tzinfo-0.1.1 lib/tzinfo/definitions/Pacific/Niue.rb
tzinfo-0.1.2 lib/tzinfo/definitions/Pacific/Niue.rb