Sha256: b21477d4544a5528635fc3d449b5427167408e94ae9b7036fd4c09e3167ba574

Contents?: true

Size: 1.17 KB

Versions: 213

Compression:

Stored size: 1.17 KB

Contents

require 'tzinfo/timezone_definition'

module TZInfo
  module Definitions
    module Asia
      module Shanghai
        include TimezoneDefinition
        
        timezone 'Asia/Shanghai' do |tz|
          tz.offset :o0, 29152, 0, :LMT
          tz.offset :o1, 28800, 0, :CST
          tz.offset :o2, 28800, 3600, :CDT
          
          tz.transition 1927, 12, :o1, 6548164639, 2700
          tz.transition 1940, 6, :o2, 14578699, 6
          tz.transition 1940, 9, :o1, 19439225, 8
          tz.transition 1941, 3, :o2, 14580415, 6
          tz.transition 1941, 9, :o1, 19442145, 8
          tz.transition 1986, 5, :o2, 515520000
          tz.transition 1986, 9, :o1, 527007600
          tz.transition 1987, 4, :o2, 545155200
          tz.transition 1987, 9, :o1, 558457200
          tz.transition 1988, 4, :o2, 576604800
          tz.transition 1988, 9, :o1, 589906800
          tz.transition 1989, 4, :o2, 608659200
          tz.transition 1989, 9, :o1, 621961200
          tz.transition 1990, 4, :o2, 640108800
          tz.transition 1990, 9, :o1, 653410800
          tz.transition 1991, 4, :o2, 671558400
          tz.transition 1991, 9, :o1, 684860400
        end
      end
    end
  end
end

Version data entries

213 entries across 179 versions & 26 rubygems

Version Path
tzinfo-0.3.10 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.11 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.12 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.13 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.0 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.6 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.5 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.4 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.3 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.2 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.8 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.9 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.7 lib/tzinfo/definitions/Asia/Shanghai.rb