Sha256: 1faae46c3f23e11f386a9e9663804deb3990af7c5af9d75f9a3931eb9c8822b0

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Karachi < Timezone #:nodoc:
setup
set_identifier('Asia/Karachi')
add_period(TimezonePeriod.new(nil,DateTime.new(1906,12,31,19,31,48),16092,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1906,12,31,19,31,48),DateTime.new(1942,8,31,18,30,0),19800,0,:'IST'))
add_period(TimezonePeriod.new(DateTime.new(1942,8,31,18,30,0),DateTime.new(1945,10,14,17,30,0),19800,3600,:'IST'))
add_period(TimezonePeriod.new(DateTime.new(1945,10,14,17,30,0),DateTime.new(1951,9,29,18,30,0),19800,0,:'IST'))
add_period(TimezonePeriod.new(DateTime.new(1951,9,29,18,30,0),DateTime.new(1971,3,25,19,0,0),18000,0,:'KART'))
add_period(TimezonePeriod.new(DateTime.new(1971,3,25,19,0,0),DateTime.new(2002,4,6,19,1,0),18000,0,:'PKT'))
add_period(TimezonePeriod.new(DateTime.new(2002,4,6,19,1,0),DateTime.new(2002,10,5,18,1,0),18000,3600,:'PKST'))
add_period(TimezonePeriod.new(DateTime.new(2002,10,5,18,1,0),DateTime.new(2045,9,3,22,39,39),18000,0,:'PKT'))
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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