Sha256: 9d3fa2b9c5a3128190089258481a719d06a536b25efaca0f44f5ff40bc41bda9

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Manila < Timezone #:nodoc:
setup
set_identifier('Asia/Manila')
add_period(TimezonePeriod.new(nil,DateTime.new(1844,12,31,15,56,0),-57360,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1844,12,31,15,56,0),DateTime.new(1899,5,10,15,56,0),29040,0,:'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1899,5,10,15,56,0),DateTime.new(1936,10,31,16,0,0),28800,0,:'PHT'))
add_period(TimezonePeriod.new(DateTime.new(1936,10,31,16,0,0),DateTime.new(1937,1,31,15,0,0),28800,3600,:'PHST'))
add_period(TimezonePeriod.new(DateTime.new(1937,1,31,15,0,0),DateTime.new(1942,4,30,16,0,0),28800,0,:'PHT'))
add_period(TimezonePeriod.new(DateTime.new(1942,4,30,16,0,0),DateTime.new(1944,10,31,15,0,0),32400,0,:'JST'))
add_period(TimezonePeriod.new(DateTime.new(1944,10,31,15,0,0),DateTime.new(1954,4,11,16,0,0),28800,0,:'PHT'))
add_period(TimezonePeriod.new(DateTime.new(1954,4,11,16,0,0),DateTime.new(1954,6,30,15,0,0),28800,3600,:'PHST'))
add_period(TimezonePeriod.new(DateTime.new(1954,6,30,15,0,0),DateTime.new(1978,3,21,16,0,0),28800,0,:'PHT'))
add_period(TimezonePeriod.new(DateTime.new(1978,3,21,16,0,0),DateTime.new(1978,9,20,15,0,0),28800,3600,:'PHST'))
add_period(TimezonePeriod.new(DateTime.new(1978,9,20,15,0,0),DateTime.new(2045,9,3,22,27,59),28800,0,:'PHT'))
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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