1 require 'tzinfo/timezone_definition'
7 include TimezoneDefinition
9 timezone 'Asia/Hong_Kong' do |tz|
10 tz.offset :o0, 27396, 0, :LMT
11 tz.offset :o1, 28800, 0, :HKT
12 tz.offset :o2, 28800, 3600, :HKST
14 tz.transition 1904, 10, :o1, 5800279639, 2400
15 tz.transition 1946, 4, :o2, 38910885, 16
16 tz.transition 1946, 11, :o1, 116743453, 48
17 tz.transition 1947, 4, :o2, 38916613, 16
18 tz.transition 1947, 12, :o1, 116762365, 48
19 tz.transition 1948, 5, :o2, 38922773, 16
20 tz.transition 1948, 10, :o1, 116777053, 48
21 tz.transition 1949, 4, :o2, 38928149, 16
22 tz.transition 1949, 10, :o1, 116794525, 48
23 tz.transition 1950, 4, :o2, 38933973, 16
24 tz.transition 1950, 10, :o1, 116811997, 48
25 tz.transition 1951, 3, :o2, 38939797, 16
26 tz.transition 1951, 10, :o1, 116829469, 48
27 tz.transition 1952, 4, :o2, 38945733, 16
28 tz.transition 1952, 10, :o1, 116846941, 48
29 tz.transition 1953, 4, :o2, 38951557, 16
30 tz.transition 1953, 10, :o1, 116864749, 48
31 tz.transition 1954, 3, :o2, 38957157, 16
32 tz.transition 1954, 10, :o1, 116882221, 48
33 tz.transition 1955, 3, :o2, 38962981, 16
34 tz.transition 1955, 11, :o1, 116900029, 48
35 tz.transition 1956, 3, :o2, 38968805, 16
36 tz.transition 1956, 11, :o1, 116917501, 48
37 tz.transition 1957, 3, :o2, 38974741, 16
38 tz.transition 1957, 11, :o1, 116934973, 48
39 tz.transition 1958, 3, :o2, 38980565, 16
40 tz.transition 1958, 11, :o1, 116952445, 48
41 tz.transition 1959, 3, :o2, 38986389, 16
42 tz.transition 1959, 10, :o1, 116969917, 48
43 tz.transition 1960, 3, :o2, 38992213, 16
44 tz.transition 1960, 11, :o1, 116987725, 48
45 tz.transition 1961, 3, :o2, 38998037, 16
46 tz.transition 1961, 11, :o1, 117005197, 48
47 tz.transition 1962, 3, :o2, 39003861, 16
48 tz.transition 1962, 11, :o1, 117022669, 48
49 tz.transition 1963, 3, :o2, 39009797, 16
50 tz.transition 1963, 11, :o1, 117040141, 48
51 tz.transition 1964, 3, :o2, 39015621, 16
52 tz.transition 1964, 10, :o1, 117057613, 48
53 tz.transition 1965, 4, :o2, 39021893, 16
54 tz.transition 1965, 10, :o1, 117074413, 48
55 tz.transition 1966, 4, :o2, 39027717, 16
56 tz.transition 1966, 10, :o1, 117091885, 48
57 tz.transition 1967, 4, :o2, 39033541, 16
58 tz.transition 1967, 10, :o1, 117109693, 48
59 tz.transition 1968, 4, :o2, 39039477, 16
60 tz.transition 1968, 10, :o1, 117127165, 48
61 tz.transition 1969, 4, :o2, 39045301, 16
62 tz.transition 1969, 10, :o1, 117144637, 48
63 tz.transition 1970, 4, :o2, 9315000
64 tz.transition 1970, 10, :o1, 25036200
65 tz.transition 1971, 4, :o2, 40764600
66 tz.transition 1971, 10, :o1, 56485800
67 tz.transition 1972, 4, :o2, 72214200
68 tz.transition 1972, 10, :o1, 88540200
69 tz.transition 1973, 4, :o2, 104268600
70 tz.transition 1973, 10, :o1, 119989800
71 tz.transition 1974, 4, :o2, 135718200
72 tz.transition 1974, 10, :o1, 151439400
73 tz.transition 1975, 4, :o2, 167167800
74 tz.transition 1975, 10, :o1, 182889000
75 tz.transition 1976, 4, :o2, 198617400
76 tz.transition 1976, 10, :o1, 214338600
77 tz.transition 1977, 4, :o2, 230067000
78 tz.transition 1977, 10, :o1, 245788200
79 tz.transition 1979, 5, :o2, 295385400
80 tz.transition 1979, 10, :o1, 309292200
81 tz.transition 1980, 5, :o2, 326835000
82 tz.transition 1980, 10, :o1, 340741800