Sha256: 2c0f16fda9c23cab8dc5ba2065dbcef5daee4109513150ff437561dc24e9ed05

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Australia #:nodoc:
class Darwin < Timezone #:nodoc:
setup
set_identifier('Australia/Darwin')
add_period(TimezonePeriod.new(nil,DateTime.new(1895,1,31,15,16,40),31400,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1895,1,31,15,16,40),DateTime.new(1899,4,30,15,0,0),32400,0,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1899,4,30,15,0,0),DateTime.new(1916,12,31,14,31,0),34200,0,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1916,12,31,14,31,0),DateTime.new(1917,3,24,15,30,0),34200,3600,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1917,3,24,15,30,0),DateTime.new(1941,12,31,16,30,0),34200,0,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1941,12,31,16,30,0),DateTime.new(1942,3,28,15,30,0),34200,3600,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1942,3,28,15,30,0),DateTime.new(1942,9,26,16,30,0),34200,0,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1942,9,26,16,30,0),DateTime.new(1943,3,27,15,30,0),34200,3600,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1943,3,27,15,30,0),DateTime.new(1943,10,2,16,30,0),34200,0,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1943,10,2,16,30,0),DateTime.new(1944,3,25,15,30,0),34200,3600,:'CST'))
add_period(TimezonePeriod.new(DateTime.new(1944,3,25,15,30,0),DateTime.new(2045,9,3,22,28,25),34200,0,:'CST'))
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tzinfo-0.0.2 lib/tzinfo/definitions/Australia/Darwin.rb
tzinfo-0.0.3 lib/tzinfo/definitions/Australia/Darwin.rb
tzinfo-0.0.4 lib/tzinfo/definitions/Australia/Darwin.rb