Sha256: 3c036ff4f634b011b48317cdd1f45d50c4bd465bdf2ce403413979633072e6e8

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module America #:nodoc:
class Coral_Harbour < Timezone #:nodoc:
setup
set_identifier('America/Coral_Harbour')
add_period(TimezonePeriod.new(nil,DateTime.new(1884,1,1,5,32,40),-19960,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1884,1,1,5,32,40),DateTime.new(1918,4,14,7,0,0),-18000,0,:'ET'))
add_period(TimezonePeriod.new(DateTime.new(1918,4,14,7,0,0),DateTime.new(1918,10,27,6,0,0),-18000,3600,:'EDT'))
add_period(TimezonePeriod.new(DateTime.new(1918,10,27,6,0,0),DateTime.new(1919,5,25,7,0,0),-18000,0,:'EST'))
add_period(TimezonePeriod.new(DateTime.new(1919,5,25,7,0,0),DateTime.new(1919,11,1,4,0,0),-18000,3600,:'EDT'))
add_period(TimezonePeriod.new(DateTime.new(1919,11,1,4,0,0),DateTime.new(1942,2,9,7,0,0),-18000,0,:'EST'))
add_period(TimezonePeriod.new(DateTime.new(1942,2,9,7,0,0),DateTime.new(1945,9,30,6,0,0),-18000,3600,:'EWT'))
add_period(TimezonePeriod.new(DateTime.new(1945,9,30,6,0,0),DateTime.new(1946,1,1,5,0,0),-18000,0,:'EST'))
add_period(TimezonePeriod.new(DateTime.new(1946,1,1,5,0,0),nil,-18000,0,:'EST'))
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tzinfo-0.0.2 lib/tzinfo/definitions/America/Coral_Harbour.rb
tzinfo-0.0.3 lib/tzinfo/definitions/America/Coral_Harbour.rb
tzinfo-0.0.4 lib/tzinfo/definitions/America/Coral_Harbour.rb