Sha256: 8bb76a7baea6465eb792dd751357fafa52e097924da64a3291b1c967f1a01718

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Kuala_Lumpur < Timezone #:nodoc:
setup
set_identifier('Asia/Kuala_Lumpur')
add_period(TimezonePeriod.new(nil,DateTime.new(1900,12,31,17,13,14),24406,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1900,12,31,17,13,14),DateTime.new(1905,5,31,17,4,35),24925,0,:'SMT'))
add_period(TimezonePeriod.new(DateTime.new(1905,5,31,17,4,35),DateTime.new(1932,12,31,17,0,0),25200,0,:'MALT'))
add_period(TimezonePeriod.new(DateTime.new(1932,12,31,17,0,0),DateTime.new(1935,12,31,16,40,0),25200,1200,:'MALST'))
add_period(TimezonePeriod.new(DateTime.new(1935,12,31,16,40,0),DateTime.new(1941,8,31,16,40,0),26400,0,:'MALT'))
add_period(TimezonePeriod.new(DateTime.new(1941,8,31,16,40,0),DateTime.new(1942,2,15,16,30,0),27000,0,:'MALT'))
add_period(TimezonePeriod.new(DateTime.new(1942,2,15,16,30,0),DateTime.new(1945,9,11,15,0,0),32400,0,:'JST'))
add_period(TimezonePeriod.new(DateTime.new(1945,9,11,15,0,0),DateTime.new(1981,12,31,16,30,0),27000,0,:'MALT'))
add_period(TimezonePeriod.new(DateTime.new(1981,12,31,16,30,0),nil,28800,0,:'MYT'))
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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