require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module Asia #:nodoc: class Hong_Kong < Timezone #:nodoc: setup set_identifier('Asia/Hong_Kong') add_period(TimezonePeriod.new(nil,DateTime.new(1904,10,29,16,23,24),27396,0,:'LMT')) add_period(TimezonePeriod.new(DateTime.new(1904,10,29,16,23,24),DateTime.new(1946,4,19,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1946,4,19,19,30,0),DateTime.new(1946,11,30,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1946,11,30,18,30,0),DateTime.new(1947,4,12,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1947,4,12,19,30,0),DateTime.new(1947,12,29,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1947,12,29,18,30,0),DateTime.new(1948,5,1,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1948,5,1,19,30,0),DateTime.new(1948,10,30,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1948,10,30,18,30,0),DateTime.new(1949,4,2,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1949,4,2,19,30,0),DateTime.new(1949,10,29,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1949,10,29,18,30,0),DateTime.new(1950,4,1,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1950,4,1,19,30,0),DateTime.new(1950,10,28,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1950,10,28,18,30,0),DateTime.new(1951,3,31,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1951,3,31,19,30,0),DateTime.new(1951,10,27,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1951,10,27,18,30,0),DateTime.new(1952,4,5,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1952,4,5,19,30,0),DateTime.new(1952,10,25,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1952,10,25,18,30,0),DateTime.new(1953,4,4,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1953,4,4,19,30,0),DateTime.new(1953,10,31,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1953,10,31,18,30,0),DateTime.new(1954,3,20,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1954,3,20,19,30,0),DateTime.new(1954,10,30,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1954,10,30,18,30,0),DateTime.new(1955,3,19,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1955,3,19,19,30,0),DateTime.new(1955,11,5,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1955,11,5,18,30,0),DateTime.new(1956,3,17,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1956,3,17,19,30,0),DateTime.new(1956,11,3,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1956,11,3,18,30,0),DateTime.new(1957,3,23,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1957,3,23,19,30,0),DateTime.new(1957,11,2,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1957,11,2,18,30,0),DateTime.new(1958,3,22,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1958,3,22,19,30,0),DateTime.new(1958,11,1,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1958,11,1,18,30,0),DateTime.new(1959,3,21,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1959,3,21,19,30,0),DateTime.new(1959,10,31,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1959,10,31,18,30,0),DateTime.new(1960,3,19,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1960,3,19,19,30,0),DateTime.new(1960,11,5,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1960,11,5,18,30,0),DateTime.new(1961,3,18,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1961,3,18,19,30,0),DateTime.new(1961,11,4,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1961,11,4,18,30,0),DateTime.new(1962,3,17,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1962,3,17,19,30,0),DateTime.new(1962,11,3,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1962,11,3,18,30,0),DateTime.new(1963,3,23,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1963,3,23,19,30,0),DateTime.new(1963,11,2,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1963,11,2,18,30,0),DateTime.new(1964,3,21,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1964,3,21,19,30,0),DateTime.new(1964,10,31,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1964,10,31,18,30,0),DateTime.new(1965,4,17,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1965,4,17,19,30,0),DateTime.new(1965,10,16,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1965,10,16,18,30,0),DateTime.new(1966,4,16,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1966,4,16,19,30,0),DateTime.new(1966,10,15,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1966,10,15,18,30,0),DateTime.new(1967,4,15,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1967,4,15,19,30,0),DateTime.new(1967,10,21,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1967,10,21,18,30,0),DateTime.new(1968,4,20,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1968,4,20,19,30,0),DateTime.new(1968,10,19,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1968,10,19,18,30,0),DateTime.new(1969,4,19,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1969,4,19,19,30,0),DateTime.new(1969,10,18,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1969,10,18,18,30,0),DateTime.new(1970,4,18,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1970,4,18,19,30,0),DateTime.new(1970,10,17,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1970,10,17,18,30,0),DateTime.new(1971,4,17,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1971,4,17,19,30,0),DateTime.new(1971,10,16,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1971,10,16,18,30,0),DateTime.new(1972,4,15,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1972,4,15,19,30,0),DateTime.new(1972,10,21,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1972,10,21,18,30,0),DateTime.new(1973,4,21,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1973,4,21,19,30,0),DateTime.new(1973,10,20,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1973,10,20,18,30,0),DateTime.new(1974,4,20,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1974,4,20,19,30,0),DateTime.new(1974,10,19,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1974,10,19,18,30,0),DateTime.new(1975,4,19,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1975,4,19,19,30,0),DateTime.new(1975,10,18,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1975,10,18,18,30,0),DateTime.new(1976,4,17,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1976,4,17,19,30,0),DateTime.new(1976,10,16,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1976,10,16,18,30,0),DateTime.new(1977,4,16,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1977,4,16,19,30,0),DateTime.new(1977,10,15,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1977,10,15,18,30,0),DateTime.new(1979,5,12,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1979,5,12,19,30,0),DateTime.new(1979,10,20,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1979,10,20,18,30,0),DateTime.new(1980,5,10,19,30,0),28800,0,:'HKT')) add_period(TimezonePeriod.new(DateTime.new(1980,5,10,19,30,0),DateTime.new(1980,10,18,18,30,0),28800,3600,:'HKST')) add_period(TimezonePeriod.new(DateTime.new(1980,10,18,18,30,0),DateTime.new(2045,9,3,22,39,29),28800,0,:'HKT')) end end end end