Sha256: f6ccdd73225223b691cc40ecd8b6a587d84c7369c8f58a825dd47fbc2c94503e

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Jakarta < Timezone #:nodoc:
setup
set_identifier('Asia/Jakarta')
add_period(TimezonePeriod.new(nil,DateTime.new(1867,8,9,16,52,48),25632,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1867,8,9,16,52,48),DateTime.new(1923,12,31,16,40,0),25632,0,:'JMT'))
add_period(TimezonePeriod.new(DateTime.new(1923,12,31,16,40,0),DateTime.new(1932,10,31,16,40,0),26400,0,:'JAVT'))
add_period(TimezonePeriod.new(DateTime.new(1932,10,31,16,40,0),DateTime.new(1942,3,22,16,30,0),27000,0,:'WIT'))
add_period(TimezonePeriod.new(DateTime.new(1942,3,22,16,30,0),DateTime.new(1945,7,31,15,0,0),32400,0,:'JST'))
add_period(TimezonePeriod.new(DateTime.new(1945,7,31,15,0,0),DateTime.new(1948,4,30,16,30,0),27000,0,:'WIT'))
add_period(TimezonePeriod.new(DateTime.new(1948,4,30,16,30,0),DateTime.new(1950,4,30,16,0,0),28800,0,:'WIT'))
add_period(TimezonePeriod.new(DateTime.new(1950,4,30,16,0,0),DateTime.new(1963,12,31,16,30,0),27000,0,:'WIT'))
add_period(TimezonePeriod.new(DateTime.new(1963,12,31,16,30,0),nil,25200,0,:'WIT'))
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tzinfo-0.0.2 lib/tzinfo/definitions/Asia/Jakarta.rb
tzinfo-0.0.3 lib/tzinfo/definitions/Asia/Jakarta.rb
tzinfo-0.0.4 lib/tzinfo/definitions/Asia/Jakarta.rb