Sha256: 246dc3e9baf0f345ae1bc40486ad30ee85c4d965814a6189ab12c3397fe2e32d

Contents?: true

Size: 1.75 KB

Versions: 6

Compression:

Stored size: 1.75 KB

Contents

# encoding: UTF-8

module TZInfo
  module Definitions
    module Asia
      module Shanghai
        include TimezoneDefinition
        
        timezone 'Asia/Shanghai' do |tz|
          tz.offset :o0, 29143, 0, :LMT
          tz.offset :o1, 28800, 0, :CST
          tz.offset :o2, 28800, 3600, :CDT
          
          tz.transition 1900, 12, :o1, 208689278057, 86400
          tz.transition 1919, 4, :o2, 14532367, 6
          tz.transition 1919, 9, :o1, 19377857, 8
          tz.transition 1940, 5, :o2, 14578687, 6
          tz.transition 1940, 10, :o1, 19439321, 8
          tz.transition 1941, 3, :o2, 14580409, 6
          tz.transition 1941, 11, :o1, 19442401, 8
          tz.transition 1942, 1, :o2, 14582341, 6
          tz.transition 1945, 9, :o1, 19453601, 8
          tz.transition 1946, 5, :o2, 14591731, 6
          tz.transition 1946, 9, :o1, 19456753, 8
          tz.transition 1947, 4, :o2, 14593741, 6
          tz.transition 1947, 10, :o1, 19459921, 8
          tz.transition 1948, 4, :o2, 14596033, 6
          tz.transition 1948, 9, :o1, 19462601, 8
          tz.transition 1949, 4, :o2, 14598223, 6
          tz.transition 1949, 5, :o1, 19464513, 8
          tz.transition 1986, 5, :o2, 515527200
          tz.transition 1986, 9, :o1, 527014800
          tz.transition 1987, 4, :o2, 545162400
          tz.transition 1987, 9, :o1, 558464400
          tz.transition 1988, 4, :o2, 577216800
          tz.transition 1988, 9, :o1, 589914000
          tz.transition 1989, 4, :o2, 608666400
          tz.transition 1989, 9, :o1, 621968400
          tz.transition 1990, 4, :o2, 640116000
          tz.transition 1990, 9, :o1, 653418000
          tz.transition 1991, 4, :o2, 671565600
          tz.transition 1991, 9, :o1, 684867600
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tzinfo-0.3.62 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.61 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.60 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.59 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.58 lib/tzinfo/definitions/Asia/Shanghai.rb
tzinfo-0.3.57 lib/tzinfo/definitions/Asia/Shanghai.rb