time_crisis 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/time_crisis.rb +5 -12
  3. data/lib/time_crisis/ext.rb +60 -0
  4. data/lib/time_crisis/support/conversions.rb +4 -0
  5. data/lib/time_crisis/tzinfo.rb +3 -0
  6. data/lib/time_crisis/tzinfo/LICENSE +21 -0
  7. data/lib/time_crisis/tzinfo/data_timezone.rb +27 -0
  8. data/lib/time_crisis/tzinfo/data_timezone_info.rb +208 -0
  9. data/lib/time_crisis/tzinfo/definitions/Africa/Algiers.rb +55 -0
  10. data/lib/time_crisis/tzinfo/definitions/Africa/Cairo.rb +219 -0
  11. data/lib/time_crisis/tzinfo/definitions/Africa/Casablanca.rb +42 -0
  12. data/lib/time_crisis/tzinfo/definitions/Africa/Harare.rb +18 -0
  13. data/lib/time_crisis/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
  14. data/lib/time_crisis/tzinfo/definitions/Africa/Monrovia.rb +22 -0
  15. data/lib/time_crisis/tzinfo/definitions/Africa/Nairobi.rb +23 -0
  16. data/lib/time_crisis/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +84 -0
  17. data/lib/time_crisis/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
  18. data/lib/time_crisis/tzinfo/definitions/America/Bogota.rb +23 -0
  19. data/lib/time_crisis/tzinfo/definitions/America/Caracas.rb +23 -0
  20. data/lib/time_crisis/tzinfo/definitions/America/Chicago.rb +283 -0
  21. data/lib/time_crisis/tzinfo/definitions/America/Chihuahua.rb +136 -0
  22. data/lib/time_crisis/tzinfo/definitions/America/Denver.rb +204 -0
  23. data/lib/time_crisis/tzinfo/definitions/America/Godthab.rb +161 -0
  24. data/lib/time_crisis/tzinfo/definitions/America/Guatemala.rb +27 -0
  25. data/lib/time_crisis/tzinfo/definitions/America/Halifax.rb +274 -0
  26. data/lib/time_crisis/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
  27. data/lib/time_crisis/tzinfo/definitions/America/Juneau.rb +194 -0
  28. data/lib/time_crisis/tzinfo/definitions/America/La_Paz.rb +22 -0
  29. data/lib/time_crisis/tzinfo/definitions/America/Lima.rb +35 -0
  30. data/lib/time_crisis/tzinfo/definitions/America/Los_Angeles.rb +232 -0
  31. data/lib/time_crisis/tzinfo/definitions/America/Mazatlan.rb +139 -0
  32. data/lib/time_crisis/tzinfo/definitions/America/Mexico_City.rb +144 -0
  33. data/lib/time_crisis/tzinfo/definitions/America/Monterrey.rb +131 -0
  34. data/lib/time_crisis/tzinfo/definitions/America/New_York.rb +282 -0
  35. data/lib/time_crisis/tzinfo/definitions/America/Phoenix.rb +30 -0
  36. data/lib/time_crisis/tzinfo/definitions/America/Regina.rb +74 -0
  37. data/lib/time_crisis/tzinfo/definitions/America/Santiago.rb +205 -0
  38. data/lib/time_crisis/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
  39. data/lib/time_crisis/tzinfo/definitions/America/St_Johns.rb +288 -0
  40. data/lib/time_crisis/tzinfo/definitions/America/Tijuana.rb +196 -0
  41. data/lib/time_crisis/tzinfo/definitions/Asia/Almaty.rb +67 -0
  42. data/lib/time_crisis/tzinfo/definitions/Asia/Baghdad.rb +73 -0
  43. data/lib/time_crisis/tzinfo/definitions/Asia/Baku.rb +161 -0
  44. data/lib/time_crisis/tzinfo/definitions/Asia/Bangkok.rb +20 -0
  45. data/lib/time_crisis/tzinfo/definitions/Asia/Chongqing.rb +33 -0
  46. data/lib/time_crisis/tzinfo/definitions/Asia/Colombo.rb +30 -0
  47. data/lib/time_crisis/tzinfo/definitions/Asia/Dhaka.rb +29 -0
  48. data/lib/time_crisis/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
  49. data/lib/time_crisis/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
  50. data/lib/time_crisis/tzinfo/definitions/Asia/Jakarta.rb +30 -0
  51. data/lib/time_crisis/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
  52. data/lib/time_crisis/tzinfo/definitions/Asia/Kabul.rb +20 -0
  53. data/lib/time_crisis/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
  54. data/lib/time_crisis/tzinfo/definitions/Asia/Karachi.rb +114 -0
  55. data/lib/time_crisis/tzinfo/definitions/Asia/Kathmandu.rb +20 -0
  56. data/lib/time_crisis/tzinfo/definitions/Asia/Kolkata.rb +25 -0
  57. data/lib/time_crisis/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
  58. data/lib/time_crisis/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
  59. data/lib/time_crisis/tzinfo/definitions/Asia/Kuwait.rb +18 -0
  60. data/lib/time_crisis/tzinfo/definitions/Asia/Magadan.rb +163 -0
  61. data/lib/time_crisis/tzinfo/definitions/Asia/Muscat.rb +18 -0
  62. data/lib/time_crisis/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
  63. data/lib/time_crisis/tzinfo/definitions/Asia/Rangoon.rb +24 -0
  64. data/lib/time_crisis/tzinfo/definitions/Asia/Riyadh.rb +18 -0
  65. data/lib/time_crisis/tzinfo/definitions/Asia/Seoul.rb +34 -0
  66. data/lib/time_crisis/tzinfo/definitions/Asia/Shanghai.rb +35 -0
  67. data/lib/time_crisis/tzinfo/definitions/Asia/Singapore.rb +33 -0
  68. data/lib/time_crisis/tzinfo/definitions/Asia/Taipei.rb +59 -0
  69. data/lib/time_crisis/tzinfo/definitions/Asia/Tashkent.rb +47 -0
  70. data/lib/time_crisis/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
  71. data/lib/time_crisis/tzinfo/definitions/Asia/Tehran.rb +121 -0
  72. data/lib/time_crisis/tzinfo/definitions/Asia/Tokyo.rb +30 -0
  73. data/lib/time_crisis/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
  74. data/lib/time_crisis/tzinfo/definitions/Asia/Urumqi.rb +33 -0
  75. data/lib/time_crisis/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
  76. data/lib/time_crisis/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
  77. data/lib/time_crisis/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
  78. data/lib/time_crisis/tzinfo/definitions/Asia/Yerevan.rb +165 -0
  79. data/lib/time_crisis/tzinfo/definitions/Atlantic/Azores.rb +270 -0
  80. data/lib/time_crisis/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
  81. data/lib/time_crisis/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
  82. data/lib/time_crisis/tzinfo/definitions/Australia/Adelaide.rb +187 -0
  83. data/lib/time_crisis/tzinfo/definitions/Australia/Brisbane.rb +35 -0
  84. data/lib/time_crisis/tzinfo/definitions/Australia/Darwin.rb +29 -0
  85. data/lib/time_crisis/tzinfo/definitions/Australia/Hobart.rb +193 -0
  86. data/lib/time_crisis/tzinfo/definitions/Australia/Melbourne.rb +185 -0
  87. data/lib/time_crisis/tzinfo/definitions/Australia/Perth.rb +37 -0
  88. data/lib/time_crisis/tzinfo/definitions/Australia/Sydney.rb +185 -0
  89. data/lib/time_crisis/tzinfo/definitions/Etc/UTC.rb +16 -0
  90. data/lib/time_crisis/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
  91. data/lib/time_crisis/tzinfo/definitions/Europe/Athens.rb +185 -0
  92. data/lib/time_crisis/tzinfo/definitions/Europe/Belgrade.rb +163 -0
  93. data/lib/time_crisis/tzinfo/definitions/Europe/Berlin.rb +188 -0
  94. data/lib/time_crisis/tzinfo/definitions/Europe/Bratislava.rb +13 -0
  95. data/lib/time_crisis/tzinfo/definitions/Europe/Brussels.rb +232 -0
  96. data/lib/time_crisis/tzinfo/definitions/Europe/Bucharest.rb +181 -0
  97. data/lib/time_crisis/tzinfo/definitions/Europe/Budapest.rb +197 -0
  98. data/lib/time_crisis/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
  99. data/lib/time_crisis/tzinfo/definitions/Europe/Dublin.rb +276 -0
  100. data/lib/time_crisis/tzinfo/definitions/Europe/Helsinki.rb +163 -0
  101. data/lib/time_crisis/tzinfo/definitions/Europe/Istanbul.rb +218 -0
  102. data/lib/time_crisis/tzinfo/definitions/Europe/Kiev.rb +168 -0
  103. data/lib/time_crisis/tzinfo/definitions/Europe/Lisbon.rb +268 -0
  104. data/lib/time_crisis/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
  105. data/lib/time_crisis/tzinfo/definitions/Europe/London.rb +288 -0
  106. data/lib/time_crisis/tzinfo/definitions/Europe/Madrid.rb +211 -0
  107. data/lib/time_crisis/tzinfo/definitions/Europe/Minsk.rb +170 -0
  108. data/lib/time_crisis/tzinfo/definitions/Europe/Moscow.rb +181 -0
  109. data/lib/time_crisis/tzinfo/definitions/Europe/Paris.rb +232 -0
  110. data/lib/time_crisis/tzinfo/definitions/Europe/Prague.rb +187 -0
  111. data/lib/time_crisis/tzinfo/definitions/Europe/Riga.rb +176 -0
  112. data/lib/time_crisis/tzinfo/definitions/Europe/Rome.rb +215 -0
  113. data/lib/time_crisis/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
  114. data/lib/time_crisis/tzinfo/definitions/Europe/Skopje.rb +13 -0
  115. data/lib/time_crisis/tzinfo/definitions/Europe/Sofia.rb +173 -0
  116. data/lib/time_crisis/tzinfo/definitions/Europe/Stockholm.rb +165 -0
  117. data/lib/time_crisis/tzinfo/definitions/Europe/Tallinn.rb +172 -0
  118. data/lib/time_crisis/tzinfo/definitions/Europe/Vienna.rb +183 -0
  119. data/lib/time_crisis/tzinfo/definitions/Europe/Vilnius.rb +170 -0
  120. data/lib/time_crisis/tzinfo/definitions/Europe/Warsaw.rb +212 -0
  121. data/lib/time_crisis/tzinfo/definitions/Europe/Zagreb.rb +13 -0
  122. data/lib/time_crisis/tzinfo/definitions/Pacific/Auckland.rb +202 -0
  123. data/lib/time_crisis/tzinfo/definitions/Pacific/Fiji.rb +23 -0
  124. data/lib/time_crisis/tzinfo/definitions/Pacific/Guam.rb +22 -0
  125. data/lib/time_crisis/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
  126. data/lib/time_crisis/tzinfo/definitions/Pacific/Majuro.rb +20 -0
  127. data/lib/time_crisis/tzinfo/definitions/Pacific/Midway.rb +25 -0
  128. data/lib/time_crisis/tzinfo/definitions/Pacific/Noumea.rb +25 -0
  129. data/lib/time_crisis/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
  130. data/lib/time_crisis/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
  131. data/lib/time_crisis/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
  132. data/lib/time_crisis/tzinfo/info_timezone.rb +32 -0
  133. data/lib/time_crisis/tzinfo/linked_timezone.rb +32 -0
  134. data/lib/time_crisis/tzinfo/linked_timezone_info.rb +24 -0
  135. data/lib/time_crisis/tzinfo/offset_rationals.rb +79 -0
  136. data/lib/time_crisis/tzinfo/ruby_core_support.rb +33 -0
  137. data/lib/time_crisis/tzinfo/time_or_datetime.rb +309 -0
  138. data/lib/time_crisis/tzinfo/timezone.rb +486 -0
  139. data/lib/time_crisis/tzinfo/timezone_definition.rb +36 -0
  140. data/lib/time_crisis/tzinfo/timezone_info.rb +20 -0
  141. data/lib/time_crisis/tzinfo/timezone_offset_info.rb +75 -0
  142. data/lib/time_crisis/tzinfo/timezone_period.rb +179 -0
  143. data/lib/time_crisis/tzinfo/timezone_transition_info.rb +109 -0
  144. data/time_crisis.gemspec +142 -2
  145. metadata +142 -2
@@ -0,0 +1,27 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Guatemala
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Guatemala' do |tz|
10
+ tz.offset :o0, -21724, 0, :LMT
11
+ tz.offset :o1, -21600, 0, :CST
12
+ tz.offset :o2, -21600, 3600, :CDT
13
+
14
+ tz.transition 1918, 10, :o1, 52312429831, 21600
15
+ tz.transition 1973, 11, :o2, 123055200
16
+ tz.transition 1974, 2, :o1, 130914000
17
+ tz.transition 1983, 5, :o2, 422344800
18
+ tz.transition 1983, 9, :o1, 433054800
19
+ tz.transition 1991, 3, :o2, 669708000
20
+ tz.transition 1991, 9, :o1, 684219600
21
+ tz.transition 2006, 4, :o2, 1146376800
22
+ tz.transition 2006, 10, :o1, 1159678800
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,274 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Halifax
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Halifax' do |tz|
10
+ tz.offset :o0, -15264, 0, :LMT
11
+ tz.offset :o1, -14400, 0, :AST
12
+ tz.offset :o2, -14400, 3600, :ADT
13
+ tz.offset :o3, -14400, 3600, :AWT
14
+ tz.offset :o4, -14400, 3600, :APT
15
+
16
+ tz.transition 1902, 6, :o1, 724774703, 300
17
+ tz.transition 1916, 4, :o2, 7262864, 3
18
+ tz.transition 1916, 10, :o1, 19369101, 8
19
+ tz.transition 1918, 4, :o2, 9686791, 4
20
+ tz.transition 1918, 10, :o1, 58125545, 24
21
+ tz.transition 1920, 5, :o2, 7267361, 3
22
+ tz.transition 1920, 8, :o1, 19380525, 8
23
+ tz.transition 1921, 5, :o2, 7268447, 3
24
+ tz.transition 1921, 9, :o1, 19383501, 8
25
+ tz.transition 1922, 4, :o2, 7269524, 3
26
+ tz.transition 1922, 9, :o1, 19386421, 8
27
+ tz.transition 1923, 5, :o2, 7270637, 3
28
+ tz.transition 1923, 9, :o1, 19389333, 8
29
+ tz.transition 1924, 5, :o2, 7271729, 3
30
+ tz.transition 1924, 9, :o1, 19392349, 8
31
+ tz.transition 1925, 5, :o2, 7272821, 3
32
+ tz.transition 1925, 9, :o1, 19395373, 8
33
+ tz.transition 1926, 5, :o2, 7273955, 3
34
+ tz.transition 1926, 9, :o1, 19398173, 8
35
+ tz.transition 1927, 5, :o2, 7275005, 3
36
+ tz.transition 1927, 9, :o1, 19401197, 8
37
+ tz.transition 1928, 5, :o2, 7276139, 3
38
+ tz.transition 1928, 9, :o1, 19403989, 8
39
+ tz.transition 1929, 5, :o2, 7277231, 3
40
+ tz.transition 1929, 9, :o1, 19406861, 8
41
+ tz.transition 1930, 5, :o2, 7278323, 3
42
+ tz.transition 1930, 9, :o1, 19409877, 8
43
+ tz.transition 1931, 5, :o2, 7279415, 3
44
+ tz.transition 1931, 9, :o1, 19412901, 8
45
+ tz.transition 1932, 5, :o2, 7280486, 3
46
+ tz.transition 1932, 9, :o1, 19415813, 8
47
+ tz.transition 1933, 4, :o2, 7281578, 3
48
+ tz.transition 1933, 10, :o1, 19418781, 8
49
+ tz.transition 1934, 5, :o2, 7282733, 3
50
+ tz.transition 1934, 9, :o1, 19421573, 8
51
+ tz.transition 1935, 6, :o2, 7283867, 3
52
+ tz.transition 1935, 9, :o1, 19424605, 8
53
+ tz.transition 1936, 6, :o2, 7284962, 3
54
+ tz.transition 1936, 9, :o1, 19427405, 8
55
+ tz.transition 1937, 5, :o2, 7285967, 3
56
+ tz.transition 1937, 9, :o1, 19430429, 8
57
+ tz.transition 1938, 5, :o2, 7287059, 3
58
+ tz.transition 1938, 9, :o1, 19433341, 8
59
+ tz.transition 1939, 5, :o2, 7288235, 3
60
+ tz.transition 1939, 9, :o1, 19436253, 8
61
+ tz.transition 1940, 5, :o2, 7289264, 3
62
+ tz.transition 1940, 9, :o1, 19439221, 8
63
+ tz.transition 1941, 5, :o2, 7290356, 3
64
+ tz.transition 1941, 9, :o1, 19442133, 8
65
+ tz.transition 1942, 2, :o3, 9721599, 4
66
+ tz.transition 1945, 8, :o4, 58360379, 24
67
+ tz.transition 1945, 9, :o1, 58361489, 24
68
+ tz.transition 1946, 4, :o2, 9727755, 4
69
+ tz.transition 1946, 9, :o1, 58370225, 24
70
+ tz.transition 1947, 4, :o2, 9729211, 4
71
+ tz.transition 1947, 9, :o1, 58378961, 24
72
+ tz.transition 1948, 4, :o2, 9730667, 4
73
+ tz.transition 1948, 9, :o1, 58387697, 24
74
+ tz.transition 1949, 4, :o2, 9732123, 4
75
+ tz.transition 1949, 9, :o1, 58396433, 24
76
+ tz.transition 1951, 4, :o2, 9735063, 4
77
+ tz.transition 1951, 9, :o1, 58414073, 24
78
+ tz.transition 1952, 4, :o2, 9736519, 4
79
+ tz.transition 1952, 9, :o1, 58422809, 24
80
+ tz.transition 1953, 4, :o2, 9737975, 4
81
+ tz.transition 1953, 9, :o1, 58431545, 24
82
+ tz.transition 1954, 4, :o2, 9739431, 4
83
+ tz.transition 1954, 9, :o1, 58440281, 24
84
+ tz.transition 1956, 4, :o2, 9742371, 4
85
+ tz.transition 1956, 9, :o1, 58457921, 24
86
+ tz.transition 1957, 4, :o2, 9743827, 4
87
+ tz.transition 1957, 9, :o1, 58466657, 24
88
+ tz.transition 1958, 4, :o2, 9745283, 4
89
+ tz.transition 1958, 9, :o1, 58475393, 24
90
+ tz.transition 1959, 4, :o2, 9746739, 4
91
+ tz.transition 1959, 9, :o1, 58484129, 24
92
+ tz.transition 1962, 4, :o2, 9751135, 4
93
+ tz.transition 1962, 10, :o1, 58511177, 24
94
+ tz.transition 1963, 4, :o2, 9752591, 4
95
+ tz.transition 1963, 10, :o1, 58519913, 24
96
+ tz.transition 1964, 4, :o2, 9754047, 4
97
+ tz.transition 1964, 10, :o1, 58528649, 24
98
+ tz.transition 1965, 4, :o2, 9755503, 4
99
+ tz.transition 1965, 10, :o1, 58537553, 24
100
+ tz.transition 1966, 4, :o2, 9756959, 4
101
+ tz.transition 1966, 10, :o1, 58546289, 24
102
+ tz.transition 1967, 4, :o2, 9758443, 4
103
+ tz.transition 1967, 10, :o1, 58555025, 24
104
+ tz.transition 1968, 4, :o2, 9759899, 4
105
+ tz.transition 1968, 10, :o1, 58563761, 24
106
+ tz.transition 1969, 4, :o2, 9761355, 4
107
+ tz.transition 1969, 10, :o1, 58572497, 24
108
+ tz.transition 1970, 4, :o2, 9957600
109
+ tz.transition 1970, 10, :o1, 25678800
110
+ tz.transition 1971, 4, :o2, 41407200
111
+ tz.transition 1971, 10, :o1, 57733200
112
+ tz.transition 1972, 4, :o2, 73461600
113
+ tz.transition 1972, 10, :o1, 89182800
114
+ tz.transition 1973, 4, :o2, 104911200
115
+ tz.transition 1973, 10, :o1, 120632400
116
+ tz.transition 1974, 4, :o2, 136360800
117
+ tz.transition 1974, 10, :o1, 152082000
118
+ tz.transition 1975, 4, :o2, 167810400
119
+ tz.transition 1975, 10, :o1, 183531600
120
+ tz.transition 1976, 4, :o2, 199260000
121
+ tz.transition 1976, 10, :o1, 215586000
122
+ tz.transition 1977, 4, :o2, 230709600
123
+ tz.transition 1977, 10, :o1, 247035600
124
+ tz.transition 1978, 4, :o2, 262764000
125
+ tz.transition 1978, 10, :o1, 278485200
126
+ tz.transition 1979, 4, :o2, 294213600
127
+ tz.transition 1979, 10, :o1, 309934800
128
+ tz.transition 1980, 4, :o2, 325663200
129
+ tz.transition 1980, 10, :o1, 341384400
130
+ tz.transition 1981, 4, :o2, 357112800
131
+ tz.transition 1981, 10, :o1, 372834000
132
+ tz.transition 1982, 4, :o2, 388562400
133
+ tz.transition 1982, 10, :o1, 404888400
134
+ tz.transition 1983, 4, :o2, 420012000
135
+ tz.transition 1983, 10, :o1, 436338000
136
+ tz.transition 1984, 4, :o2, 452066400
137
+ tz.transition 1984, 10, :o1, 467787600
138
+ tz.transition 1985, 4, :o2, 483516000
139
+ tz.transition 1985, 10, :o1, 499237200
140
+ tz.transition 1986, 4, :o2, 514965600
141
+ tz.transition 1986, 10, :o1, 530686800
142
+ tz.transition 1987, 4, :o2, 544600800
143
+ tz.transition 1987, 10, :o1, 562136400
144
+ tz.transition 1988, 4, :o2, 576050400
145
+ tz.transition 1988, 10, :o1, 594190800
146
+ tz.transition 1989, 4, :o2, 607500000
147
+ tz.transition 1989, 10, :o1, 625640400
148
+ tz.transition 1990, 4, :o2, 638949600
149
+ tz.transition 1990, 10, :o1, 657090000
150
+ tz.transition 1991, 4, :o2, 671004000
151
+ tz.transition 1991, 10, :o1, 688539600
152
+ tz.transition 1992, 4, :o2, 702453600
153
+ tz.transition 1992, 10, :o1, 719989200
154
+ tz.transition 1993, 4, :o2, 733903200
155
+ tz.transition 1993, 10, :o1, 752043600
156
+ tz.transition 1994, 4, :o2, 765352800
157
+ tz.transition 1994, 10, :o1, 783493200
158
+ tz.transition 1995, 4, :o2, 796802400
159
+ tz.transition 1995, 10, :o1, 814942800
160
+ tz.transition 1996, 4, :o2, 828856800
161
+ tz.transition 1996, 10, :o1, 846392400
162
+ tz.transition 1997, 4, :o2, 860306400
163
+ tz.transition 1997, 10, :o1, 877842000
164
+ tz.transition 1998, 4, :o2, 891756000
165
+ tz.transition 1998, 10, :o1, 909291600
166
+ tz.transition 1999, 4, :o2, 923205600
167
+ tz.transition 1999, 10, :o1, 941346000
168
+ tz.transition 2000, 4, :o2, 954655200
169
+ tz.transition 2000, 10, :o1, 972795600
170
+ tz.transition 2001, 4, :o2, 986104800
171
+ tz.transition 2001, 10, :o1, 1004245200
172
+ tz.transition 2002, 4, :o2, 1018159200
173
+ tz.transition 2002, 10, :o1, 1035694800
174
+ tz.transition 2003, 4, :o2, 1049608800
175
+ tz.transition 2003, 10, :o1, 1067144400
176
+ tz.transition 2004, 4, :o2, 1081058400
177
+ tz.transition 2004, 10, :o1, 1099198800
178
+ tz.transition 2005, 4, :o2, 1112508000
179
+ tz.transition 2005, 10, :o1, 1130648400
180
+ tz.transition 2006, 4, :o2, 1143957600
181
+ tz.transition 2006, 10, :o1, 1162098000
182
+ tz.transition 2007, 3, :o2, 1173592800
183
+ tz.transition 2007, 11, :o1, 1194152400
184
+ tz.transition 2008, 3, :o2, 1205042400
185
+ tz.transition 2008, 11, :o1, 1225602000
186
+ tz.transition 2009, 3, :o2, 1236492000
187
+ tz.transition 2009, 11, :o1, 1257051600
188
+ tz.transition 2010, 3, :o2, 1268546400
189
+ tz.transition 2010, 11, :o1, 1289106000
190
+ tz.transition 2011, 3, :o2, 1299996000
191
+ tz.transition 2011, 11, :o1, 1320555600
192
+ tz.transition 2012, 3, :o2, 1331445600
193
+ tz.transition 2012, 11, :o1, 1352005200
194
+ tz.transition 2013, 3, :o2, 1362895200
195
+ tz.transition 2013, 11, :o1, 1383454800
196
+ tz.transition 2014, 3, :o2, 1394344800
197
+ tz.transition 2014, 11, :o1, 1414904400
198
+ tz.transition 2015, 3, :o2, 1425794400
199
+ tz.transition 2015, 11, :o1, 1446354000
200
+ tz.transition 2016, 3, :o2, 1457848800
201
+ tz.transition 2016, 11, :o1, 1478408400
202
+ tz.transition 2017, 3, :o2, 1489298400
203
+ tz.transition 2017, 11, :o1, 1509858000
204
+ tz.transition 2018, 3, :o2, 1520748000
205
+ tz.transition 2018, 11, :o1, 1541307600
206
+ tz.transition 2019, 3, :o2, 1552197600
207
+ tz.transition 2019, 11, :o1, 1572757200
208
+ tz.transition 2020, 3, :o2, 1583647200
209
+ tz.transition 2020, 11, :o1, 1604206800
210
+ tz.transition 2021, 3, :o2, 1615701600
211
+ tz.transition 2021, 11, :o1, 1636261200
212
+ tz.transition 2022, 3, :o2, 1647151200
213
+ tz.transition 2022, 11, :o1, 1667710800
214
+ tz.transition 2023, 3, :o2, 1678600800
215
+ tz.transition 2023, 11, :o1, 1699160400
216
+ tz.transition 2024, 3, :o2, 1710050400
217
+ tz.transition 2024, 11, :o1, 1730610000
218
+ tz.transition 2025, 3, :o2, 1741500000
219
+ tz.transition 2025, 11, :o1, 1762059600
220
+ tz.transition 2026, 3, :o2, 1772949600
221
+ tz.transition 2026, 11, :o1, 1793509200
222
+ tz.transition 2027, 3, :o2, 1805004000
223
+ tz.transition 2027, 11, :o1, 1825563600
224
+ tz.transition 2028, 3, :o2, 1836453600
225
+ tz.transition 2028, 11, :o1, 1857013200
226
+ tz.transition 2029, 3, :o2, 1867903200
227
+ tz.transition 2029, 11, :o1, 1888462800
228
+ tz.transition 2030, 3, :o2, 1899352800
229
+ tz.transition 2030, 11, :o1, 1919912400
230
+ tz.transition 2031, 3, :o2, 1930802400
231
+ tz.transition 2031, 11, :o1, 1951362000
232
+ tz.transition 2032, 3, :o2, 1962856800
233
+ tz.transition 2032, 11, :o1, 1983416400
234
+ tz.transition 2033, 3, :o2, 1994306400
235
+ tz.transition 2033, 11, :o1, 2014866000
236
+ tz.transition 2034, 3, :o2, 2025756000
237
+ tz.transition 2034, 11, :o1, 2046315600
238
+ tz.transition 2035, 3, :o2, 2057205600
239
+ tz.transition 2035, 11, :o1, 2077765200
240
+ tz.transition 2036, 3, :o2, 2088655200
241
+ tz.transition 2036, 11, :o1, 2109214800
242
+ tz.transition 2037, 3, :o2, 2120104800
243
+ tz.transition 2037, 11, :o1, 2140664400
244
+ tz.transition 2038, 3, :o2, 9861987, 4
245
+ tz.transition 2038, 11, :o1, 59177633, 24
246
+ tz.transition 2039, 3, :o2, 9863443, 4
247
+ tz.transition 2039, 11, :o1, 59186369, 24
248
+ tz.transition 2040, 3, :o2, 9864899, 4
249
+ tz.transition 2040, 11, :o1, 59195105, 24
250
+ tz.transition 2041, 3, :o2, 9866355, 4
251
+ tz.transition 2041, 11, :o1, 59203841, 24
252
+ tz.transition 2042, 3, :o2, 9867811, 4
253
+ tz.transition 2042, 11, :o1, 59212577, 24
254
+ tz.transition 2043, 3, :o2, 9869267, 4
255
+ tz.transition 2043, 11, :o1, 59221313, 24
256
+ tz.transition 2044, 3, :o2, 9870751, 4
257
+ tz.transition 2044, 11, :o1, 59230217, 24
258
+ tz.transition 2045, 3, :o2, 9872207, 4
259
+ tz.transition 2045, 11, :o1, 59238953, 24
260
+ tz.transition 2046, 3, :o2, 9873663, 4
261
+ tz.transition 2046, 11, :o1, 59247689, 24
262
+ tz.transition 2047, 3, :o2, 9875119, 4
263
+ tz.transition 2047, 11, :o1, 59256425, 24
264
+ tz.transition 2048, 3, :o2, 9876575, 4
265
+ tz.transition 2048, 11, :o1, 59265161, 24
266
+ tz.transition 2049, 3, :o2, 9878059, 4
267
+ tz.transition 2049, 11, :o1, 59274065, 24
268
+ tz.transition 2050, 3, :o2, 9879515, 4
269
+ tz.transition 2050, 11, :o1, 59282801, 24
270
+ end
271
+ end
272
+ end
273
+ end
274
+ end
@@ -0,0 +1,149 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Indiana
7
+ module Indianapolis
8
+ include TimezoneDefinition
9
+
10
+ timezone 'America/Indiana/Indianapolis' do |tz|
11
+ tz.offset :o0, -20678, 0, :LMT
12
+ tz.offset :o1, -21600, 0, :CST
13
+ tz.offset :o2, -21600, 3600, :CDT
14
+ tz.offset :o3, -21600, 3600, :CWT
15
+ tz.offset :o4, -21600, 3600, :CPT
16
+ tz.offset :o5, -18000, 0, :EST
17
+ tz.offset :o6, -18000, 3600, :EDT
18
+
19
+ tz.transition 1883, 11, :o1, 9636533, 4
20
+ tz.transition 1918, 3, :o2, 14530103, 6
21
+ tz.transition 1918, 10, :o1, 58125451, 24
22
+ tz.transition 1919, 3, :o2, 14532287, 6
23
+ tz.transition 1919, 10, :o1, 58134187, 24
24
+ tz.transition 1941, 6, :o2, 14581007, 6
25
+ tz.transition 1941, 9, :o1, 58326379, 24
26
+ tz.transition 1942, 2, :o3, 14582399, 6
27
+ tz.transition 1945, 8, :o4, 58360379, 24
28
+ tz.transition 1945, 9, :o1, 58361491, 24
29
+ tz.transition 1946, 4, :o2, 14591633, 6
30
+ tz.transition 1946, 9, :o1, 58370227, 24
31
+ tz.transition 1947, 4, :o2, 14593817, 6
32
+ tz.transition 1947, 9, :o1, 58378963, 24
33
+ tz.transition 1948, 4, :o2, 14596001, 6
34
+ tz.transition 1948, 9, :o1, 58387699, 24
35
+ tz.transition 1949, 4, :o2, 14598185, 6
36
+ tz.transition 1949, 9, :o1, 58396435, 24
37
+ tz.transition 1950, 4, :o2, 14600411, 6
38
+ tz.transition 1950, 9, :o1, 58405171, 24
39
+ tz.transition 1951, 4, :o2, 14602595, 6
40
+ tz.transition 1951, 9, :o1, 58414075, 24
41
+ tz.transition 1952, 4, :o2, 14604779, 6
42
+ tz.transition 1952, 9, :o1, 58422811, 24
43
+ tz.transition 1953, 4, :o2, 14606963, 6
44
+ tz.transition 1953, 9, :o1, 58431547, 24
45
+ tz.transition 1954, 4, :o2, 14609147, 6
46
+ tz.transition 1954, 9, :o1, 58440283, 24
47
+ tz.transition 1955, 4, :o5, 14611331, 6
48
+ tz.transition 1957, 9, :o1, 58466659, 24
49
+ tz.transition 1958, 4, :o5, 14617925, 6
50
+ tz.transition 1969, 4, :o6, 58568131, 24
51
+ tz.transition 1969, 10, :o5, 9762083, 4
52
+ tz.transition 1970, 4, :o6, 9961200
53
+ tz.transition 1970, 10, :o5, 25682400
54
+ tz.transition 2006, 4, :o6, 1143961200
55
+ tz.transition 2006, 10, :o5, 1162101600
56
+ tz.transition 2007, 3, :o6, 1173596400
57
+ tz.transition 2007, 11, :o5, 1194156000
58
+ tz.transition 2008, 3, :o6, 1205046000
59
+ tz.transition 2008, 11, :o5, 1225605600
60
+ tz.transition 2009, 3, :o6, 1236495600
61
+ tz.transition 2009, 11, :o5, 1257055200
62
+ tz.transition 2010, 3, :o6, 1268550000
63
+ tz.transition 2010, 11, :o5, 1289109600
64
+ tz.transition 2011, 3, :o6, 1299999600
65
+ tz.transition 2011, 11, :o5, 1320559200
66
+ tz.transition 2012, 3, :o6, 1331449200
67
+ tz.transition 2012, 11, :o5, 1352008800
68
+ tz.transition 2013, 3, :o6, 1362898800
69
+ tz.transition 2013, 11, :o5, 1383458400
70
+ tz.transition 2014, 3, :o6, 1394348400
71
+ tz.transition 2014, 11, :o5, 1414908000
72
+ tz.transition 2015, 3, :o6, 1425798000
73
+ tz.transition 2015, 11, :o5, 1446357600
74
+ tz.transition 2016, 3, :o6, 1457852400
75
+ tz.transition 2016, 11, :o5, 1478412000
76
+ tz.transition 2017, 3, :o6, 1489302000
77
+ tz.transition 2017, 11, :o5, 1509861600
78
+ tz.transition 2018, 3, :o6, 1520751600
79
+ tz.transition 2018, 11, :o5, 1541311200
80
+ tz.transition 2019, 3, :o6, 1552201200
81
+ tz.transition 2019, 11, :o5, 1572760800
82
+ tz.transition 2020, 3, :o6, 1583650800
83
+ tz.transition 2020, 11, :o5, 1604210400
84
+ tz.transition 2021, 3, :o6, 1615705200
85
+ tz.transition 2021, 11, :o5, 1636264800
86
+ tz.transition 2022, 3, :o6, 1647154800
87
+ tz.transition 2022, 11, :o5, 1667714400
88
+ tz.transition 2023, 3, :o6, 1678604400
89
+ tz.transition 2023, 11, :o5, 1699164000
90
+ tz.transition 2024, 3, :o6, 1710054000
91
+ tz.transition 2024, 11, :o5, 1730613600
92
+ tz.transition 2025, 3, :o6, 1741503600
93
+ tz.transition 2025, 11, :o5, 1762063200
94
+ tz.transition 2026, 3, :o6, 1772953200
95
+ tz.transition 2026, 11, :o5, 1793512800
96
+ tz.transition 2027, 3, :o6, 1805007600
97
+ tz.transition 2027, 11, :o5, 1825567200
98
+ tz.transition 2028, 3, :o6, 1836457200
99
+ tz.transition 2028, 11, :o5, 1857016800
100
+ tz.transition 2029, 3, :o6, 1867906800
101
+ tz.transition 2029, 11, :o5, 1888466400
102
+ tz.transition 2030, 3, :o6, 1899356400
103
+ tz.transition 2030, 11, :o5, 1919916000
104
+ tz.transition 2031, 3, :o6, 1930806000
105
+ tz.transition 2031, 11, :o5, 1951365600
106
+ tz.transition 2032, 3, :o6, 1962860400
107
+ tz.transition 2032, 11, :o5, 1983420000
108
+ tz.transition 2033, 3, :o6, 1994310000
109
+ tz.transition 2033, 11, :o5, 2014869600
110
+ tz.transition 2034, 3, :o6, 2025759600
111
+ tz.transition 2034, 11, :o5, 2046319200
112
+ tz.transition 2035, 3, :o6, 2057209200
113
+ tz.transition 2035, 11, :o5, 2077768800
114
+ tz.transition 2036, 3, :o6, 2088658800
115
+ tz.transition 2036, 11, :o5, 2109218400
116
+ tz.transition 2037, 3, :o6, 2120108400
117
+ tz.transition 2037, 11, :o5, 2140668000
118
+ tz.transition 2038, 3, :o6, 59171923, 24
119
+ tz.transition 2038, 11, :o5, 9862939, 4
120
+ tz.transition 2039, 3, :o6, 59180659, 24
121
+ tz.transition 2039, 11, :o5, 9864395, 4
122
+ tz.transition 2040, 3, :o6, 59189395, 24
123
+ tz.transition 2040, 11, :o5, 9865851, 4
124
+ tz.transition 2041, 3, :o6, 59198131, 24
125
+ tz.transition 2041, 11, :o5, 9867307, 4
126
+ tz.transition 2042, 3, :o6, 59206867, 24
127
+ tz.transition 2042, 11, :o5, 9868763, 4
128
+ tz.transition 2043, 3, :o6, 59215603, 24
129
+ tz.transition 2043, 11, :o5, 9870219, 4
130
+ tz.transition 2044, 3, :o6, 59224507, 24
131
+ tz.transition 2044, 11, :o5, 9871703, 4
132
+ tz.transition 2045, 3, :o6, 59233243, 24
133
+ tz.transition 2045, 11, :o5, 9873159, 4
134
+ tz.transition 2046, 3, :o6, 59241979, 24
135
+ tz.transition 2046, 11, :o5, 9874615, 4
136
+ tz.transition 2047, 3, :o6, 59250715, 24
137
+ tz.transition 2047, 11, :o5, 9876071, 4
138
+ tz.transition 2048, 3, :o6, 59259451, 24
139
+ tz.transition 2048, 11, :o5, 9877527, 4
140
+ tz.transition 2049, 3, :o6, 59268355, 24
141
+ tz.transition 2049, 11, :o5, 9879011, 4
142
+ tz.transition 2050, 3, :o6, 59277091, 24
143
+ tz.transition 2050, 11, :o5, 9880467, 4
144
+ end
145
+ end
146
+ end
147
+ end
148
+ end
149
+ end