tzinfo 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of tzinfo might be problematic. Click here for more details.

Files changed (831) hide show
  1. data/CHANGES +222 -172
  2. data/README +21 -4
  3. data/Rakefile +27 -12
  4. data/lib/tzinfo.rb +5 -2
  5. data/lib/tzinfo/country.rb +100 -90
  6. data/lib/tzinfo/country_index_definition.rb +50 -0
  7. data/lib/tzinfo/country_info.rb +82 -0
  8. data/lib/tzinfo/country_timezone.rb +103 -0
  9. data/lib/tzinfo/data_timezone.rb +47 -0
  10. data/lib/tzinfo/data_timezone_info.rb +226 -0
  11. data/lib/tzinfo/definitions/Africa/Abidjan.rb +16 -11
  12. data/lib/tzinfo/definitions/Africa/Accra.rb +31 -25
  13. data/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +18 -12
  14. data/lib/tzinfo/definitions/Africa/Algiers.rb +53 -44
  15. data/lib/tzinfo/definitions/Africa/Asmera.rb +20 -13
  16. data/lib/tzinfo/definitions/Africa/Bamako.rb +19 -13
  17. data/lib/tzinfo/definitions/Africa/Bangui.rb +16 -11
  18. data/lib/tzinfo/definitions/Africa/Banjul.rb +20 -13
  19. data/lib/tzinfo/definitions/Africa/Bissau.rb +18 -12
  20. data/lib/tzinfo/definitions/Africa/Blantyre.rb +16 -11
  21. data/lib/tzinfo/definitions/Africa/Brazzaville.rb +16 -11
  22. data/lib/tzinfo/definitions/Africa/Bujumbura.rb +16 -11
  23. data/lib/tzinfo/definitions/Africa/Cairo.rb +217 -211
  24. data/lib/tzinfo/definitions/Africa/Casablanca.rb +36 -29
  25. data/lib/tzinfo/definitions/Africa/Ceuta.rb +170 -162
  26. data/lib/tzinfo/definitions/Africa/Conakry.rb +19 -13
  27. data/lib/tzinfo/definitions/Africa/Dakar.rb +18 -12
  28. data/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +19 -13
  29. data/lib/tzinfo/definitions/Africa/Djibouti.rb +16 -11
  30. data/lib/tzinfo/definitions/Africa/Douala.rb +16 -11
  31. data/lib/tzinfo/definitions/Africa/El_Aaiun.rb +18 -12
  32. data/lib/tzinfo/definitions/Africa/Freetown.rb +51 -41
  33. data/lib/tzinfo/definitions/Africa/Gaborone.rb +19 -13
  34. data/lib/tzinfo/definitions/Africa/Harare.rb +16 -11
  35. data/lib/tzinfo/definitions/Africa/Johannesburg.rb +23 -16
  36. data/lib/tzinfo/definitions/Africa/Kampala.rb +21 -14
  37. data/lib/tzinfo/definitions/Africa/Khartoum.rb +51 -44
  38. data/lib/tzinfo/definitions/Africa/Kigali.rb +16 -11
  39. data/lib/tzinfo/definitions/Africa/Kinshasa.rb +16 -11
  40. data/lib/tzinfo/definitions/Africa/Lagos.rb +16 -11
  41. data/lib/tzinfo/definitions/Africa/Libreville.rb +16 -11
  42. data/lib/tzinfo/definitions/Africa/Lome.rb +16 -11
  43. data/lib/tzinfo/definitions/Africa/Luanda.rb +18 -12
  44. data/lib/tzinfo/definitions/Africa/Lubumbashi.rb +16 -11
  45. data/lib/tzinfo/definitions/Africa/Lusaka.rb +16 -11
  46. data/lib/tzinfo/definitions/Africa/Malabo.rb +18 -12
  47. data/lib/tzinfo/definitions/Africa/Maputo.rb +16 -11
  48. data/lib/tzinfo/definitions/Africa/Maseru.rb +19 -13
  49. data/lib/tzinfo/definitions/Africa/Mbabane.rb +16 -11
  50. data/lib/tzinfo/definitions/Africa/Mogadishu.rb +19 -13
  51. data/lib/tzinfo/definitions/Africa/Monrovia.rb +20 -13
  52. data/lib/tzinfo/definitions/Africa/Nairobi.rb +21 -14
  53. data/lib/tzinfo/definitions/Africa/Ndjamena.rb +19 -13
  54. data/lib/tzinfo/definitions/Africa/Niamey.rb +20 -13
  55. data/lib/tzinfo/definitions/Africa/Nouakchott.rb +19 -13
  56. data/lib/tzinfo/definitions/Africa/Ouagadougou.rb +16 -11
  57. data/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +18 -12
  58. data/lib/tzinfo/definitions/Africa/Sao_Tome.rb +18 -12
  59. data/lib/tzinfo/definitions/Africa/Timbuktu.rb +11 -10
  60. data/lib/tzinfo/definitions/Africa/Tripoli.rb +46 -39
  61. data/lib/tzinfo/definitions/Africa/Tunis.rb +135 -128
  62. data/lib/tzinfo/definitions/Africa/Windhoek.rb +138 -128
  63. data/lib/tzinfo/definitions/America/Adak.rb +194 -181
  64. data/lib/tzinfo/definitions/America/Anchorage.rb +194 -181
  65. data/lib/tzinfo/definitions/America/Anguilla.rb +16 -11
  66. data/lib/tzinfo/definitions/America/Antigua.rb +18 -12
  67. data/lib/tzinfo/definitions/America/Araguaina.rb +65 -59
  68. data/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +78 -69
  69. data/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +81 -71
  70. data/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +13 -12
  71. data/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +79 -69
  72. data/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +80 -69
  73. data/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +82 -72
  74. data/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +82 -71
  75. data/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +81 -71
  76. data/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +82 -72
  77. data/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +81 -71
  78. data/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +81 -71
  79. data/lib/tzinfo/definitions/America/Aruba.rb +18 -12
  80. data/lib/tzinfo/definitions/America/Asuncion.rb +172 -164
  81. data/lib/tzinfo/definitions/America/Atka.rb +11 -10
  82. data/lib/tzinfo/definitions/America/Bahia.rb +75 -69
  83. data/lib/tzinfo/definitions/America/Barbados.rb +27 -20
  84. data/lib/tzinfo/definitions/America/Belem.rb +45 -39
  85. data/lib/tzinfo/definitions/America/Belize.rb +72 -65
  86. data/lib/tzinfo/definitions/America/Boa_Vista.rb +49 -43
  87. data/lib/tzinfo/definitions/America/Bogota.rb +21 -14
  88. data/lib/tzinfo/definitions/America/Boise.rb +197 -187
  89. data/lib/tzinfo/definitions/America/Buenos_Aires.rb +11 -10
  90. data/lib/tzinfo/definitions/America/Cambridge_Bay.rb +175 -163
  91. data/lib/tzinfo/definitions/America/Campo_Grande.rb +169 -163
  92. data/lib/tzinfo/definitions/America/Cancun.rb +131 -123
  93. data/lib/tzinfo/definitions/America/Caracas.rb +20 -13
  94. data/lib/tzinfo/definitions/America/Catamarca.rb +11 -10
  95. data/lib/tzinfo/definitions/America/Cayenne.rb +18 -12
  96. data/lib/tzinfo/definitions/America/Cayman.rb +18 -12
  97. data/lib/tzinfo/definitions/America/Chicago.rb +281 -272
  98. data/lib/tzinfo/definitions/America/Chihuahua.rb +134 -126
  99. data/lib/tzinfo/definitions/America/Coral_Harbour.rb +26 -18
  100. data/lib/tzinfo/definitions/America/Cordoba.rb +11 -10
  101. data/lib/tzinfo/definitions/America/Costa_Rica.rb +27 -20
  102. data/lib/tzinfo/definitions/America/Cuiaba.rb +167 -161
  103. data/lib/tzinfo/definitions/America/Curacao.rb +18 -12
  104. data/lib/tzinfo/definitions/America/Danmarkshavn.rb +51 -44
  105. data/lib/tzinfo/definitions/America/Dawson.rb +174 -163
  106. data/lib/tzinfo/definitions/America/Dawson_Creek.rb +77 -68
  107. data/lib/tzinfo/definitions/America/Denver.rb +202 -194
  108. data/lib/tzinfo/definitions/America/Detroit.rb +184 -175
  109. data/lib/tzinfo/definitions/America/Dominica.rb +16 -11
  110. data/lib/tzinfo/definitions/America/Edmonton.rb +198 -190
  111. data/lib/tzinfo/definitions/America/Eirunepe.rb +47 -41
  112. data/lib/tzinfo/definitions/America/El_Salvador.rb +21 -15
  113. data/lib/tzinfo/definitions/America/Ensenada.rb +11 -10
  114. data/lib/tzinfo/definitions/America/Fort_Wayne.rb +11 -10
  115. data/lib/tzinfo/definitions/America/Fortaleza.rb +55 -49
  116. data/lib/tzinfo/definitions/America/Glace_Bay.rb +184 -176
  117. data/lib/tzinfo/definitions/America/Godthab.rb +159 -153
  118. data/lib/tzinfo/definitions/America/Goose_Bay.rb +253 -240
  119. data/lib/tzinfo/definitions/America/Grand_Turk.rb +163 -156
  120. data/lib/tzinfo/definitions/America/Grenada.rb +16 -11
  121. data/lib/tzinfo/definitions/America/Guadeloupe.rb +16 -11
  122. data/lib/tzinfo/definitions/America/Guatemala.rb +25 -19
  123. data/lib/tzinfo/definitions/America/Guayaquil.rb +18 -12
  124. data/lib/tzinfo/definitions/America/Guyana.rb +22 -14
  125. data/lib/tzinfo/definitions/America/Halifax.rb +272 -264
  126. data/lib/tzinfo/definitions/America/Havana.rb +199 -192
  127. data/lib/tzinfo/definitions/America/Hermosillo.rb +33 -25
  128. data/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +147 -137
  129. data/lib/tzinfo/definitions/America/Indiana/Knox.rb +201 -192
  130. data/lib/tzinfo/definitions/America/Indiana/Marengo.rb +151 -141
  131. data/lib/tzinfo/definitions/America/Indiana/Petersburg.rb +163 -154
  132. data/lib/tzinfo/definitions/America/Indiana/Vevay.rb +129 -119
  133. data/lib/tzinfo/definitions/America/Indiana/Vincennes.rb +149 -139
  134. data/lib/tzinfo/definitions/America/Indianapolis.rb +11 -10
  135. data/lib/tzinfo/definitions/America/Inuvik.rb +174 -163
  136. data/lib/tzinfo/definitions/America/Iqaluit.rb +173 -162
  137. data/lib/tzinfo/definitions/America/Jamaica.rb +39 -32
  138. data/lib/tzinfo/definitions/America/Jujuy.rb +11 -10
  139. data/lib/tzinfo/definitions/America/Juneau.rb +192 -180
  140. data/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +226 -216
  141. data/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +196 -186
  142. data/lib/tzinfo/definitions/America/Knox_IN.rb +11 -10
  143. data/lib/tzinfo/definitions/America/La_Paz.rb +20 -13
  144. data/lib/tzinfo/definitions/America/Lima.rb +33 -26
  145. data/lib/tzinfo/definitions/America/Los_Angeles.rb +230 -222
  146. data/lib/tzinfo/definitions/America/Louisville.rb +11 -10
  147. data/lib/tzinfo/definitions/America/Maceio.rb +57 -51
  148. data/lib/tzinfo/definitions/America/Managua.rb +34 -26
  149. data/lib/tzinfo/definitions/America/Manaus.rb +47 -41
  150. data/lib/tzinfo/definitions/America/Martinique.rb +21 -14
  151. data/lib/tzinfo/definitions/America/Mazatlan.rb +137 -129
  152. data/lib/tzinfo/definitions/America/Mendoza.rb +11 -10
  153. data/lib/tzinfo/definitions/America/Menominee.rb +188 -179
  154. data/lib/tzinfo/definitions/America/Merida.rb +130 -123
  155. data/lib/tzinfo/definitions/America/Mexico_City.rb +142 -134
  156. data/lib/tzinfo/definitions/America/Miquelon.rb +147 -140
  157. data/lib/tzinfo/definitions/America/Moncton.rb +252 -243
  158. data/lib/tzinfo/definitions/America/Monterrey.rb +129 -123
  159. data/lib/tzinfo/definitions/America/Montevideo.rb +89 -79
  160. data/lib/tzinfo/definitions/America/Montreal.rb +277 -269
  161. data/lib/tzinfo/definitions/America/Montserrat.rb +16 -11
  162. data/lib/tzinfo/definitions/America/Nassau.rb +191 -185
  163. data/lib/tzinfo/definitions/America/New_York.rb +280 -272
  164. data/lib/tzinfo/definitions/America/Nipigon.rb +179 -171
  165. data/lib/tzinfo/definitions/America/Nome.rb +194 -181
  166. data/lib/tzinfo/definitions/America/Noronha.rb +55 -49
  167. data/lib/tzinfo/definitions/America/North_Dakota/Center.rb +198 -188
  168. data/lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb +198 -188
  169. data/lib/tzinfo/definitions/America/Panama.rb +18 -12
  170. data/lib/tzinfo/definitions/America/Pangnirtung.rb +175 -162
  171. data/lib/tzinfo/definitions/America/Paramaribo.rb +24 -15
  172. data/lib/tzinfo/definitions/America/Phoenix.rb +28 -21
  173. data/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +141 -134
  174. data/lib/tzinfo/definitions/America/Port_of_Spain.rb +16 -11
  175. data/lib/tzinfo/definitions/America/Porto_Acre.rb +11 -10
  176. data/lib/tzinfo/definitions/America/Porto_Velho.rb +45 -39
  177. data/lib/tzinfo/definitions/America/Puerto_Rico.rb +21 -14
  178. data/lib/tzinfo/definitions/America/Rainy_River.rb +179 -171
  179. data/lib/tzinfo/definitions/America/Rankin_Inlet.rb +172 -162
  180. data/lib/tzinfo/definitions/America/Recife.rb +55 -49
  181. data/lib/tzinfo/definitions/America/Regina.rb +72 -63
  182. data/lib/tzinfo/definitions/America/Rio_Branco.rb +45 -39
  183. data/lib/tzinfo/definitions/America/Rosario.rb +11 -10
  184. data/lib/tzinfo/definitions/America/Santiago.rb +202 -193
  185. data/lib/tzinfo/definitions/America/Santo_Domingo.rb +36 -27
  186. data/lib/tzinfo/definitions/America/Sao_Paulo.rb +169 -163
  187. data/lib/tzinfo/definitions/America/Scoresbysund.rb +161 -153
  188. data/lib/tzinfo/definitions/America/Shiprock.rb +11 -10
  189. data/lib/tzinfo/definitions/America/St_Johns.rb +286 -275
  190. data/lib/tzinfo/definitions/America/St_Kitts.rb +16 -11
  191. data/lib/tzinfo/definitions/America/St_Lucia.rb +18 -12
  192. data/lib/tzinfo/definitions/America/St_Thomas.rb +16 -11
  193. data/lib/tzinfo/definitions/America/St_Vincent.rb +18 -12
  194. data/lib/tzinfo/definitions/America/Swift_Current.rb +42 -33
  195. data/lib/tzinfo/definitions/America/Tegucigalpa.rb +23 -17
  196. data/lib/tzinfo/definitions/America/Thule.rb +137 -131
  197. data/lib/tzinfo/definitions/America/Thunder_Bay.rb +184 -175
  198. data/lib/tzinfo/definitions/America/Tijuana.rb +194 -185
  199. data/lib/tzinfo/definitions/America/Toronto.rb +277 -269
  200. data/lib/tzinfo/definitions/America/Tortola.rb +16 -11
  201. data/lib/tzinfo/definitions/America/Vancouver.rb +234 -226
  202. data/lib/tzinfo/definitions/America/Virgin.rb +11 -10
  203. data/lib/tzinfo/definitions/America/Whitehorse.rb +174 -163
  204. data/lib/tzinfo/definitions/America/Winnipeg.rb +230 -222
  205. data/lib/tzinfo/definitions/America/Yakutat.rb +191 -180
  206. data/lib/tzinfo/definitions/America/Yellowknife.rb +171 -162
  207. data/lib/tzinfo/definitions/Antarctica/Casey.rb +16 -11
  208. data/lib/tzinfo/definitions/Antarctica/Davis.rb +18 -13
  209. data/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +19 -13
  210. data/lib/tzinfo/definitions/Antarctica/Mawson.rb +16 -11
  211. data/lib/tzinfo/definitions/Antarctica/McMurdo.rb +169 -163
  212. data/lib/tzinfo/definitions/Antarctica/Palmer.rb +176 -166
  213. data/lib/tzinfo/definitions/Antarctica/Rothera.rb +16 -11
  214. data/lib/tzinfo/definitions/Antarctica/South_Pole.rb +11 -10
  215. data/lib/tzinfo/definitions/Antarctica/Syowa.rb +16 -11
  216. data/lib/tzinfo/definitions/Antarctica/Vostok.rb +16 -11
  217. data/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +11 -10
  218. data/lib/tzinfo/definitions/Asia/Aden.rb +16 -11
  219. data/lib/tzinfo/definitions/Asia/Almaty.rb +65 -58
  220. data/lib/tzinfo/definitions/Asia/Amman.rb +161 -155
  221. data/lib/tzinfo/definitions/Asia/Anadyr.rb +163 -153
  222. data/lib/tzinfo/definitions/Asia/Aqtau.rb +73 -60
  223. data/lib/tzinfo/definitions/Asia/Aqtobe.rb +69 -59
  224. data/lib/tzinfo/definitions/Asia/Ashgabat.rb +46 -36
  225. data/lib/tzinfo/definitions/Asia/Ashkhabad.rb +11 -10
  226. data/lib/tzinfo/definitions/Asia/Baghdad.rb +157 -150
  227. data/lib/tzinfo/definitions/Asia/Bahrain.rb +18 -12
  228. data/lib/tzinfo/definitions/Asia/Baku.rb +159 -147
  229. data/lib/tzinfo/definitions/Asia/Bangkok.rb +18 -12
  230. data/lib/tzinfo/definitions/Asia/Beirut.rb +183 -177
  231. data/lib/tzinfo/definitions/Asia/Bishkek.rb +73 -62
  232. data/lib/tzinfo/definitions/Asia/Brunei.rb +18 -12
  233. data/lib/tzinfo/definitions/Asia/Calcutta.rb +23 -15
  234. data/lib/tzinfo/definitions/Asia/Choibalsan.rb +152 -144
  235. data/lib/tzinfo/definitions/Asia/Chongqing.rb +31 -24
  236. data/lib/tzinfo/definitions/Asia/Chungking.rb +11 -10
  237. data/lib/tzinfo/definitions/Asia/Colombo.rb +28 -18
  238. data/lib/tzinfo/definitions/Asia/Dacca.rb +11 -10
  239. data/lib/tzinfo/definitions/Asia/Damascus.rb +193 -187
  240. data/lib/tzinfo/definitions/Asia/Dhaka.rb +25 -16
  241. data/lib/tzinfo/definitions/Asia/Dili.rb +23 -15
  242. data/lib/tzinfo/definitions/Asia/Dubai.rb +16 -11
  243. data/lib/tzinfo/definitions/Asia/Dushanbe.rb +43 -34
  244. data/lib/tzinfo/definitions/Asia/Gaza.rb +189 -180
  245. data/lib/tzinfo/definitions/Asia/Harbin.rb +35 -27
  246. data/lib/tzinfo/definitions/Asia/Hong_Kong.rb +85 -79
  247. data/lib/tzinfo/definitions/Asia/Hovd.rb +151 -144
  248. data/lib/tzinfo/definitions/Asia/Irkutsk.rb +163 -154
  249. data/lib/tzinfo/definitions/Asia/Istanbul.rb +11 -10
  250. data/lib/tzinfo/definitions/Asia/Jakarta.rb +28 -18
  251. data/lib/tzinfo/definitions/Asia/Jayapura.rb +19 -13
  252. data/lib/tzinfo/definitions/Asia/Jerusalem.rb +161 -153
  253. data/lib/tzinfo/definitions/Asia/Kabul.rb +18 -12
  254. data/lib/tzinfo/definitions/Asia/Kamchatka.rb +161 -153
  255. data/lib/tzinfo/definitions/Asia/Karachi.rb +26 -17
  256. data/lib/tzinfo/definitions/Asia/Kashgar.rb +33 -25
  257. data/lib/tzinfo/definitions/Asia/Katmandu.rb +18 -12
  258. data/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +161 -153
  259. data/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +29 -18
  260. data/lib/tzinfo/definitions/Asia/Kuching.rb +38 -29
  261. data/lib/tzinfo/definitions/Asia/Kuwait.rb +16 -11
  262. data/lib/tzinfo/definitions/Asia/Macao.rb +11 -10
  263. data/lib/tzinfo/definitions/Asia/Macau.rb +59 -52
  264. data/lib/tzinfo/definitions/Asia/Magadan.rb +161 -153
  265. data/lib/tzinfo/definitions/Asia/Makassar.rb +21 -14
  266. data/lib/tzinfo/definitions/Asia/Manila.rb +28 -20
  267. data/lib/tzinfo/definitions/Asia/Muscat.rb +16 -11
  268. data/lib/tzinfo/definitions/Asia/Nicosia.rb +169 -163
  269. data/lib/tzinfo/definitions/Asia/Novosibirsk.rb +162 -154
  270. data/lib/tzinfo/definitions/Asia/Omsk.rb +161 -153
  271. data/lib/tzinfo/definitions/Asia/Oral.rb +72 -60
  272. data/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +21 -14
  273. data/lib/tzinfo/definitions/Asia/Pontianak.rb +28 -18
  274. data/lib/tzinfo/definitions/Asia/Pyongyang.rb +23 -16
  275. data/lib/tzinfo/definitions/Asia/Qatar.rb +18 -12
  276. data/lib/tzinfo/definitions/Asia/Qyzylorda.rb +71 -60
  277. data/lib/tzinfo/definitions/Asia/Rangoon.rb +22 -14
  278. data/lib/tzinfo/definitions/Asia/Riyadh.rb +16 -11
  279. data/lib/tzinfo/definitions/Asia/Riyadh87.rb +590 -346
  280. data/lib/tzinfo/definitions/Asia/Riyadh88.rb +580 -347
  281. data/lib/tzinfo/definitions/Asia/Riyadh89.rb +580 -347
  282. data/lib/tzinfo/definitions/Asia/Saigon.rb +21 -14
  283. data/lib/tzinfo/definitions/Asia/Sakhalin.rb +164 -154
  284. data/lib/tzinfo/definitions/Asia/Samarkand.rb +45 -35
  285. data/lib/tzinfo/definitions/Asia/Seoul.rb +32 -23
  286. data/lib/tzinfo/definitions/Asia/Shanghai.rb +33 -27
  287. data/lib/tzinfo/definitions/Asia/Singapore.rb +31 -19
  288. data/lib/tzinfo/definitions/Asia/Taipei.rb +57 -51
  289. data/lib/tzinfo/definitions/Asia/Tashkent.rb +45 -35
  290. data/lib/tzinfo/definitions/Asia/Tbilisi.rb +76 -63
  291. data/lib/tzinfo/definitions/Asia/Tehran.rb +59 -50
  292. data/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +11 -10
  293. data/lib/tzinfo/definitions/Asia/Thimbu.rb +11 -10
  294. data/lib/tzinfo/definitions/Asia/Thimphu.rb +18 -12
  295. data/lib/tzinfo/definitions/Asia/Tokyo.rb +28 -21
  296. data/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +11 -10
  297. data/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +151 -144
  298. data/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +11 -10
  299. data/lib/tzinfo/definitions/Asia/Urumqi.rb +31 -24
  300. data/lib/tzinfo/definitions/Asia/Vientiane.rb +21 -14
  301. data/lib/tzinfo/definitions/Asia/Vladivostok.rb +162 -153
  302. data/lib/tzinfo/definitions/Asia/Yakutsk.rb +161 -153
  303. data/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +163 -153
  304. data/lib/tzinfo/definitions/Asia/Yerevan.rb +163 -151
  305. data/lib/tzinfo/definitions/Atlantic/Azores.rb +268 -257
  306. data/lib/tzinfo/definitions/Atlantic/Bermuda.rb +171 -165
  307. data/lib/tzinfo/definitions/Atlantic/Canary.rb +161 -154
  308. data/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +21 -14
  309. data/lib/tzinfo/definitions/Atlantic/Faeroe.rb +157 -151
  310. data/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +11 -10
  311. data/lib/tzinfo/definitions/Atlantic/Madeira.rb +267 -257
  312. data/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +83 -75
  313. data/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +16 -11
  314. data/lib/tzinfo/definitions/Atlantic/St_Helena.rb +18 -12
  315. data/lib/tzinfo/definitions/Atlantic/Stanley.rb +168 -159
  316. data/lib/tzinfo/definitions/Australia/ACT.rb +11 -10
  317. data/lib/tzinfo/definitions/Australia/Adelaide.rb +185 -178
  318. data/lib/tzinfo/definitions/Australia/Brisbane.rb +33 -27
  319. data/lib/tzinfo/definitions/Australia/Broken_Hill.rb +187 -179
  320. data/lib/tzinfo/definitions/Australia/Canberra.rb +11 -10
  321. data/lib/tzinfo/definitions/Australia/Currie.rb +183 -177
  322. data/lib/tzinfo/definitions/Australia/Darwin.rb +27 -20
  323. data/lib/tzinfo/definitions/Australia/Hobart.rb +191 -185
  324. data/lib/tzinfo/definitions/Australia/LHI.rb +11 -10
  325. data/lib/tzinfo/definitions/Australia/Lindeman.rb +37 -31
  326. data/lib/tzinfo/definitions/Australia/Lord_Howe.rb +158 -150
  327. data/lib/tzinfo/definitions/Australia/Melbourne.rb +183 -177
  328. data/lib/tzinfo/definitions/Australia/NSW.rb +11 -10
  329. data/lib/tzinfo/definitions/Australia/North.rb +11 -10
  330. data/lib/tzinfo/definitions/Australia/Perth.rb +29 -23
  331. data/lib/tzinfo/definitions/Australia/Queensland.rb +11 -10
  332. data/lib/tzinfo/definitions/Australia/South.rb +11 -10
  333. data/lib/tzinfo/definitions/Australia/Sydney.rb +183 -177
  334. data/lib/tzinfo/definitions/Australia/Tasmania.rb +11 -10
  335. data/lib/tzinfo/definitions/Australia/Victoria.rb +11 -10
  336. data/lib/tzinfo/definitions/Australia/West.rb +11 -10
  337. data/lib/tzinfo/definitions/Australia/Yancowinna.rb +11 -10
  338. data/lib/tzinfo/definitions/Brazil/Acre.rb +11 -10
  339. data/lib/tzinfo/definitions/Brazil/DeNoronha.rb +11 -10
  340. data/lib/tzinfo/definitions/Brazil/East.rb +11 -10
  341. data/lib/tzinfo/definitions/Brazil/West.rb +11 -10
  342. data/lib/tzinfo/definitions/CET.rb +173 -168
  343. data/lib/tzinfo/definitions/CST6CDT.rb +190 -183
  344. data/lib/tzinfo/definitions/Canada/Atlantic.rb +11 -10
  345. data/lib/tzinfo/definitions/Canada/Central.rb +11 -10
  346. data/lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb +11 -10
  347. data/lib/tzinfo/definitions/Canada/Eastern.rb +11 -10
  348. data/lib/tzinfo/definitions/Canada/Mountain.rb +11 -10
  349. data/lib/tzinfo/definitions/Canada/Newfoundland.rb +11 -10
  350. data/lib/tzinfo/definitions/Canada/Pacific.rb +11 -10
  351. data/lib/tzinfo/definitions/Canada/Saskatchewan.rb +11 -10
  352. data/lib/tzinfo/definitions/Canada/Yukon.rb +11 -10
  353. data/lib/tzinfo/definitions/Chile/Continental.rb +11 -10
  354. data/lib/tzinfo/definitions/Chile/EasterIsland.rb +11 -10
  355. data/lib/tzinfo/definitions/Cuba.rb +9 -8
  356. data/lib/tzinfo/definitions/EET.rb +161 -156
  357. data/lib/tzinfo/definitions/EST.rb +12 -8
  358. data/lib/tzinfo/definitions/EST5EDT.rb +190 -183
  359. data/lib/tzinfo/definitions/Egypt.rb +9 -8
  360. data/lib/tzinfo/definitions/Eire.rb +9 -8
  361. data/lib/tzinfo/definitions/Etc/GMT.rb +14 -10
  362. data/lib/tzinfo/definitions/Etc/GMT0.rb +11 -10
  363. data/lib/tzinfo/definitions/Etc/GMT__m__0.rb +11 -10
  364. data/lib/tzinfo/definitions/Etc/GMT__m__1.rb +14 -10
  365. data/lib/tzinfo/definitions/Etc/GMT__m__10.rb +14 -10
  366. data/lib/tzinfo/definitions/Etc/GMT__m__11.rb +14 -10
  367. data/lib/tzinfo/definitions/Etc/GMT__m__12.rb +14 -10
  368. data/lib/tzinfo/definitions/Etc/GMT__m__13.rb +14 -10
  369. data/lib/tzinfo/definitions/Etc/GMT__m__14.rb +14 -10
  370. data/lib/tzinfo/definitions/Etc/GMT__m__2.rb +14 -10
  371. data/lib/tzinfo/definitions/Etc/GMT__m__3.rb +14 -10
  372. data/lib/tzinfo/definitions/Etc/GMT__m__4.rb +14 -10
  373. data/lib/tzinfo/definitions/Etc/GMT__m__5.rb +14 -10
  374. data/lib/tzinfo/definitions/Etc/GMT__m__6.rb +14 -10
  375. data/lib/tzinfo/definitions/Etc/GMT__m__7.rb +14 -10
  376. data/lib/tzinfo/definitions/Etc/GMT__m__8.rb +14 -10
  377. data/lib/tzinfo/definitions/Etc/GMT__m__9.rb +14 -10
  378. data/lib/tzinfo/definitions/Etc/GMT__p__0.rb +11 -10
  379. data/lib/tzinfo/definitions/Etc/GMT__p__1.rb +14 -10
  380. data/lib/tzinfo/definitions/Etc/GMT__p__10.rb +14 -10
  381. data/lib/tzinfo/definitions/Etc/GMT__p__11.rb +14 -10
  382. data/lib/tzinfo/definitions/Etc/GMT__p__12.rb +14 -10
  383. data/lib/tzinfo/definitions/Etc/GMT__p__2.rb +14 -10
  384. data/lib/tzinfo/definitions/Etc/GMT__p__3.rb +14 -10
  385. data/lib/tzinfo/definitions/Etc/GMT__p__4.rb +14 -10
  386. data/lib/tzinfo/definitions/Etc/GMT__p__5.rb +14 -10
  387. data/lib/tzinfo/definitions/Etc/GMT__p__6.rb +14 -10
  388. data/lib/tzinfo/definitions/Etc/GMT__p__7.rb +14 -10
  389. data/lib/tzinfo/definitions/Etc/GMT__p__8.rb +14 -10
  390. data/lib/tzinfo/definitions/Etc/GMT__p__9.rb +14 -10
  391. data/lib/tzinfo/definitions/Etc/Greenwich.rb +11 -10
  392. data/lib/tzinfo/definitions/Etc/UCT.rb +14 -10
  393. data/lib/tzinfo/definitions/Etc/UTC.rb +14 -10
  394. data/lib/tzinfo/definitions/Etc/Universal.rb +11 -10
  395. data/lib/tzinfo/definitions/Etc/Zulu.rb +11 -10
  396. data/lib/tzinfo/definitions/Europe/Amsterdam.rb +226 -216
  397. data/lib/tzinfo/definitions/Europe/Andorra.rb +151 -144
  398. data/lib/tzinfo/definitions/Europe/Athens.rb +183 -174
  399. data/lib/tzinfo/definitions/Europe/Belfast.rb +11 -10
  400. data/lib/tzinfo/definitions/Europe/Belgrade.rb +161 -155
  401. data/lib/tzinfo/definitions/Europe/Berlin.rb +186 -179
  402. data/lib/tzinfo/definitions/Europe/Bratislava.rb +11 -10
  403. data/lib/tzinfo/definitions/Europe/Brussels.rb +230 -221
  404. data/lib/tzinfo/definitions/Europe/Bucharest.rb +179 -172
  405. data/lib/tzinfo/definitions/Europe/Budapest.rb +195 -189
  406. data/lib/tzinfo/definitions/Europe/Chisinau.rb +187 -175
  407. data/lib/tzinfo/definitions/Europe/Copenhagen.rb +177 -170
  408. data/lib/tzinfo/definitions/Europe/Dublin.rb +274 -263
  409. data/lib/tzinfo/definitions/Europe/Gibraltar.rb +243 -234
  410. data/lib/tzinfo/definitions/Europe/Helsinki.rb +161 -154
  411. data/lib/tzinfo/definitions/Europe/Istanbul.rb +216 -207
  412. data/lib/tzinfo/definitions/Europe/Kaliningrad.rb +179 -167
  413. data/lib/tzinfo/definitions/Europe/Kiev.rb +166 -155
  414. data/lib/tzinfo/definitions/Europe/Lisbon.rb +266 -257
  415. data/lib/tzinfo/definitions/Europe/Ljubljana.rb +11 -10
  416. data/lib/tzinfo/definitions/Europe/London.rb +286 -277
  417. data/lib/tzinfo/definitions/Europe/Luxembourg.rb +229 -219
  418. data/lib/tzinfo/definitions/Europe/Madrid.rb +209 -200
  419. data/lib/tzinfo/definitions/Europe/Malta.rb +211 -205
  420. data/lib/tzinfo/definitions/Europe/Mariehamn.rb +11 -10
  421. data/lib/tzinfo/definitions/Europe/Minsk.rb +168 -157
  422. data/lib/tzinfo/definitions/Europe/Monaco.rb +231 -221
  423. data/lib/tzinfo/definitions/Europe/Moscow.rb +179 -166
  424. data/lib/tzinfo/definitions/Europe/Nicosia.rb +11 -10
  425. data/lib/tzinfo/definitions/Europe/Oslo.rb +183 -177
  426. data/lib/tzinfo/definitions/Europe/Paris.rb +230 -220
  427. data/lib/tzinfo/definitions/Europe/Prague.rb +185 -178
  428. data/lib/tzinfo/definitions/Europe/Riga.rb +174 -162
  429. data/lib/tzinfo/definitions/Europe/Rome.rb +213 -206
  430. data/lib/tzinfo/definitions/Europe/Samara.rb +164 -153
  431. data/lib/tzinfo/definitions/Europe/San_Marino.rb +11 -10
  432. data/lib/tzinfo/definitions/Europe/Sarajevo.rb +11 -10
  433. data/lib/tzinfo/definitions/Europe/Simferopol.rb +168 -157
  434. data/lib/tzinfo/definitions/Europe/Skopje.rb +11 -10
  435. data/lib/tzinfo/definitions/Europe/Sofia.rb +171 -162
  436. data/lib/tzinfo/definitions/Europe/Stockholm.rb +163 -156
  437. data/lib/tzinfo/definitions/Europe/Tallinn.rb +170 -159
  438. data/lib/tzinfo/definitions/Europe/Tirane.rb +175 -169
  439. data/lib/tzinfo/definitions/Europe/Tiraspol.rb +11 -10
  440. data/lib/tzinfo/definitions/Europe/Uzhgorod.rb +166 -156
  441. data/lib/tzinfo/definitions/Europe/Vaduz.rb +157 -151
  442. data/lib/tzinfo/definitions/Europe/Vatican.rb +11 -10
  443. data/lib/tzinfo/definitions/Europe/Vienna.rb +181 -175
  444. data/lib/tzinfo/definitions/Europe/Vilnius.rb +168 -156
  445. data/lib/tzinfo/definitions/Europe/Warsaw.rb +210 -201
  446. data/lib/tzinfo/definitions/Europe/Zagreb.rb +11 -10
  447. data/lib/tzinfo/definitions/Europe/Zaporozhye.rb +169 -158
  448. data/lib/tzinfo/definitions/Europe/Zurich.rb +165 -158
  449. data/lib/tzinfo/definitions/GB.rb +9 -8
  450. data/lib/tzinfo/definitions/GB__m__Eire.rb +9 -8
  451. data/lib/tzinfo/definitions/GMT.rb +9 -8
  452. data/lib/tzinfo/definitions/GMT0.rb +9 -8
  453. data/lib/tzinfo/definitions/GMT__m__0.rb +9 -8
  454. data/lib/tzinfo/definitions/GMT__p__0.rb +9 -8
  455. data/lib/tzinfo/definitions/Greenwich.rb +9 -8
  456. data/lib/tzinfo/definitions/HST.rb +12 -8
  457. data/lib/tzinfo/definitions/Hongkong.rb +9 -8
  458. data/lib/tzinfo/definitions/Iceland.rb +9 -8
  459. data/lib/tzinfo/definitions/Indian/Antananarivo.rb +19 -13
  460. data/lib/tzinfo/definitions/Indian/Chagos.rb +18 -12
  461. data/lib/tzinfo/definitions/Indian/Christmas.rb +16 -11
  462. data/lib/tzinfo/definitions/Indian/Cocos.rb +16 -11
  463. data/lib/tzinfo/definitions/Indian/Comoro.rb +16 -11
  464. data/lib/tzinfo/definitions/Indian/Kerguelen.rb +16 -11
  465. data/lib/tzinfo/definitions/Indian/Mahe.rb +16 -11
  466. data/lib/tzinfo/definitions/Indian/Maldives.rb +18 -12
  467. data/lib/tzinfo/definitions/Indian/Mauritius.rb +16 -11
  468. data/lib/tzinfo/definitions/Indian/Mayotte.rb +16 -11
  469. data/lib/tzinfo/definitions/Indian/Reunion.rb +16 -11
  470. data/lib/tzinfo/definitions/Iran.rb +9 -8
  471. data/lib/tzinfo/definitions/Israel.rb +9 -8
  472. data/lib/tzinfo/definitions/Jamaica.rb +9 -8
  473. data/lib/tzinfo/definitions/Japan.rb +9 -8
  474. data/lib/tzinfo/definitions/Kwajalein.rb +9 -8
  475. data/lib/tzinfo/definitions/Libya.rb +9 -8
  476. data/lib/tzinfo/definitions/MET.rb +173 -168
  477. data/lib/tzinfo/definitions/MST.rb +12 -8
  478. data/lib/tzinfo/definitions/MST7MDT.rb +190 -183
  479. data/lib/tzinfo/definitions/Mexico/BajaNorte.rb +11 -10
  480. data/lib/tzinfo/definitions/Mexico/BajaSur.rb +11 -10
  481. data/lib/tzinfo/definitions/Mexico/General.rb +11 -10
  482. data/lib/tzinfo/definitions/Mideast/Riyadh87.rb +11 -10
  483. data/lib/tzinfo/definitions/Mideast/Riyadh88.rb +11 -10
  484. data/lib/tzinfo/definitions/Mideast/Riyadh89.rb +11 -10
  485. data/lib/tzinfo/definitions/NZ.rb +9 -8
  486. data/lib/tzinfo/definitions/NZ__m__CHAT.rb +9 -8
  487. data/lib/tzinfo/definitions/Navajo.rb +9 -8
  488. data/lib/tzinfo/definitions/PRC.rb +9 -8
  489. data/lib/tzinfo/definitions/PST8PDT.rb +190 -183
  490. data/lib/tzinfo/definitions/Pacific/Apia.rb +20 -13
  491. data/lib/tzinfo/definitions/Pacific/Auckland.rb +200 -190
  492. data/lib/tzinfo/definitions/Pacific/Chatham.rb +169 -163
  493. data/lib/tzinfo/definitions/Pacific/Easter.rb +189 -180
  494. data/lib/tzinfo/definitions/Pacific/Efate.rb +37 -31
  495. data/lib/tzinfo/definitions/Pacific/Enderbury.rb +20 -13
  496. data/lib/tzinfo/definitions/Pacific/Fakaofo.rb +16 -11
  497. data/lib/tzinfo/definitions/Pacific/Fiji.rb +21 -15
  498. data/lib/tzinfo/definitions/Pacific/Funafuti.rb +16 -11
  499. data/lib/tzinfo/definitions/Pacific/Galapagos.rb +18 -12
  500. data/lib/tzinfo/definitions/Pacific/Gambier.rb +16 -11
  501. data/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +16 -11
  502. data/lib/tzinfo/definitions/Pacific/Guam.rb +20 -13
  503. data/lib/tzinfo/definitions/Pacific/Honolulu.rb +26 -17
  504. data/lib/tzinfo/definitions/Pacific/Johnston.rb +14 -10
  505. data/lib/tzinfo/definitions/Pacific/Kiritimati.rb +20 -13
  506. data/lib/tzinfo/definitions/Pacific/Kosrae.rb +19 -13
  507. data/lib/tzinfo/definitions/Pacific/Kwajalein.rb +20 -13
  508. data/lib/tzinfo/definitions/Pacific/Majuro.rb +18 -12
  509. data/lib/tzinfo/definitions/Pacific/Marquesas.rb +16 -11
  510. data/lib/tzinfo/definitions/Pacific/Midway.rb +23 -15
  511. data/lib/tzinfo/definitions/Pacific/Nauru.rb +21 -14
  512. data/lib/tzinfo/definitions/Pacific/Niue.rb +20 -13
  513. data/lib/tzinfo/definitions/Pacific/Norfolk.rb +18 -12
  514. data/lib/tzinfo/definitions/Pacific/Noumea.rb +23 -17
  515. data/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +24 -15
  516. data/lib/tzinfo/definitions/Pacific/Palau.rb +16 -11
  517. data/lib/tzinfo/definitions/Pacific/Pitcairn.rb +18 -12
  518. data/lib/tzinfo/definitions/Pacific/Ponape.rb +16 -11
  519. data/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +18 -12
  520. data/lib/tzinfo/definitions/Pacific/Rarotonga.rb +44 -37
  521. data/lib/tzinfo/definitions/Pacific/Saipan.rb +22 -14
  522. data/lib/tzinfo/definitions/Pacific/Samoa.rb +11 -10
  523. data/lib/tzinfo/definitions/Pacific/Tahiti.rb +16 -11
  524. data/lib/tzinfo/definitions/Pacific/Tarawa.rb +16 -11
  525. data/lib/tzinfo/definitions/Pacific/Tongatapu.rb +25 -18
  526. data/lib/tzinfo/definitions/Pacific/Truk.rb +16 -11
  527. data/lib/tzinfo/definitions/Pacific/Wake.rb +16 -11
  528. data/lib/tzinfo/definitions/Pacific/Wallis.rb +16 -11
  529. data/lib/tzinfo/definitions/Pacific/Yap.rb +11 -10
  530. data/lib/tzinfo/definitions/Poland.rb +9 -8
  531. data/lib/tzinfo/definitions/Portugal.rb +9 -8
  532. data/lib/tzinfo/definitions/ROC.rb +9 -8
  533. data/lib/tzinfo/definitions/ROK.rb +9 -8
  534. data/lib/tzinfo/definitions/Singapore.rb +9 -8
  535. data/lib/tzinfo/definitions/Turkey.rb +9 -8
  536. data/lib/tzinfo/definitions/UCT.rb +9 -8
  537. data/lib/tzinfo/definitions/US/Alaska.rb +11 -10
  538. data/lib/tzinfo/definitions/US/Aleutian.rb +11 -10
  539. data/lib/tzinfo/definitions/US/Arizona.rb +11 -10
  540. data/lib/tzinfo/definitions/US/Central.rb +11 -10
  541. data/lib/tzinfo/definitions/US/East__m__Indiana.rb +11 -10
  542. data/lib/tzinfo/definitions/US/Eastern.rb +11 -10
  543. data/lib/tzinfo/definitions/US/Hawaii.rb +11 -10
  544. data/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +11 -10
  545. data/lib/tzinfo/definitions/US/Michigan.rb +11 -10
  546. data/lib/tzinfo/definitions/US/Mountain.rb +11 -10
  547. data/lib/tzinfo/definitions/US/Pacific.rb +11 -10
  548. data/lib/tzinfo/definitions/US/Pacific__m__New.rb +11 -10
  549. data/lib/tzinfo/definitions/US/Samoa.rb +11 -10
  550. data/lib/tzinfo/definitions/UTC.rb +9 -8
  551. data/lib/tzinfo/definitions/Universal.rb +9 -8
  552. data/lib/tzinfo/definitions/WET.rb +161 -156
  553. data/lib/tzinfo/definitions/W__m__SU.rb +9 -8
  554. data/lib/tzinfo/definitions/Zulu.rb +9 -8
  555. data/lib/tzinfo/indexes/countries.rb +875 -0
  556. data/lib/tzinfo/indexes/timezones.rb +554 -0
  557. data/lib/tzinfo/info_timezone.rb +52 -0
  558. data/lib/tzinfo/linked_timezone.rb +51 -0
  559. data/lib/tzinfo/linked_timezone_info.rb +44 -0
  560. data/lib/tzinfo/time_or_datetime.rb +33 -22
  561. data/lib/tzinfo/timezone.rb +162 -112
  562. data/lib/tzinfo/timezone_definition.rb +56 -0
  563. data/lib/tzinfo/timezone_index_definition.rb +72 -0
  564. data/lib/tzinfo/timezone_info.rb +40 -0
  565. data/lib/tzinfo/timezone_offset_info.rb +94 -0
  566. data/lib/tzinfo/timezone_period.rb +110 -53
  567. data/lib/tzinfo/timezone_proxy.rb +85 -0
  568. data/lib/tzinfo/timezone_transition_info.rb +127 -0
  569. data/lib/tzinfo/tzdataparser.rb +261 -203
  570. data/test/tc_country.rb +63 -38
  571. data/test/tc_country_index_definition.rb +71 -0
  572. data/test/tc_country_info.rb +72 -0
  573. data/test/tc_country_timezone.rb +121 -0
  574. data/test/tc_data_timezone.rb +69 -0
  575. data/test/tc_data_timezone_info.rb +282 -0
  576. data/test/tc_info_timezone.rb +37 -0
  577. data/test/tc_linked_timezone.rb +97 -0
  578. data/test/tc_linked_timezone_info.rb +18 -0
  579. data/test/tc_time_or_datetime.rb +30 -0
  580. data/test/tc_timezone.rb +536 -319
  581. data/test/tc_timezone_definition.rb +115 -0
  582. data/test/tc_timezone_index_definition.rb +75 -0
  583. data/test/tc_timezone_info.rb +13 -0
  584. data/test/tc_timezone_offset_info.rb +116 -0
  585. data/test/tc_timezone_period.rb +298 -78
  586. data/test/tc_timezone_proxy.rb +23 -13
  587. data/test/tc_timezone_transition_info.rb +194 -0
  588. metadata +38 -249
  589. data/lib/tzinfo/countries/AD.rb +0 -12
  590. data/lib/tzinfo/countries/AE.rb +0 -12
  591. data/lib/tzinfo/countries/AF.rb +0 -12
  592. data/lib/tzinfo/countries/AG.rb +0 -12
  593. data/lib/tzinfo/countries/AI.rb +0 -12
  594. data/lib/tzinfo/countries/AL.rb +0 -12
  595. data/lib/tzinfo/countries/AM.rb +0 -12
  596. data/lib/tzinfo/countries/AN.rb +0 -12
  597. data/lib/tzinfo/countries/AO.rb +0 -12
  598. data/lib/tzinfo/countries/AQ.rb +0 -21
  599. data/lib/tzinfo/countries/AR.rb +0 -21
  600. data/lib/tzinfo/countries/AS.rb +0 -12
  601. data/lib/tzinfo/countries/AT.rb +0 -12
  602. data/lib/tzinfo/countries/AU.rb +0 -22
  603. data/lib/tzinfo/countries/AW.rb +0 -12
  604. data/lib/tzinfo/countries/AX.rb +0 -12
  605. data/lib/tzinfo/countries/AZ.rb +0 -12
  606. data/lib/tzinfo/countries/BA.rb +0 -12
  607. data/lib/tzinfo/countries/BB.rb +0 -12
  608. data/lib/tzinfo/countries/BD.rb +0 -12
  609. data/lib/tzinfo/countries/BE.rb +0 -12
  610. data/lib/tzinfo/countries/BF.rb +0 -12
  611. data/lib/tzinfo/countries/BG.rb +0 -12
  612. data/lib/tzinfo/countries/BH.rb +0 -12
  613. data/lib/tzinfo/countries/BI.rb +0 -12
  614. data/lib/tzinfo/countries/BJ.rb +0 -12
  615. data/lib/tzinfo/countries/BM.rb +0 -12
  616. data/lib/tzinfo/countries/BN.rb +0 -12
  617. data/lib/tzinfo/countries/BO.rb +0 -12
  618. data/lib/tzinfo/countries/BR.rb +0 -26
  619. data/lib/tzinfo/countries/BS.rb +0 -12
  620. data/lib/tzinfo/countries/BT.rb +0 -12
  621. data/lib/tzinfo/countries/BV.rb +0 -11
  622. data/lib/tzinfo/countries/BW.rb +0 -12
  623. data/lib/tzinfo/countries/BY.rb +0 -12
  624. data/lib/tzinfo/countries/BZ.rb +0 -12
  625. data/lib/tzinfo/countries/CA.rb +0 -36
  626. data/lib/tzinfo/countries/CC.rb +0 -12
  627. data/lib/tzinfo/countries/CD.rb +0 -13
  628. data/lib/tzinfo/countries/CF.rb +0 -12
  629. data/lib/tzinfo/countries/CG.rb +0 -12
  630. data/lib/tzinfo/countries/CH.rb +0 -12
  631. data/lib/tzinfo/countries/CI.rb +0 -12
  632. data/lib/tzinfo/countries/CK.rb +0 -12
  633. data/lib/tzinfo/countries/CL.rb +0 -13
  634. data/lib/tzinfo/countries/CM.rb +0 -12
  635. data/lib/tzinfo/countries/CN.rb +0 -16
  636. data/lib/tzinfo/countries/CO.rb +0 -12
  637. data/lib/tzinfo/countries/CR.rb +0 -12
  638. data/lib/tzinfo/countries/CS.rb +0 -12
  639. data/lib/tzinfo/countries/CU.rb +0 -12
  640. data/lib/tzinfo/countries/CV.rb +0 -12
  641. data/lib/tzinfo/countries/CX.rb +0 -12
  642. data/lib/tzinfo/countries/CY.rb +0 -12
  643. data/lib/tzinfo/countries/CZ.rb +0 -12
  644. data/lib/tzinfo/countries/DE.rb +0 -12
  645. data/lib/tzinfo/countries/DJ.rb +0 -12
  646. data/lib/tzinfo/countries/DK.rb +0 -12
  647. data/lib/tzinfo/countries/DM.rb +0 -12
  648. data/lib/tzinfo/countries/DO.rb +0 -12
  649. data/lib/tzinfo/countries/DZ.rb +0 -12
  650. data/lib/tzinfo/countries/EC.rb +0 -13
  651. data/lib/tzinfo/countries/EE.rb +0 -12
  652. data/lib/tzinfo/countries/EG.rb +0 -12
  653. data/lib/tzinfo/countries/EH.rb +0 -12
  654. data/lib/tzinfo/countries/ER.rb +0 -12
  655. data/lib/tzinfo/countries/ES.rb +0 -14
  656. data/lib/tzinfo/countries/ET.rb +0 -12
  657. data/lib/tzinfo/countries/FI.rb +0 -12
  658. data/lib/tzinfo/countries/FJ.rb +0 -12
  659. data/lib/tzinfo/countries/FK.rb +0 -12
  660. data/lib/tzinfo/countries/FM.rb +0 -14
  661. data/lib/tzinfo/countries/FO.rb +0 -12
  662. data/lib/tzinfo/countries/FR.rb +0 -12
  663. data/lib/tzinfo/countries/GA.rb +0 -12
  664. data/lib/tzinfo/countries/GB.rb +0 -12
  665. data/lib/tzinfo/countries/GD.rb +0 -12
  666. data/lib/tzinfo/countries/GE.rb +0 -12
  667. data/lib/tzinfo/countries/GF.rb +0 -12
  668. data/lib/tzinfo/countries/GH.rb +0 -12
  669. data/lib/tzinfo/countries/GI.rb +0 -12
  670. data/lib/tzinfo/countries/GL.rb +0 -15
  671. data/lib/tzinfo/countries/GM.rb +0 -12
  672. data/lib/tzinfo/countries/GN.rb +0 -12
  673. data/lib/tzinfo/countries/GP.rb +0 -12
  674. data/lib/tzinfo/countries/GQ.rb +0 -12
  675. data/lib/tzinfo/countries/GR.rb +0 -12
  676. data/lib/tzinfo/countries/GS.rb +0 -12
  677. data/lib/tzinfo/countries/GT.rb +0 -12
  678. data/lib/tzinfo/countries/GU.rb +0 -12
  679. data/lib/tzinfo/countries/GW.rb +0 -12
  680. data/lib/tzinfo/countries/GY.rb +0 -12
  681. data/lib/tzinfo/countries/HK.rb +0 -12
  682. data/lib/tzinfo/countries/HM.rb +0 -11
  683. data/lib/tzinfo/countries/HN.rb +0 -12
  684. data/lib/tzinfo/countries/HR.rb +0 -12
  685. data/lib/tzinfo/countries/HT.rb +0 -12
  686. data/lib/tzinfo/countries/HU.rb +0 -12
  687. data/lib/tzinfo/countries/ID.rb +0 -15
  688. data/lib/tzinfo/countries/IE.rb +0 -12
  689. data/lib/tzinfo/countries/IL.rb +0 -12
  690. data/lib/tzinfo/countries/IN.rb +0 -12
  691. data/lib/tzinfo/countries/IO.rb +0 -12
  692. data/lib/tzinfo/countries/IQ.rb +0 -12
  693. data/lib/tzinfo/countries/IR.rb +0 -12
  694. data/lib/tzinfo/countries/IS.rb +0 -12
  695. data/lib/tzinfo/countries/IT.rb +0 -12
  696. data/lib/tzinfo/countries/Index.rb +0 -253
  697. data/lib/tzinfo/countries/JM.rb +0 -12
  698. data/lib/tzinfo/countries/JO.rb +0 -12
  699. data/lib/tzinfo/countries/JP.rb +0 -12
  700. data/lib/tzinfo/countries/KE.rb +0 -12
  701. data/lib/tzinfo/countries/KG.rb +0 -12
  702. data/lib/tzinfo/countries/KH.rb +0 -12
  703. data/lib/tzinfo/countries/KI.rb +0 -14
  704. data/lib/tzinfo/countries/KM.rb +0 -12
  705. data/lib/tzinfo/countries/KN.rb +0 -12
  706. data/lib/tzinfo/countries/KP.rb +0 -12
  707. data/lib/tzinfo/countries/KR.rb +0 -12
  708. data/lib/tzinfo/countries/KW.rb +0 -12
  709. data/lib/tzinfo/countries/KY.rb +0 -12
  710. data/lib/tzinfo/countries/KZ.rb +0 -16
  711. data/lib/tzinfo/countries/LA.rb +0 -12
  712. data/lib/tzinfo/countries/LB.rb +0 -12
  713. data/lib/tzinfo/countries/LC.rb +0 -12
  714. data/lib/tzinfo/countries/LI.rb +0 -12
  715. data/lib/tzinfo/countries/LK.rb +0 -12
  716. data/lib/tzinfo/countries/LR.rb +0 -12
  717. data/lib/tzinfo/countries/LS.rb +0 -12
  718. data/lib/tzinfo/countries/LT.rb +0 -12
  719. data/lib/tzinfo/countries/LU.rb +0 -12
  720. data/lib/tzinfo/countries/LV.rb +0 -12
  721. data/lib/tzinfo/countries/LY.rb +0 -12
  722. data/lib/tzinfo/countries/MA.rb +0 -12
  723. data/lib/tzinfo/countries/MC.rb +0 -12
  724. data/lib/tzinfo/countries/MD.rb +0 -12
  725. data/lib/tzinfo/countries/MG.rb +0 -12
  726. data/lib/tzinfo/countries/MH.rb +0 -13
  727. data/lib/tzinfo/countries/MK.rb +0 -12
  728. data/lib/tzinfo/countries/ML.rb +0 -12
  729. data/lib/tzinfo/countries/MM.rb +0 -12
  730. data/lib/tzinfo/countries/MN.rb +0 -14
  731. data/lib/tzinfo/countries/MO.rb +0 -12
  732. data/lib/tzinfo/countries/MP.rb +0 -12
  733. data/lib/tzinfo/countries/MQ.rb +0 -12
  734. data/lib/tzinfo/countries/MR.rb +0 -12
  735. data/lib/tzinfo/countries/MS.rb +0 -12
  736. data/lib/tzinfo/countries/MT.rb +0 -12
  737. data/lib/tzinfo/countries/MU.rb +0 -12
  738. data/lib/tzinfo/countries/MV.rb +0 -12
  739. data/lib/tzinfo/countries/MW.rb +0 -12
  740. data/lib/tzinfo/countries/MX.rb +0 -19
  741. data/lib/tzinfo/countries/MY.rb +0 -13
  742. data/lib/tzinfo/countries/MZ.rb +0 -12
  743. data/lib/tzinfo/countries/NA.rb +0 -12
  744. data/lib/tzinfo/countries/NC.rb +0 -12
  745. data/lib/tzinfo/countries/NE.rb +0 -12
  746. data/lib/tzinfo/countries/NF.rb +0 -12
  747. data/lib/tzinfo/countries/NG.rb +0 -12
  748. data/lib/tzinfo/countries/NI.rb +0 -12
  749. data/lib/tzinfo/countries/NL.rb +0 -12
  750. data/lib/tzinfo/countries/NO.rb +0 -12
  751. data/lib/tzinfo/countries/NP.rb +0 -12
  752. data/lib/tzinfo/countries/NR.rb +0 -12
  753. data/lib/tzinfo/countries/NU.rb +0 -12
  754. data/lib/tzinfo/countries/NZ.rb +0 -13
  755. data/lib/tzinfo/countries/OM.rb +0 -12
  756. data/lib/tzinfo/countries/PA.rb +0 -12
  757. data/lib/tzinfo/countries/PE.rb +0 -12
  758. data/lib/tzinfo/countries/PF.rb +0 -14
  759. data/lib/tzinfo/countries/PG.rb +0 -12
  760. data/lib/tzinfo/countries/PH.rb +0 -12
  761. data/lib/tzinfo/countries/PK.rb +0 -12
  762. data/lib/tzinfo/countries/PL.rb +0 -12
  763. data/lib/tzinfo/countries/PM.rb +0 -12
  764. data/lib/tzinfo/countries/PN.rb +0 -12
  765. data/lib/tzinfo/countries/PR.rb +0 -12
  766. data/lib/tzinfo/countries/PS.rb +0 -12
  767. data/lib/tzinfo/countries/PT.rb +0 -14
  768. data/lib/tzinfo/countries/PW.rb +0 -12
  769. data/lib/tzinfo/countries/PY.rb +0 -12
  770. data/lib/tzinfo/countries/QA.rb +0 -12
  771. data/lib/tzinfo/countries/RE.rb +0 -12
  772. data/lib/tzinfo/countries/RO.rb +0 -12
  773. data/lib/tzinfo/countries/RU.rb +0 -25
  774. data/lib/tzinfo/countries/RW.rb +0 -12
  775. data/lib/tzinfo/countries/SA.rb +0 -12
  776. data/lib/tzinfo/countries/SB.rb +0 -12
  777. data/lib/tzinfo/countries/SC.rb +0 -12
  778. data/lib/tzinfo/countries/SD.rb +0 -12
  779. data/lib/tzinfo/countries/SE.rb +0 -12
  780. data/lib/tzinfo/countries/SG.rb +0 -12
  781. data/lib/tzinfo/countries/SH.rb +0 -12
  782. data/lib/tzinfo/countries/SI.rb +0 -12
  783. data/lib/tzinfo/countries/SJ.rb +0 -13
  784. data/lib/tzinfo/countries/SK.rb +0 -12
  785. data/lib/tzinfo/countries/SL.rb +0 -12
  786. data/lib/tzinfo/countries/SM.rb +0 -12
  787. data/lib/tzinfo/countries/SN.rb +0 -12
  788. data/lib/tzinfo/countries/SO.rb +0 -12
  789. data/lib/tzinfo/countries/SR.rb +0 -12
  790. data/lib/tzinfo/countries/ST.rb +0 -12
  791. data/lib/tzinfo/countries/SV.rb +0 -12
  792. data/lib/tzinfo/countries/SY.rb +0 -12
  793. data/lib/tzinfo/countries/SZ.rb +0 -12
  794. data/lib/tzinfo/countries/TC.rb +0 -12
  795. data/lib/tzinfo/countries/TD.rb +0 -12
  796. data/lib/tzinfo/countries/TF.rb +0 -12
  797. data/lib/tzinfo/countries/TG.rb +0 -12
  798. data/lib/tzinfo/countries/TH.rb +0 -12
  799. data/lib/tzinfo/countries/TJ.rb +0 -12
  800. data/lib/tzinfo/countries/TK.rb +0 -12
  801. data/lib/tzinfo/countries/TL.rb +0 -12
  802. data/lib/tzinfo/countries/TM.rb +0 -12
  803. data/lib/tzinfo/countries/TN.rb +0 -12
  804. data/lib/tzinfo/countries/TO.rb +0 -12
  805. data/lib/tzinfo/countries/TR.rb +0 -12
  806. data/lib/tzinfo/countries/TT.rb +0 -12
  807. data/lib/tzinfo/countries/TV.rb +0 -12
  808. data/lib/tzinfo/countries/TW.rb +0 -12
  809. data/lib/tzinfo/countries/TZ.rb +0 -12
  810. data/lib/tzinfo/countries/UA.rb +0 -15
  811. data/lib/tzinfo/countries/UG.rb +0 -12
  812. data/lib/tzinfo/countries/UM.rb +0 -14
  813. data/lib/tzinfo/countries/US.rb +0 -36
  814. data/lib/tzinfo/countries/UY.rb +0 -12
  815. data/lib/tzinfo/countries/UZ.rb +0 -13
  816. data/lib/tzinfo/countries/VA.rb +0 -12
  817. data/lib/tzinfo/countries/VC.rb +0 -12
  818. data/lib/tzinfo/countries/VE.rb +0 -12
  819. data/lib/tzinfo/countries/VG.rb +0 -12
  820. data/lib/tzinfo/countries/VI.rb +0 -12
  821. data/lib/tzinfo/countries/VN.rb +0 -12
  822. data/lib/tzinfo/countries/VU.rb +0 -12
  823. data/lib/tzinfo/countries/WF.rb +0 -12
  824. data/lib/tzinfo/countries/WS.rb +0 -12
  825. data/lib/tzinfo/countries/YE.rb +0 -12
  826. data/lib/tzinfo/countries/YT.rb +0 -12
  827. data/lib/tzinfo/countries/ZA.rb +0 -12
  828. data/lib/tzinfo/countries/ZM.rb +0 -12
  829. data/lib/tzinfo/countries/ZW.rb +0 -12
  830. data/lib/tzinfo/timezone_period_list.rb +0 -234
  831. data/test/tc_timezone_period_list.rb +0 -310
@@ -1,51 +1,57 @@
1
- require 'tzinfo/timezone'
1
+ require 'tzinfo/timezone_definition'
2
+
2
3
  module TZInfo
3
- module Definitions #:nodoc:
4
- module America #:nodoc:
5
- class Recife < Timezone #:nodoc:
6
- setup
7
- set_identifier('America/Recife')
8
- add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(8712480949,3600),0,Date::ITALY),-8376,0,:LMT)}
9
- add_period(1914,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(8712480949,3600),0,Date::ITALY),DateTime.new0(Rational.new!(29119417,12),0,Date::ITALY),-10800,0,:BRT)}
10
- add_period(1931,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(29119417,12),0,Date::ITALY),DateTime.new0(Rational.new!(29121583,12),0,Date::ITALY),-10800,3600,:BRST)}
11
- add_period(1932,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29121583,12),0,Date::ITALY),DateTime.new0(Rational.new!(19415869,8),0,Date::ITALY),-10800,0,:BRT)}
12
- add_period(1932,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(19415869,8),0,Date::ITALY),DateTime.new0(Rational.new!(29125963,12),0,Date::ITALY),-10800,3600,:BRST)}
13
- add_period(1933,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29125963,12),0,Date::ITALY),DateTime.new0(Rational.new!(19466013,8),0,Date::ITALY),-10800,0,:BRT)}
14
- add_period(1949,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(19466013,8),0,Date::ITALY),DateTime.new0(Rational.new!(19467101,8),0,Date::ITALY),-10800,3600,:BRST)}
15
- add_period(1950,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19467101,8),0,Date::ITALY),DateTime.new0(Rational.new!(19468933,8),0,Date::ITALY),-10800,0,:BRT)}
16
- add_period(1950,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(19468933,8),0,Date::ITALY),DateTime.new0(Rational.new!(29204851,12),0,Date::ITALY),-10800,3600,:BRST)}
17
- add_period(1951,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29204851,12),0,Date::ITALY),DateTime.new0(Rational.new!(19471853,8),0,Date::ITALY),-10800,0,:BRT)}
18
- add_period(1951,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(19471853,8),0,Date::ITALY),DateTime.new0(Rational.new!(29209243,12),0,Date::ITALY),-10800,3600,:BRST)}
19
- add_period(1952,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(29209243,12),0,Date::ITALY),DateTime.new0(Rational.new!(19474781,8),0,Date::ITALY),-10800,0,:BRT)}
20
- add_period(1952,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(19474781,8),0,Date::ITALY),DateTime.new0(Rational.new!(29213251,12),0,Date::ITALY),-10800,3600,:BRST)}
21
- add_period(1953,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29213251,12),0,Date::ITALY),DateTime.new0(Rational.new!(19506981,8),0,Date::ITALY),-10800,0,:BRT)}
22
- add_period(1963,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(19506981,8),0,Date::ITALY),DateTime.new0(Rational.new!(29261467,12),0,Date::ITALY),-10800,3600,:BRST)}
23
- add_period(1964,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29261467,12),0,Date::ITALY),DateTime.new0(Rational.new!(19510333,8),0,Date::ITALY),-10800,0,:BRT)}
24
- add_period(1965,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(19510333,8),0,Date::ITALY),DateTime.new0(Rational.new!(29266207,12),0,Date::ITALY),-10800,3600,:BRST)}
25
- add_period(1965,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29266207,12),0,Date::ITALY),DateTime.new0(Rational.new!(19512765,8),0,Date::ITALY),-10800,0,:BRT)}
26
- add_period(1965,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(19512765,8),0,Date::ITALY),DateTime.new0(Rational.new!(29270227,12),0,Date::ITALY),-10800,3600,:BRST)}
27
- add_period(1966,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29270227,12),0,Date::ITALY),DateTime.new0(Rational.new!(19515445,8),0,Date::ITALY),-10800,0,:BRT)}
28
- add_period(1966,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(19515445,8),0,Date::ITALY),DateTime.new0(Rational.new!(29274607,12),0,Date::ITALY),-10800,3600,:BRST)}
29
- add_period(1967,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29274607,12),0,Date::ITALY),DateTime.new0(Rational.new!(19518365,8),0,Date::ITALY),-10800,0,:BRT)}
30
- add_period(1967,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(19518365,8),0,Date::ITALY),DateTime.new0(Rational.new!(29278999,12),0,Date::ITALY),-10800,3600,:BRST)}
31
- add_period(1968,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(29278999,12),0,Date::ITALY),499748400,-10800,0,:BRT)}
32
- add_period(1985,11) {TimezonePeriod.new(499748400,511236000,-10800,3600,:BRST)}
33
- add_period(1986,3) {TimezonePeriod.new(511236000,530593200,-10800,0,:BRT)}
34
- add_period(1986,10) {TimezonePeriod.new(530593200,540266400,-10800,3600,:BRST)}
35
- add_period(1987,2) {TimezonePeriod.new(540266400,562129200,-10800,0,:BRT)}
36
- add_period(1987,10) {TimezonePeriod.new(562129200,571197600,-10800,3600,:BRST)}
37
- add_period(1988,2) {TimezonePeriod.new(571197600,592974000,-10800,0,:BRT)}
38
- add_period(1988,10) {TimezonePeriod.new(592974000,602042400,-10800,3600,:BRST)}
39
- add_period(1989,1) {TimezonePeriod.new(602042400,624423600,-10800,0,:BRT)}
40
- add_period(1989,10) {TimezonePeriod.new(624423600,634701600,-10800,3600,:BRST)}
41
- add_period(1990,2) {TimezonePeriod.new(634701600,938919600,-10800,0,:BRT)}
42
- add_period(1999,10) {TimezonePeriod.new(938919600,951616800,-10800,3600,:BRST)}
43
- add_period(2000,2) {TimezonePeriod.new(951616800,970974000,-10800,0,:BRT)}
44
- add_period(2000,10) {TimezonePeriod.new(970974000,971575200,-10800,3600,:BRST)}
45
- add_period(2000,10) {TimezonePeriod.new(971575200,1003028400,-10800,0,:BRT)}
46
- add_period(2001,10) {TimezonePeriod.new(1003028400,1013911200,-10800,3600,:BRST)}
47
- add_period(2002,2) {TimezonePeriod.new(1013911200,nil,-10800,0,:BRT)}
48
- end
49
- end
50
- end
4
+ module Definitions
5
+ module America
6
+ module Recife
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Recife' do |tz|
10
+ tz.offset :o0, -8376, 0, :LMT
11
+ tz.offset :o1, -10800, 0, :BRT
12
+ tz.offset :o2, -10800, 3600, :BRST
13
+
14
+ tz.transition 1914, 1, :o1, 8712480949, 3600
15
+ tz.transition 1931, 10, :o2, 29119417, 12
16
+ tz.transition 1932, 4, :o1, 29121583, 12
17
+ tz.transition 1932, 10, :o2, 19415869, 8
18
+ tz.transition 1933, 4, :o1, 29125963, 12
19
+ tz.transition 1949, 12, :o2, 19466013, 8
20
+ tz.transition 1950, 4, :o1, 19467101, 8
21
+ tz.transition 1950, 12, :o2, 19468933, 8
22
+ tz.transition 1951, 4, :o1, 29204851, 12
23
+ tz.transition 1951, 12, :o2, 19471853, 8
24
+ tz.transition 1952, 4, :o1, 29209243, 12
25
+ tz.transition 1952, 12, :o2, 19474781, 8
26
+ tz.transition 1953, 3, :o1, 29213251, 12
27
+ tz.transition 1963, 12, :o2, 19506981, 8
28
+ tz.transition 1964, 3, :o1, 29261467, 12
29
+ tz.transition 1965, 1, :o2, 19510333, 8
30
+ tz.transition 1965, 3, :o1, 29266207, 12
31
+ tz.transition 1965, 12, :o2, 19512765, 8
32
+ tz.transition 1966, 3, :o1, 29270227, 12
33
+ tz.transition 1966, 11, :o2, 19515445, 8
34
+ tz.transition 1967, 3, :o1, 29274607, 12
35
+ tz.transition 1967, 11, :o2, 19518365, 8
36
+ tz.transition 1968, 3, :o1, 29278999, 12
37
+ tz.transition 1985, 11, :o2, 499748400
38
+ tz.transition 1986, 3, :o1, 511236000
39
+ tz.transition 1986, 10, :o2, 530593200
40
+ tz.transition 1987, 2, :o1, 540266400
41
+ tz.transition 1987, 10, :o2, 562129200
42
+ tz.transition 1988, 2, :o1, 571197600
43
+ tz.transition 1988, 10, :o2, 592974000
44
+ tz.transition 1989, 1, :o1, 602042400
45
+ tz.transition 1989, 10, :o2, 624423600
46
+ tz.transition 1990, 2, :o1, 634701600
47
+ tz.transition 1999, 10, :o2, 938919600
48
+ tz.transition 2000, 2, :o1, 951616800
49
+ tz.transition 2000, 10, :o2, 970974000
50
+ tz.transition 2000, 10, :o1, 971575200
51
+ tz.transition 2001, 10, :o2, 1003028400
52
+ tz.transition 2002, 2, :o1, 1013911200
53
+ end
54
+ end
55
+ end
56
+ end
51
57
  end
@@ -1,65 +1,74 @@
1
- require 'tzinfo/timezone'
1
+ require 'tzinfo/timezone_definition'
2
+
2
3
  module TZInfo
3
- module Definitions #:nodoc:
4
- module America #:nodoc:
5
- class Regina < Timezone #:nodoc:
6
- setup
7
- set_identifier('America/Regina')
8
- add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(17403046493,7200),0,Date::ITALY),-25116,0,:LMT)}
9
- add_period(1905,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(17403046493,7200),0,Date::ITALY),DateTime.new0(Rational.new!(19373583,8),0,Date::ITALY),-25200,0,:MST)}
10
- add_period(1918,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19373583,8),0,Date::ITALY),DateTime.new0(Rational.new!(14531387,6),0,Date::ITALY),-25200,3600,:MDT)}
11
- add_period(1918,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14531387,6),0,Date::ITALY),DateTime.new0(Rational.new!(58226419,24),0,Date::ITALY),-25200,0,:MST)}
12
- add_period(1930,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58226419,24),0,Date::ITALY),DateTime.new0(Rational.new!(9705019,4),0,Date::ITALY),-25200,3600,:MDT)}
13
- add_period(1930,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9705019,4),0,Date::ITALY),DateTime.new0(Rational.new!(58235155,24),0,Date::ITALY),-25200,0,:MST)}
14
- add_period(1931,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58235155,24),0,Date::ITALY),DateTime.new0(Rational.new!(9706475,4),0,Date::ITALY),-25200,3600,:MDT)}
15
- add_period(1931,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9706475,4),0,Date::ITALY),DateTime.new0(Rational.new!(58243891,24),0,Date::ITALY),-25200,0,:MST)}
16
- add_period(1932,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58243891,24),0,Date::ITALY),DateTime.new0(Rational.new!(9707931,4),0,Date::ITALY),-25200,3600,:MDT)}
17
- add_period(1932,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9707931,4),0,Date::ITALY),DateTime.new0(Rational.new!(58252795,24),0,Date::ITALY),-25200,0,:MST)}
18
- add_period(1933,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58252795,24),0,Date::ITALY),DateTime.new0(Rational.new!(9709387,4),0,Date::ITALY),-25200,3600,:MDT)}
19
- add_period(1933,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9709387,4),0,Date::ITALY),DateTime.new0(Rational.new!(58261531,24),0,Date::ITALY),-25200,0,:MST)}
20
- add_period(1934,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(58261531,24),0,Date::ITALY),DateTime.new0(Rational.new!(9710871,4),0,Date::ITALY),-25200,3600,:MDT)}
21
- add_period(1934,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9710871,4),0,Date::ITALY),DateTime.new0(Rational.new!(58287235,24),0,Date::ITALY),-25200,0,:MST)}
22
- add_period(1937,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58287235,24),0,Date::ITALY),DateTime.new0(Rational.new!(9715267,4),0,Date::ITALY),-25200,3600,:MDT)}
23
- add_period(1937,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9715267,4),0,Date::ITALY),DateTime.new0(Rational.new!(58295971,24),0,Date::ITALY),-25200,0,:MST)}
24
- add_period(1938,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58295971,24),0,Date::ITALY),DateTime.new0(Rational.new!(9716695,4),0,Date::ITALY),-25200,3600,:MDT)}
25
- add_period(1938,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9716695,4),0,Date::ITALY),DateTime.new0(Rational.new!(58304707,24),0,Date::ITALY),-25200,0,:MST)}
26
- add_period(1939,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58304707,24),0,Date::ITALY),DateTime.new0(Rational.new!(9718179,4),0,Date::ITALY),-25200,3600,:MDT)}
27
- add_period(1939,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9718179,4),0,Date::ITALY),DateTime.new0(Rational.new!(58313611,24),0,Date::ITALY),-25200,0,:MST)}
28
- add_period(1940,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58313611,24),0,Date::ITALY),DateTime.new0(Rational.new!(9719663,4),0,Date::ITALY),-25200,3600,:MDT)}
29
- add_period(1940,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9719663,4),0,Date::ITALY),DateTime.new0(Rational.new!(58322347,24),0,Date::ITALY),-25200,0,:MST)}
30
- add_period(1941,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58322347,24),0,Date::ITALY),DateTime.new0(Rational.new!(9721119,4),0,Date::ITALY),-25200,3600,:MDT)}
31
- add_period(1941,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9721119,4),0,Date::ITALY),DateTime.new0(Rational.new!(19443199,8),0,Date::ITALY),-25200,0,:MST)}
32
- add_period(1942,2) {TimezonePeriod.new(DateTime.new0(Rational.new!(19443199,8),0,Date::ITALY),DateTime.new0(Rational.new!(58360379,24),0,Date::ITALY),-25200,3600,:MWT)}
33
- add_period(1945,8) {TimezonePeriod.new(DateTime.new0(Rational.new!(58360379,24),0,Date::ITALY),DateTime.new0(Rational.new!(14590373,6),0,Date::ITALY),-25200,3600,:MPT)}
34
- add_period(1945,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14590373,6),0,Date::ITALY),DateTime.new0(Rational.new!(19455399,8),0,Date::ITALY),-25200,0,:MST)}
35
- add_period(1946,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19455399,8),0,Date::ITALY),DateTime.new0(Rational.new!(14592641,6),0,Date::ITALY),-25200,3600,:MDT)}
36
- add_period(1946,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14592641,6),0,Date::ITALY),DateTime.new0(Rational.new!(19458423,8),0,Date::ITALY),-25200,0,:MST)}
37
- add_period(1947,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19458423,8),0,Date::ITALY),DateTime.new0(Rational.new!(14594741,6),0,Date::ITALY),-25200,3600,:MDT)}
38
- add_period(1947,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14594741,6),0,Date::ITALY),DateTime.new0(Rational.new!(19461335,8),0,Date::ITALY),-25200,0,:MST)}
39
- add_period(1948,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19461335,8),0,Date::ITALY),DateTime.new0(Rational.new!(14596925,6),0,Date::ITALY),-25200,3600,:MDT)}
40
- add_period(1948,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14596925,6),0,Date::ITALY),DateTime.new0(Rational.new!(19464247,8),0,Date::ITALY),-25200,0,:MST)}
41
- add_period(1949,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19464247,8),0,Date::ITALY),DateTime.new0(Rational.new!(14599109,6),0,Date::ITALY),-25200,3600,:MDT)}
42
- add_period(1949,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14599109,6),0,Date::ITALY),DateTime.new0(Rational.new!(19467215,8),0,Date::ITALY),-25200,0,:MST)}
43
- add_period(1950,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19467215,8),0,Date::ITALY),DateTime.new0(Rational.new!(14601293,6),0,Date::ITALY),-25200,3600,:MDT)}
44
- add_period(1950,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14601293,6),0,Date::ITALY),DateTime.new0(Rational.new!(19470127,8),0,Date::ITALY),-25200,0,:MST)}
45
- add_period(1951,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19470127,8),0,Date::ITALY),DateTime.new0(Rational.new!(14603519,6),0,Date::ITALY),-25200,3600,:MDT)}
46
- add_period(1951,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14603519,6),0,Date::ITALY),DateTime.new0(Rational.new!(19473039,8),0,Date::ITALY),-25200,0,:MST)}
47
- add_period(1952,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19473039,8),0,Date::ITALY),DateTime.new0(Rational.new!(14605703,6),0,Date::ITALY),-25200,3600,:MDT)}
48
- add_period(1952,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14605703,6),0,Date::ITALY),DateTime.new0(Rational.new!(19475951,8),0,Date::ITALY),-25200,0,:MST)}
49
- add_period(1953,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19475951,8),0,Date::ITALY),DateTime.new0(Rational.new!(14607887,6),0,Date::ITALY),-25200,3600,:MDT)}
50
- add_period(1953,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14607887,6),0,Date::ITALY),DateTime.new0(Rational.new!(19478863,8),0,Date::ITALY),-25200,0,:MST)}
51
- add_period(1954,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19478863,8),0,Date::ITALY),DateTime.new0(Rational.new!(14610071,6),0,Date::ITALY),-25200,3600,:MDT)}
52
- add_period(1954,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14610071,6),0,Date::ITALY),DateTime.new0(Rational.new!(19481775,8),0,Date::ITALY),-25200,0,:MST)}
53
- add_period(1955,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19481775,8),0,Date::ITALY),DateTime.new0(Rational.new!(14612255,6),0,Date::ITALY),-25200,3600,:MDT)}
54
- add_period(1955,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14612255,6),0,Date::ITALY),DateTime.new0(Rational.new!(19484743,8),0,Date::ITALY),-25200,0,:MST)}
55
- add_period(1956,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19484743,8),0,Date::ITALY),DateTime.new0(Rational.new!(14614481,6),0,Date::ITALY),-25200,3600,:MDT)}
56
- add_period(1956,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14614481,6),0,Date::ITALY),DateTime.new0(Rational.new!(19487655,8),0,Date::ITALY),-25200,0,:MST)}
57
- add_period(1957,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19487655,8),0,Date::ITALY),DateTime.new0(Rational.new!(14616665,6),0,Date::ITALY),-25200,3600,:MDT)}
58
- add_period(1957,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14616665,6),0,Date::ITALY),DateTime.new0(Rational.new!(19493479,8),0,Date::ITALY),-25200,0,:MST)}
59
- add_period(1959,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19493479,8),0,Date::ITALY),DateTime.new0(Rational.new!(14621201,6),0,Date::ITALY),-25200,3600,:MDT)}
60
- add_period(1959,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14621201,6),0,Date::ITALY),DateTime.new0(Rational.new!(19496391,8),0,Date::ITALY),-25200,0,:MST)}
61
- add_period(1960,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19496391,8),0,Date::ITALY),nil,-21600,0,:CST)}
62
- end
63
- end
64
- end
4
+ module Definitions
5
+ module America
6
+ module Regina
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Regina' do |tz|
10
+ tz.offset :o0, -25116, 0, :LMT
11
+ tz.offset :o1, -25200, 0, :MST
12
+ tz.offset :o2, -25200, 3600, :MDT
13
+ tz.offset :o3, -25200, 3600, :MWT
14
+ tz.offset :o4, -25200, 3600, :MPT
15
+ tz.offset :o5, -21600, 0, :CST
16
+
17
+ tz.transition 1905, 9, :o1, 17403046493, 7200
18
+ tz.transition 1918, 4, :o2, 19373583, 8
19
+ tz.transition 1918, 10, :o1, 14531387, 6
20
+ tz.transition 1930, 5, :o2, 58226419, 24
21
+ tz.transition 1930, 10, :o1, 9705019, 4
22
+ tz.transition 1931, 5, :o2, 58235155, 24
23
+ tz.transition 1931, 10, :o1, 9706475, 4
24
+ tz.transition 1932, 5, :o2, 58243891, 24
25
+ tz.transition 1932, 10, :o1, 9707931, 4
26
+ tz.transition 1933, 5, :o2, 58252795, 24
27
+ tz.transition 1933, 10, :o1, 9709387, 4
28
+ tz.transition 1934, 5, :o2, 58261531, 24
29
+ tz.transition 1934, 10, :o1, 9710871, 4
30
+ tz.transition 1937, 4, :o2, 58287235, 24
31
+ tz.transition 1937, 10, :o1, 9715267, 4
32
+ tz.transition 1938, 4, :o2, 58295971, 24
33
+ tz.transition 1938, 10, :o1, 9716695, 4
34
+ tz.transition 1939, 4, :o2, 58304707, 24
35
+ tz.transition 1939, 10, :o1, 9718179, 4
36
+ tz.transition 1940, 4, :o2, 58313611, 24
37
+ tz.transition 1940, 10, :o1, 9719663, 4
38
+ tz.transition 1941, 4, :o2, 58322347, 24
39
+ tz.transition 1941, 10, :o1, 9721119, 4
40
+ tz.transition 1942, 2, :o3, 19443199, 8
41
+ tz.transition 1945, 8, :o4, 58360379, 24
42
+ tz.transition 1945, 9, :o1, 14590373, 6
43
+ tz.transition 1946, 4, :o2, 19455399, 8
44
+ tz.transition 1946, 10, :o1, 14592641, 6
45
+ tz.transition 1947, 4, :o2, 19458423, 8
46
+ tz.transition 1947, 9, :o1, 14594741, 6
47
+ tz.transition 1948, 4, :o2, 19461335, 8
48
+ tz.transition 1948, 9, :o1, 14596925, 6
49
+ tz.transition 1949, 4, :o2, 19464247, 8
50
+ tz.transition 1949, 9, :o1, 14599109, 6
51
+ tz.transition 1950, 4, :o2, 19467215, 8
52
+ tz.transition 1950, 9, :o1, 14601293, 6
53
+ tz.transition 1951, 4, :o2, 19470127, 8
54
+ tz.transition 1951, 9, :o1, 14603519, 6
55
+ tz.transition 1952, 4, :o2, 19473039, 8
56
+ tz.transition 1952, 9, :o1, 14605703, 6
57
+ tz.transition 1953, 4, :o2, 19475951, 8
58
+ tz.transition 1953, 9, :o1, 14607887, 6
59
+ tz.transition 1954, 4, :o2, 19478863, 8
60
+ tz.transition 1954, 9, :o1, 14610071, 6
61
+ tz.transition 1955, 4, :o2, 19481775, 8
62
+ tz.transition 1955, 9, :o1, 14612255, 6
63
+ tz.transition 1956, 4, :o2, 19484743, 8
64
+ tz.transition 1956, 9, :o1, 14614481, 6
65
+ tz.transition 1957, 4, :o2, 19487655, 8
66
+ tz.transition 1957, 9, :o1, 14616665, 6
67
+ tz.transition 1959, 4, :o2, 19493479, 8
68
+ tz.transition 1959, 10, :o1, 14621201, 6
69
+ tz.transition 1960, 4, :o5, 19496391, 8
70
+ end
71
+ end
72
+ end
73
+ end
65
74
  end
@@ -1,41 +1,47 @@
1
- require 'tzinfo/timezone'
1
+ require 'tzinfo/timezone_definition'
2
+
2
3
  module TZInfo
3
- module Definitions #:nodoc:
4
- module America #:nodoc:
5
- class Rio_Branco < Timezone #:nodoc:
6
- setup
7
- set_identifier('America/Rio_Branco')
8
- add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(1452080213,600),0,Date::ITALY),-16272,0,:LMT)}
9
- add_period(1914,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(1452080213,600),0,Date::ITALY),DateTime.new0(Rational.new!(14559709,6),0,Date::ITALY),-18000,0,:ACT)}
10
- add_period(1931,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14559709,6),0,Date::ITALY),DateTime.new0(Rational.new!(7280396,3),0,Date::ITALY),-18000,3600,:ACST)}
11
- add_period(1932,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7280396,3),0,Date::ITALY),DateTime.new0(Rational.new!(58247609,24),0,Date::ITALY),-18000,0,:ACT)}
12
- add_period(1932,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(58247609,24),0,Date::ITALY),DateTime.new0(Rational.new!(7281491,3),0,Date::ITALY),-18000,3600,:ACST)}
13
- add_period(1933,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7281491,3),0,Date::ITALY),DateTime.new0(Rational.new!(58398041,24),0,Date::ITALY),-18000,0,:ACT)}
14
- add_period(1949,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58398041,24),0,Date::ITALY),DateTime.new0(Rational.new!(58401305,24),0,Date::ITALY),-18000,3600,:ACST)}
15
- add_period(1950,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58401305,24),0,Date::ITALY),DateTime.new0(Rational.new!(58406801,24),0,Date::ITALY),-18000,0,:ACT)}
16
- add_period(1950,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58406801,24),0,Date::ITALY),DateTime.new0(Rational.new!(7301213,3),0,Date::ITALY),-18000,3600,:ACST)}
17
- add_period(1951,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7301213,3),0,Date::ITALY),DateTime.new0(Rational.new!(58415561,24),0,Date::ITALY),-18000,0,:ACT)}
18
- add_period(1951,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58415561,24),0,Date::ITALY),DateTime.new0(Rational.new!(7302311,3),0,Date::ITALY),-18000,3600,:ACST)}
19
- add_period(1952,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7302311,3),0,Date::ITALY),DateTime.new0(Rational.new!(58424345,24),0,Date::ITALY),-18000,0,:ACT)}
20
- add_period(1952,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58424345,24),0,Date::ITALY),DateTime.new0(Rational.new!(7303313,3),0,Date::ITALY),-18000,3600,:ACST)}
21
- add_period(1953,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7303313,3),0,Date::ITALY),DateTime.new0(Rational.new!(58520945,24),0,Date::ITALY),-18000,0,:ACT)}
22
- add_period(1963,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58520945,24),0,Date::ITALY),DateTime.new0(Rational.new!(7315367,3),0,Date::ITALY),-18000,3600,:ACST)}
23
- add_period(1964,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7315367,3),0,Date::ITALY),DateTime.new0(Rational.new!(58531001,24),0,Date::ITALY),-18000,0,:ACT)}
24
- add_period(1965,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58531001,24),0,Date::ITALY),DateTime.new0(Rational.new!(7316552,3),0,Date::ITALY),-18000,3600,:ACST)}
25
- add_period(1965,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7316552,3),0,Date::ITALY),DateTime.new0(Rational.new!(58538297,24),0,Date::ITALY),-18000,0,:ACT)}
26
- add_period(1965,12) {TimezonePeriod.new(DateTime.new0(Rational.new!(58538297,24),0,Date::ITALY),DateTime.new0(Rational.new!(7317557,3),0,Date::ITALY),-18000,3600,:ACST)}
27
- add_period(1966,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7317557,3),0,Date::ITALY),DateTime.new0(Rational.new!(58546337,24),0,Date::ITALY),-18000,0,:ACT)}
28
- add_period(1966,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(58546337,24),0,Date::ITALY),DateTime.new0(Rational.new!(7318652,3),0,Date::ITALY),-18000,3600,:ACST)}
29
- add_period(1967,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7318652,3),0,Date::ITALY),DateTime.new0(Rational.new!(58555097,24),0,Date::ITALY),-18000,0,:ACT)}
30
- add_period(1967,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(58555097,24),0,Date::ITALY),DateTime.new0(Rational.new!(7319750,3),0,Date::ITALY),-18000,3600,:ACST)}
31
- add_period(1968,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(7319750,3),0,Date::ITALY),499755600,-18000,0,:ACT)}
32
- add_period(1985,11) {TimezonePeriod.new(499755600,511243200,-18000,3600,:ACST)}
33
- add_period(1986,3) {TimezonePeriod.new(511243200,530600400,-18000,0,:ACT)}
34
- add_period(1986,10) {TimezonePeriod.new(530600400,540273600,-18000,3600,:ACST)}
35
- add_period(1987,2) {TimezonePeriod.new(540273600,562136400,-18000,0,:ACT)}
36
- add_period(1987,10) {TimezonePeriod.new(562136400,571204800,-18000,3600,:ACST)}
37
- add_period(1988,2) {TimezonePeriod.new(571204800,nil,-18000,0,:ACT)}
38
- end
39
- end
40
- end
4
+ module Definitions
5
+ module America
6
+ module Rio_Branco
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Rio_Branco' do |tz|
10
+ tz.offset :o0, -16272, 0, :LMT
11
+ tz.offset :o1, -18000, 0, :ACT
12
+ tz.offset :o2, -18000, 3600, :ACST
13
+
14
+ tz.transition 1914, 1, :o1, 1452080213, 600
15
+ tz.transition 1931, 10, :o2, 14559709, 6
16
+ tz.transition 1932, 4, :o1, 7280396, 3
17
+ tz.transition 1932, 10, :o2, 58247609, 24
18
+ tz.transition 1933, 4, :o1, 7281491, 3
19
+ tz.transition 1949, 12, :o2, 58398041, 24
20
+ tz.transition 1950, 4, :o1, 58401305, 24
21
+ tz.transition 1950, 12, :o2, 58406801, 24
22
+ tz.transition 1951, 4, :o1, 7301213, 3
23
+ tz.transition 1951, 12, :o2, 58415561, 24
24
+ tz.transition 1952, 4, :o1, 7302311, 3
25
+ tz.transition 1952, 12, :o2, 58424345, 24
26
+ tz.transition 1953, 3, :o1, 7303313, 3
27
+ tz.transition 1963, 12, :o2, 58520945, 24
28
+ tz.transition 1964, 3, :o1, 7315367, 3
29
+ tz.transition 1965, 1, :o2, 58531001, 24
30
+ tz.transition 1965, 3, :o1, 7316552, 3
31
+ tz.transition 1965, 12, :o2, 58538297, 24
32
+ tz.transition 1966, 3, :o1, 7317557, 3
33
+ tz.transition 1966, 11, :o2, 58546337, 24
34
+ tz.transition 1967, 3, :o1, 7318652, 3
35
+ tz.transition 1967, 11, :o2, 58555097, 24
36
+ tz.transition 1968, 3, :o1, 7319750, 3
37
+ tz.transition 1985, 11, :o2, 499755600
38
+ tz.transition 1986, 3, :o1, 511243200
39
+ tz.transition 1986, 10, :o2, 530600400
40
+ tz.transition 1987, 2, :o1, 540273600
41
+ tz.transition 1987, 10, :o2, 562136400
42
+ tz.transition 1988, 2, :o1, 571204800
43
+ end
44
+ end
45
+ end
46
+ end
41
47
  end
@@ -1,12 +1,13 @@
1
- require 'tzinfo/timezone'
2
- require 'tzinfo/definitions/America/Argentina/Cordoba'
1
+ require 'tzinfo/timezone_definition'
2
+
3
3
  module TZInfo
4
- module Definitions #:nodoc:
5
- module America #:nodoc:
6
- class Rosario < Definitions::America::Argentina::Cordoba #:nodoc:
7
- setup_linked
8
- set_identifier('America/Rosario')
9
- end
10
- end
11
- end
4
+ module Definitions
5
+ module America
6
+ module Rosario
7
+ include TimezoneDefinition
8
+
9
+ linked_timezone 'America/Rosario', 'America/Argentina/Cordoba'
10
+ end
11
+ end
12
+ end
12
13
  end
@@ -1,195 +1,204 @@
1
- require 'tzinfo/timezone'
1
+ require 'tzinfo/timezone_definition'
2
+
2
3
  module TZInfo
3
- module Definitions #:nodoc:
4
- module America #:nodoc:
5
- class Santiago < Timezone #:nodoc:
6
- setup
7
- set_identifier('America/Santiago')
8
- add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(325534774,135),0,Date::ITALY),-16960,0,:LMT)}
9
- add_period(1890,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(325534774,135),0,Date::ITALY),DateTime.new0(Rational.new!(326520814,135),0,Date::ITALY),-16960,0,:SMT)}
10
- add_period(1910,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(326520814,135),0,Date::ITALY),DateTime.new0(Rational.new!(58124105,24),0,Date::ITALY),-18000,0,:CLT)}
11
- add_period(1918,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58124105,24),0,Date::ITALY),DateTime.new0(Rational.new!(7266425,3),0,Date::ITALY),-18000,3600,:CLST)}
12
- add_period(1919,7) {TimezonePeriod.new(DateTime.new0(Rational.new!(7266425,3),0,Date::ITALY),DateTime.new0(Rational.new!(58202993,24),0,Date::ITALY),-18000,0,:CLT)}
13
- add_period(1927,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58202993,24),0,Date::ITALY),DateTime.new0(Rational.new!(7276013,3),0,Date::ITALY),-18000,3600,:CLST)}
14
- add_period(1928,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7276013,3),0,Date::ITALY),DateTime.new0(Rational.new!(58211777,24),0,Date::ITALY),-18000,0,:CLT)}
15
- add_period(1928,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58211777,24),0,Date::ITALY),DateTime.new0(Rational.new!(7277108,3),0,Date::ITALY),-18000,3600,:CLST)}
16
- add_period(1929,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7277108,3),0,Date::ITALY),DateTime.new0(Rational.new!(58220537,24),0,Date::ITALY),-18000,0,:CLT)}
17
- add_period(1929,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58220537,24),0,Date::ITALY),DateTime.new0(Rational.new!(7278203,3),0,Date::ITALY),-18000,3600,:CLST)}
18
- add_period(1930,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7278203,3),0,Date::ITALY),DateTime.new0(Rational.new!(58229297,24),0,Date::ITALY),-18000,0,:CLT)}
19
- add_period(1930,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58229297,24),0,Date::ITALY),DateTime.new0(Rational.new!(7279298,3),0,Date::ITALY),-18000,3600,:CLST)}
20
- add_period(1931,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7279298,3),0,Date::ITALY),DateTime.new0(Rational.new!(58238057,24),0,Date::ITALY),-18000,0,:CLT)}
21
- add_period(1931,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58238057,24),0,Date::ITALY),DateTime.new0(Rational.new!(7280396,3),0,Date::ITALY),-18000,3600,:CLST)}
22
- add_period(1932,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(7280396,3),0,Date::ITALY),DateTime.new0(Rational.new!(58246841,24),0,Date::ITALY),-18000,0,:CLT)}
23
- add_period(1932,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58246841,24),0,Date::ITALY),DateTime.new0(Rational.new!(7318223,3),0,Date::ITALY),-14400,0,:CLT)}
24
- add_period(1966,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7318223,3),0,Date::ITALY),DateTime.new0(Rational.new!(19516493,8),0,Date::ITALY),-14400,3600,:CLST)}
25
- add_period(1967,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19516493,8),0,Date::ITALY),DateTime.new0(Rational.new!(7319336,3),0,Date::ITALY),-14400,0,:CLT)}
26
- add_period(1967,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7319336,3),0,Date::ITALY),DateTime.new0(Rational.new!(19519405,8),0,Date::ITALY),-14400,3600,:CLST)}
27
- add_period(1968,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19519405,8),0,Date::ITALY),DateTime.new0(Rational.new!(7320428,3),0,Date::ITALY),-14400,0,:CLT)}
28
- add_period(1968,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7320428,3),0,Date::ITALY),DateTime.new0(Rational.new!(19522317,8),0,Date::ITALY),-14400,3600,:CLST)}
29
- add_period(1969,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19522317,8),0,Date::ITALY),DateTime.new0(Rational.new!(7321520,3),0,Date::ITALY),-14400,0,:CLT)}
30
- add_period(1969,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7321520,3),0,Date::ITALY),6318000,-14400,3600,:CLST)}
31
- add_period(1970,3) {TimezonePeriod.new(6318000,24465600,-14400,0,:CLT)}
32
- add_period(1970,10) {TimezonePeriod.new(24465600,37767600,-14400,3600,:CLST)}
33
- add_period(1971,3) {TimezonePeriod.new(37767600,55915200,-14400,0,:CLT)}
34
- add_period(1971,10) {TimezonePeriod.new(55915200,69217200,-14400,3600,:CLST)}
35
- add_period(1972,3) {TimezonePeriod.new(69217200,87969600,-14400,0,:CLT)}
36
- add_period(1972,10) {TimezonePeriod.new(87969600,100666800,-14400,3600,:CLST)}
37
- add_period(1973,3) {TimezonePeriod.new(100666800,119419200,-14400,0,:CLT)}
38
- add_period(1973,10) {TimezonePeriod.new(119419200,132116400,-14400,3600,:CLST)}
39
- add_period(1974,3) {TimezonePeriod.new(132116400,150868800,-14400,0,:CLT)}
40
- add_period(1974,10) {TimezonePeriod.new(150868800,163566000,-14400,3600,:CLST)}
41
- add_period(1975,3) {TimezonePeriod.new(163566000,182318400,-14400,0,:CLT)}
42
- add_period(1975,10) {TimezonePeriod.new(182318400,195620400,-14400,3600,:CLST)}
43
- add_period(1976,3) {TimezonePeriod.new(195620400,213768000,-14400,0,:CLT)}
44
- add_period(1976,10) {TimezonePeriod.new(213768000,227070000,-14400,3600,:CLST)}
45
- add_period(1977,3) {TimezonePeriod.new(227070000,245217600,-14400,0,:CLT)}
46
- add_period(1977,10) {TimezonePeriod.new(245217600,258519600,-14400,3600,:CLST)}
47
- add_period(1978,3) {TimezonePeriod.new(258519600,277272000,-14400,0,:CLT)}
48
- add_period(1978,10) {TimezonePeriod.new(277272000,289969200,-14400,3600,:CLST)}
49
- add_period(1979,3) {TimezonePeriod.new(289969200,308721600,-14400,0,:CLT)}
50
- add_period(1979,10) {TimezonePeriod.new(308721600,321418800,-14400,3600,:CLST)}
51
- add_period(1980,3) {TimezonePeriod.new(321418800,340171200,-14400,0,:CLT)}
52
- add_period(1980,10) {TimezonePeriod.new(340171200,353473200,-14400,3600,:CLST)}
53
- add_period(1981,3) {TimezonePeriod.new(353473200,371620800,-14400,0,:CLT)}
54
- add_period(1981,10) {TimezonePeriod.new(371620800,384922800,-14400,3600,:CLST)}
55
- add_period(1982,3) {TimezonePeriod.new(384922800,403070400,-14400,0,:CLT)}
56
- add_period(1982,10) {TimezonePeriod.new(403070400,416372400,-14400,3600,:CLST)}
57
- add_period(1983,3) {TimezonePeriod.new(416372400,434520000,-14400,0,:CLT)}
58
- add_period(1983,10) {TimezonePeriod.new(434520000,447822000,-14400,3600,:CLST)}
59
- add_period(1984,3) {TimezonePeriod.new(447822000,466574400,-14400,0,:CLT)}
60
- add_period(1984,10) {TimezonePeriod.new(466574400,479271600,-14400,3600,:CLST)}
61
- add_period(1985,3) {TimezonePeriod.new(479271600,498024000,-14400,0,:CLT)}
62
- add_period(1985,10) {TimezonePeriod.new(498024000,510721200,-14400,3600,:CLST)}
63
- add_period(1986,3) {TimezonePeriod.new(510721200,529473600,-14400,0,:CLT)}
64
- add_period(1986,10) {TimezonePeriod.new(529473600,542775600,-14400,3600,:CLST)}
65
- add_period(1987,3) {TimezonePeriod.new(542775600,560923200,-14400,0,:CLT)}
66
- add_period(1987,10) {TimezonePeriod.new(560923200,574225200,-14400,3600,:CLST)}
67
- add_period(1988,3) {TimezonePeriod.new(574225200,592372800,-14400,0,:CLT)}
68
- add_period(1988,10) {TimezonePeriod.new(592372800,605674800,-14400,3600,:CLST)}
69
- add_period(1989,3) {TimezonePeriod.new(605674800,624427200,-14400,0,:CLT)}
70
- add_period(1989,10) {TimezonePeriod.new(624427200,637124400,-14400,3600,:CLST)}
71
- add_period(1990,3) {TimezonePeriod.new(637124400,655876800,-14400,0,:CLT)}
72
- add_period(1990,10) {TimezonePeriod.new(655876800,668574000,-14400,3600,:CLST)}
73
- add_period(1991,3) {TimezonePeriod.new(668574000,687326400,-14400,0,:CLT)}
74
- add_period(1991,10) {TimezonePeriod.new(687326400,700628400,-14400,3600,:CLST)}
75
- add_period(1992,3) {TimezonePeriod.new(700628400,718776000,-14400,0,:CLT)}
76
- add_period(1992,10) {TimezonePeriod.new(718776000,732078000,-14400,3600,:CLST)}
77
- add_period(1993,3) {TimezonePeriod.new(732078000,750225600,-14400,0,:CLT)}
78
- add_period(1993,10) {TimezonePeriod.new(750225600,763527600,-14400,3600,:CLST)}
79
- add_period(1994,3) {TimezonePeriod.new(763527600,781675200,-14400,0,:CLT)}
80
- add_period(1994,10) {TimezonePeriod.new(781675200,794977200,-14400,3600,:CLST)}
81
- add_period(1995,3) {TimezonePeriod.new(794977200,813729600,-14400,0,:CLT)}
82
- add_period(1995,10) {TimezonePeriod.new(813729600,826426800,-14400,3600,:CLST)}
83
- add_period(1996,3) {TimezonePeriod.new(826426800,845179200,-14400,0,:CLT)}
84
- add_period(1996,10) {TimezonePeriod.new(845179200,857876400,-14400,3600,:CLST)}
85
- add_period(1997,3) {TimezonePeriod.new(857876400,876628800,-14400,0,:CLT)}
86
- add_period(1997,10) {TimezonePeriod.new(876628800,889930800,-14400,3600,:CLST)}
87
- add_period(1998,3) {TimezonePeriod.new(889930800,906868800,-14400,0,:CLT)}
88
- add_period(1998,9) {TimezonePeriod.new(906868800,923194800,-14400,3600,:CLST)}
89
- add_period(1999,4) {TimezonePeriod.new(923194800,939528000,-14400,0,:CLT)}
90
- add_period(1999,10) {TimezonePeriod.new(939528000,952830000,-14400,3600,:CLST)}
91
- add_period(2000,3) {TimezonePeriod.new(952830000,971582400,-14400,0,:CLT)}
92
- add_period(2000,10) {TimezonePeriod.new(971582400,984279600,-14400,3600,:CLST)}
93
- add_period(2001,3) {TimezonePeriod.new(984279600,1003032000,-14400,0,:CLT)}
94
- add_period(2001,10) {TimezonePeriod.new(1003032000,1015729200,-14400,3600,:CLST)}
95
- add_period(2002,3) {TimezonePeriod.new(1015729200,1034481600,-14400,0,:CLT)}
96
- add_period(2002,10) {TimezonePeriod.new(1034481600,1047178800,-14400,3600,:CLST)}
97
- add_period(2003,3) {TimezonePeriod.new(1047178800,1065931200,-14400,0,:CLT)}
98
- add_period(2003,10) {TimezonePeriod.new(1065931200,1079233200,-14400,3600,:CLST)}
99
- add_period(2004,3) {TimezonePeriod.new(1079233200,1097380800,-14400,0,:CLT)}
100
- add_period(2004,10) {TimezonePeriod.new(1097380800,1110682800,-14400,3600,:CLST)}
101
- add_period(2005,3) {TimezonePeriod.new(1110682800,1128830400,-14400,0,:CLT)}
102
- add_period(2005,10) {TimezonePeriod.new(1128830400,1142132400,-14400,3600,:CLST)}
103
- add_period(2006,3) {TimezonePeriod.new(1142132400,1160884800,-14400,0,:CLT)}
104
- add_period(2006,10) {TimezonePeriod.new(1160884800,1173582000,-14400,3600,:CLST)}
105
- add_period(2007,3) {TimezonePeriod.new(1173582000,1192334400,-14400,0,:CLT)}
106
- add_period(2007,10) {TimezonePeriod.new(1192334400,1205031600,-14400,3600,:CLST)}
107
- add_period(2008,3) {TimezonePeriod.new(1205031600,1223784000,-14400,0,:CLT)}
108
- add_period(2008,10) {TimezonePeriod.new(1223784000,1237086000,-14400,3600,:CLST)}
109
- add_period(2009,3) {TimezonePeriod.new(1237086000,1255233600,-14400,0,:CLT)}
110
- add_period(2009,10) {TimezonePeriod.new(1255233600,1268535600,-14400,3600,:CLST)}
111
- add_period(2010,3) {TimezonePeriod.new(1268535600,1286683200,-14400,0,:CLT)}
112
- add_period(2010,10) {TimezonePeriod.new(1286683200,1299985200,-14400,3600,:CLST)}
113
- add_period(2011,3) {TimezonePeriod.new(1299985200,1318132800,-14400,0,:CLT)}
114
- add_period(2011,10) {TimezonePeriod.new(1318132800,1331434800,-14400,3600,:CLST)}
115
- add_period(2012,3) {TimezonePeriod.new(1331434800,1350187200,-14400,0,:CLT)}
116
- add_period(2012,10) {TimezonePeriod.new(1350187200,1362884400,-14400,3600,:CLST)}
117
- add_period(2013,3) {TimezonePeriod.new(1362884400,1381636800,-14400,0,:CLT)}
118
- add_period(2013,10) {TimezonePeriod.new(1381636800,1394334000,-14400,3600,:CLST)}
119
- add_period(2014,3) {TimezonePeriod.new(1394334000,1413086400,-14400,0,:CLT)}
120
- add_period(2014,10) {TimezonePeriod.new(1413086400,1426388400,-14400,3600,:CLST)}
121
- add_period(2015,3) {TimezonePeriod.new(1426388400,1444536000,-14400,0,:CLT)}
122
- add_period(2015,10) {TimezonePeriod.new(1444536000,1457838000,-14400,3600,:CLST)}
123
- add_period(2016,3) {TimezonePeriod.new(1457838000,1475985600,-14400,0,:CLT)}
124
- add_period(2016,10) {TimezonePeriod.new(1475985600,1489287600,-14400,3600,:CLST)}
125
- add_period(2017,3) {TimezonePeriod.new(1489287600,1508040000,-14400,0,:CLT)}
126
- add_period(2017,10) {TimezonePeriod.new(1508040000,1520737200,-14400,3600,:CLST)}
127
- add_period(2018,3) {TimezonePeriod.new(1520737200,1539489600,-14400,0,:CLT)}
128
- add_period(2018,10) {TimezonePeriod.new(1539489600,1552186800,-14400,3600,:CLST)}
129
- add_period(2019,3) {TimezonePeriod.new(1552186800,1570939200,-14400,0,:CLT)}
130
- add_period(2019,10) {TimezonePeriod.new(1570939200,1584241200,-14400,3600,:CLST)}
131
- add_period(2020,3) {TimezonePeriod.new(1584241200,1602388800,-14400,0,:CLT)}
132
- add_period(2020,10) {TimezonePeriod.new(1602388800,1615690800,-14400,3600,:CLST)}
133
- add_period(2021,3) {TimezonePeriod.new(1615690800,1633838400,-14400,0,:CLT)}
134
- add_period(2021,10) {TimezonePeriod.new(1633838400,1647140400,-14400,3600,:CLST)}
135
- add_period(2022,3) {TimezonePeriod.new(1647140400,1665288000,-14400,0,:CLT)}
136
- add_period(2022,10) {TimezonePeriod.new(1665288000,1678590000,-14400,3600,:CLST)}
137
- add_period(2023,3) {TimezonePeriod.new(1678590000,1697342400,-14400,0,:CLT)}
138
- add_period(2023,10) {TimezonePeriod.new(1697342400,1710039600,-14400,3600,:CLST)}
139
- add_period(2024,3) {TimezonePeriod.new(1710039600,1728792000,-14400,0,:CLT)}
140
- add_period(2024,10) {TimezonePeriod.new(1728792000,1741489200,-14400,3600,:CLST)}
141
- add_period(2025,3) {TimezonePeriod.new(1741489200,1760241600,-14400,0,:CLT)}
142
- add_period(2025,10) {TimezonePeriod.new(1760241600,1773543600,-14400,3600,:CLST)}
143
- add_period(2026,3) {TimezonePeriod.new(1773543600,1791691200,-14400,0,:CLT)}
144
- add_period(2026,10) {TimezonePeriod.new(1791691200,1804993200,-14400,3600,:CLST)}
145
- add_period(2027,3) {TimezonePeriod.new(1804993200,1823140800,-14400,0,:CLT)}
146
- add_period(2027,10) {TimezonePeriod.new(1823140800,1836442800,-14400,3600,:CLST)}
147
- add_period(2028,3) {TimezonePeriod.new(1836442800,1855195200,-14400,0,:CLT)}
148
- add_period(2028,10) {TimezonePeriod.new(1855195200,1867892400,-14400,3600,:CLST)}
149
- add_period(2029,3) {TimezonePeriod.new(1867892400,1886644800,-14400,0,:CLT)}
150
- add_period(2029,10) {TimezonePeriod.new(1886644800,1899342000,-14400,3600,:CLST)}
151
- add_period(2030,3) {TimezonePeriod.new(1899342000,1918094400,-14400,0,:CLT)}
152
- add_period(2030,10) {TimezonePeriod.new(1918094400,1930791600,-14400,3600,:CLST)}
153
- add_period(2031,3) {TimezonePeriod.new(1930791600,1949544000,-14400,0,:CLT)}
154
- add_period(2031,10) {TimezonePeriod.new(1949544000,1962846000,-14400,3600,:CLST)}
155
- add_period(2032,3) {TimezonePeriod.new(1962846000,1980993600,-14400,0,:CLT)}
156
- add_period(2032,10) {TimezonePeriod.new(1980993600,1994295600,-14400,3600,:CLST)}
157
- add_period(2033,3) {TimezonePeriod.new(1994295600,2012443200,-14400,0,:CLT)}
158
- add_period(2033,10) {TimezonePeriod.new(2012443200,2025745200,-14400,3600,:CLST)}
159
- add_period(2034,3) {TimezonePeriod.new(2025745200,2044497600,-14400,0,:CLT)}
160
- add_period(2034,10) {TimezonePeriod.new(2044497600,2057194800,-14400,3600,:CLST)}
161
- add_period(2035,3) {TimezonePeriod.new(2057194800,2075947200,-14400,0,:CLT)}
162
- add_period(2035,10) {TimezonePeriod.new(2075947200,2088644400,-14400,3600,:CLST)}
163
- add_period(2036,3) {TimezonePeriod.new(2088644400,2107396800,-14400,0,:CLT)}
164
- add_period(2036,10) {TimezonePeriod.new(2107396800,2120698800,-14400,3600,:CLST)}
165
- add_period(2037,3) {TimezonePeriod.new(2120698800,2138846400,-14400,0,:CLT)}
166
- add_period(2037,10) {TimezonePeriod.new(2138846400,DateTime.new0(Rational.new!(19723973,8),0,Date::ITALY),-14400,3600,:CLST)}
167
- add_period(2038,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19723973,8),0,Date::ITALY),DateTime.new0(Rational.new!(7397120,3),0,Date::ITALY),-14400,0,:CLT)}
168
- add_period(2038,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7397120,3),0,Date::ITALY),DateTime.new0(Rational.new!(19726885,8),0,Date::ITALY),-14400,3600,:CLST)}
169
- add_period(2039,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19726885,8),0,Date::ITALY),DateTime.new0(Rational.new!(7398212,3),0,Date::ITALY),-14400,0,:CLT)}
170
- add_period(2039,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7398212,3),0,Date::ITALY),DateTime.new0(Rational.new!(19729797,8),0,Date::ITALY),-14400,3600,:CLST)}
171
- add_period(2040,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19729797,8),0,Date::ITALY),DateTime.new0(Rational.new!(7399325,3),0,Date::ITALY),-14400,0,:CLT)}
172
- add_period(2040,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7399325,3),0,Date::ITALY),DateTime.new0(Rational.new!(19732709,8),0,Date::ITALY),-14400,3600,:CLST)}
173
- add_period(2041,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19732709,8),0,Date::ITALY),DateTime.new0(Rational.new!(7400417,3),0,Date::ITALY),-14400,0,:CLT)}
174
- add_period(2041,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7400417,3),0,Date::ITALY),DateTime.new0(Rational.new!(19735621,8),0,Date::ITALY),-14400,3600,:CLST)}
175
- add_period(2042,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19735621,8),0,Date::ITALY),DateTime.new0(Rational.new!(7401509,3),0,Date::ITALY),-14400,0,:CLT)}
176
- add_period(2042,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7401509,3),0,Date::ITALY),DateTime.new0(Rational.new!(19738589,8),0,Date::ITALY),-14400,3600,:CLST)}
177
- add_period(2043,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19738589,8),0,Date::ITALY),DateTime.new0(Rational.new!(7402601,3),0,Date::ITALY),-14400,0,:CLT)}
178
- add_period(2043,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7402601,3),0,Date::ITALY),DateTime.new0(Rational.new!(19741501,8),0,Date::ITALY),-14400,3600,:CLST)}
179
- add_period(2044,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19741501,8),0,Date::ITALY),DateTime.new0(Rational.new!(7403693,3),0,Date::ITALY),-14400,0,:CLT)}
180
- add_period(2044,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7403693,3),0,Date::ITALY),DateTime.new0(Rational.new!(19744413,8),0,Date::ITALY),-14400,3600,:CLST)}
181
- add_period(2045,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19744413,8),0,Date::ITALY),DateTime.new0(Rational.new!(7404806,3),0,Date::ITALY),-14400,0,:CLT)}
182
- add_period(2045,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7404806,3),0,Date::ITALY),DateTime.new0(Rational.new!(19747325,8),0,Date::ITALY),-14400,3600,:CLST)}
183
- add_period(2046,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19747325,8),0,Date::ITALY),DateTime.new0(Rational.new!(7405898,3),0,Date::ITALY),-14400,0,:CLT)}
184
- add_period(2046,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7405898,3),0,Date::ITALY),DateTime.new0(Rational.new!(19750237,8),0,Date::ITALY),-14400,3600,:CLST)}
185
- add_period(2047,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19750237,8),0,Date::ITALY),DateTime.new0(Rational.new!(7406990,3),0,Date::ITALY),-14400,0,:CLT)}
186
- add_period(2047,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7406990,3),0,Date::ITALY),DateTime.new0(Rational.new!(19753205,8),0,Date::ITALY),-14400,3600,:CLST)}
187
- add_period(2048,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19753205,8),0,Date::ITALY),DateTime.new0(Rational.new!(7408082,3),0,Date::ITALY),-14400,0,:CLT)}
188
- add_period(2048,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7408082,3),0,Date::ITALY),DateTime.new0(Rational.new!(19756117,8),0,Date::ITALY),-14400,3600,:CLST)}
189
- add_period(2049,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19756117,8),0,Date::ITALY),DateTime.new0(Rational.new!(7409174,3),0,Date::ITALY),-14400,0,:CLT)}
190
- add_period(2049,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(7409174,3),0,Date::ITALY),DateTime.new0(Rational.new!(19759029,8),0,Date::ITALY),-14400,3600,:CLST)}
191
- add_period(2050,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(19759029,8),0,Date::ITALY),nil,-14400,0,:CLT)}
192
- end
193
- end
194
- end
4
+ module Definitions
5
+ module America
6
+ module Santiago
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Santiago' do |tz|
10
+ tz.offset :o0, -16960, 0, :LMT
11
+ tz.offset :o1, -16960, 0, :SMT
12
+ tz.offset :o2, -18000, 0, :CLT
13
+ tz.offset :o3, -18000, 3600, :CLST
14
+ tz.offset :o4, -14400, 0, :CLT
15
+ tz.offset :o5, -14400, 3600, :CLST
16
+
17
+ tz.transition 1890, 1, :o1, 325534774, 135
18
+ tz.transition 1910, 1, :o2, 326520814, 135
19
+ tz.transition 1918, 9, :o3, 58124105, 24
20
+ tz.transition 1919, 7, :o2, 7266425, 3
21
+ tz.transition 1927, 9, :o3, 58202993, 24
22
+ tz.transition 1928, 4, :o2, 7276013, 3
23
+ tz.transition 1928, 9, :o3, 58211777, 24
24
+ tz.transition 1929, 4, :o2, 7277108, 3
25
+ tz.transition 1929, 9, :o3, 58220537, 24
26
+ tz.transition 1930, 4, :o2, 7278203, 3
27
+ tz.transition 1930, 9, :o3, 58229297, 24
28
+ tz.transition 1931, 4, :o2, 7279298, 3
29
+ tz.transition 1931, 9, :o3, 58238057, 24
30
+ tz.transition 1932, 4, :o2, 7280396, 3
31
+ tz.transition 1932, 9, :o4, 58246841, 24
32
+ tz.transition 1966, 10, :o5, 7318223, 3
33
+ tz.transition 1967, 3, :o4, 19516493, 8
34
+ tz.transition 1967, 10, :o5, 7319336, 3
35
+ tz.transition 1968, 3, :o4, 19519405, 8
36
+ tz.transition 1968, 10, :o5, 7320428, 3
37
+ tz.transition 1969, 3, :o4, 19522317, 8
38
+ tz.transition 1969, 10, :o5, 7321520, 3
39
+ tz.transition 1970, 3, :o4, 6318000
40
+ tz.transition 1970, 10, :o5, 24465600
41
+ tz.transition 1971, 3, :o4, 37767600
42
+ tz.transition 1971, 10, :o5, 55915200
43
+ tz.transition 1972, 3, :o4, 69217200
44
+ tz.transition 1972, 10, :o5, 87969600
45
+ tz.transition 1973, 3, :o4, 100666800
46
+ tz.transition 1973, 10, :o5, 119419200
47
+ tz.transition 1974, 3, :o4, 132116400
48
+ tz.transition 1974, 10, :o5, 150868800
49
+ tz.transition 1975, 3, :o4, 163566000
50
+ tz.transition 1975, 10, :o5, 182318400
51
+ tz.transition 1976, 3, :o4, 195620400
52
+ tz.transition 1976, 10, :o5, 213768000
53
+ tz.transition 1977, 3, :o4, 227070000
54
+ tz.transition 1977, 10, :o5, 245217600
55
+ tz.transition 1978, 3, :o4, 258519600
56
+ tz.transition 1978, 10, :o5, 277272000
57
+ tz.transition 1979, 3, :o4, 289969200
58
+ tz.transition 1979, 10, :o5, 308721600
59
+ tz.transition 1980, 3, :o4, 321418800
60
+ tz.transition 1980, 10, :o5, 340171200
61
+ tz.transition 1981, 3, :o4, 353473200
62
+ tz.transition 1981, 10, :o5, 371620800
63
+ tz.transition 1982, 3, :o4, 384922800
64
+ tz.transition 1982, 10, :o5, 403070400
65
+ tz.transition 1983, 3, :o4, 416372400
66
+ tz.transition 1983, 10, :o5, 434520000
67
+ tz.transition 1984, 3, :o4, 447822000
68
+ tz.transition 1984, 10, :o5, 466574400
69
+ tz.transition 1985, 3, :o4, 479271600
70
+ tz.transition 1985, 10, :o5, 498024000
71
+ tz.transition 1986, 3, :o4, 510721200
72
+ tz.transition 1986, 10, :o5, 529473600
73
+ tz.transition 1987, 3, :o4, 542775600
74
+ tz.transition 1987, 10, :o5, 560923200
75
+ tz.transition 1988, 3, :o4, 574225200
76
+ tz.transition 1988, 10, :o5, 592372800
77
+ tz.transition 1989, 3, :o4, 605674800
78
+ tz.transition 1989, 10, :o5, 624427200
79
+ tz.transition 1990, 3, :o4, 637124400
80
+ tz.transition 1990, 10, :o5, 655876800
81
+ tz.transition 1991, 3, :o4, 668574000
82
+ tz.transition 1991, 10, :o5, 687326400
83
+ tz.transition 1992, 3, :o4, 700628400
84
+ tz.transition 1992, 10, :o5, 718776000
85
+ tz.transition 1993, 3, :o4, 732078000
86
+ tz.transition 1993, 10, :o5, 750225600
87
+ tz.transition 1994, 3, :o4, 763527600
88
+ tz.transition 1994, 10, :o5, 781675200
89
+ tz.transition 1995, 3, :o4, 794977200
90
+ tz.transition 1995, 10, :o5, 813729600
91
+ tz.transition 1996, 3, :o4, 826426800
92
+ tz.transition 1996, 10, :o5, 845179200
93
+ tz.transition 1997, 3, :o4, 857876400
94
+ tz.transition 1997, 10, :o5, 876628800
95
+ tz.transition 1998, 3, :o4, 889930800
96
+ tz.transition 1998, 9, :o5, 906868800
97
+ tz.transition 1999, 4, :o4, 923194800
98
+ tz.transition 1999, 10, :o5, 939528000
99
+ tz.transition 2000, 3, :o4, 952830000
100
+ tz.transition 2000, 10, :o5, 971582400
101
+ tz.transition 2001, 3, :o4, 984279600
102
+ tz.transition 2001, 10, :o5, 1003032000
103
+ tz.transition 2002, 3, :o4, 1015729200
104
+ tz.transition 2002, 10, :o5, 1034481600
105
+ tz.transition 2003, 3, :o4, 1047178800
106
+ tz.transition 2003, 10, :o5, 1065931200
107
+ tz.transition 2004, 3, :o4, 1079233200
108
+ tz.transition 2004, 10, :o5, 1097380800
109
+ tz.transition 2005, 3, :o4, 1110682800
110
+ tz.transition 2005, 10, :o5, 1128830400
111
+ tz.transition 2006, 3, :o4, 1142132400
112
+ tz.transition 2006, 10, :o5, 1160884800
113
+ tz.transition 2007, 3, :o4, 1173582000
114
+ tz.transition 2007, 10, :o5, 1192334400
115
+ tz.transition 2008, 3, :o4, 1205031600
116
+ tz.transition 2008, 10, :o5, 1223784000
117
+ tz.transition 2009, 3, :o4, 1237086000
118
+ tz.transition 2009, 10, :o5, 1255233600
119
+ tz.transition 2010, 3, :o4, 1268535600
120
+ tz.transition 2010, 10, :o5, 1286683200
121
+ tz.transition 2011, 3, :o4, 1299985200
122
+ tz.transition 2011, 10, :o5, 1318132800
123
+ tz.transition 2012, 3, :o4, 1331434800
124
+ tz.transition 2012, 10, :o5, 1350187200
125
+ tz.transition 2013, 3, :o4, 1362884400
126
+ tz.transition 2013, 10, :o5, 1381636800
127
+ tz.transition 2014, 3, :o4, 1394334000
128
+ tz.transition 2014, 10, :o5, 1413086400
129
+ tz.transition 2015, 3, :o4, 1426388400
130
+ tz.transition 2015, 10, :o5, 1444536000
131
+ tz.transition 2016, 3, :o4, 1457838000
132
+ tz.transition 2016, 10, :o5, 1475985600
133
+ tz.transition 2017, 3, :o4, 1489287600
134
+ tz.transition 2017, 10, :o5, 1508040000
135
+ tz.transition 2018, 3, :o4, 1520737200
136
+ tz.transition 2018, 10, :o5, 1539489600
137
+ tz.transition 2019, 3, :o4, 1552186800
138
+ tz.transition 2019, 10, :o5, 1570939200
139
+ tz.transition 2020, 3, :o4, 1584241200
140
+ tz.transition 2020, 10, :o5, 1602388800
141
+ tz.transition 2021, 3, :o4, 1615690800
142
+ tz.transition 2021, 10, :o5, 1633838400
143
+ tz.transition 2022, 3, :o4, 1647140400
144
+ tz.transition 2022, 10, :o5, 1665288000
145
+ tz.transition 2023, 3, :o4, 1678590000
146
+ tz.transition 2023, 10, :o5, 1697342400
147
+ tz.transition 2024, 3, :o4, 1710039600
148
+ tz.transition 2024, 10, :o5, 1728792000
149
+ tz.transition 2025, 3, :o4, 1741489200
150
+ tz.transition 2025, 10, :o5, 1760241600
151
+ tz.transition 2026, 3, :o4, 1773543600
152
+ tz.transition 2026, 10, :o5, 1791691200
153
+ tz.transition 2027, 3, :o4, 1804993200
154
+ tz.transition 2027, 10, :o5, 1823140800
155
+ tz.transition 2028, 3, :o4, 1836442800
156
+ tz.transition 2028, 10, :o5, 1855195200
157
+ tz.transition 2029, 3, :o4, 1867892400
158
+ tz.transition 2029, 10, :o5, 1886644800
159
+ tz.transition 2030, 3, :o4, 1899342000
160
+ tz.transition 2030, 10, :o5, 1918094400
161
+ tz.transition 2031, 3, :o4, 1930791600
162
+ tz.transition 2031, 10, :o5, 1949544000
163
+ tz.transition 2032, 3, :o4, 1962846000
164
+ tz.transition 2032, 10, :o5, 1980993600
165
+ tz.transition 2033, 3, :o4, 1994295600
166
+ tz.transition 2033, 10, :o5, 2012443200
167
+ tz.transition 2034, 3, :o4, 2025745200
168
+ tz.transition 2034, 10, :o5, 2044497600
169
+ tz.transition 2035, 3, :o4, 2057194800
170
+ tz.transition 2035, 10, :o5, 2075947200
171
+ tz.transition 2036, 3, :o4, 2088644400
172
+ tz.transition 2036, 10, :o5, 2107396800
173
+ tz.transition 2037, 3, :o4, 2120698800
174
+ tz.transition 2037, 10, :o5, 2138846400
175
+ tz.transition 2038, 3, :o4, 19723973, 8
176
+ tz.transition 2038, 10, :o5, 7397120, 3
177
+ tz.transition 2039, 3, :o4, 19726885, 8
178
+ tz.transition 2039, 10, :o5, 7398212, 3
179
+ tz.transition 2040, 3, :o4, 19729797, 8
180
+ tz.transition 2040, 10, :o5, 7399325, 3
181
+ tz.transition 2041, 3, :o4, 19732709, 8
182
+ tz.transition 2041, 10, :o5, 7400417, 3
183
+ tz.transition 2042, 3, :o4, 19735621, 8
184
+ tz.transition 2042, 10, :o5, 7401509, 3
185
+ tz.transition 2043, 3, :o4, 19738589, 8
186
+ tz.transition 2043, 10, :o5, 7402601, 3
187
+ tz.transition 2044, 3, :o4, 19741501, 8
188
+ tz.transition 2044, 10, :o5, 7403693, 3
189
+ tz.transition 2045, 3, :o4, 19744413, 8
190
+ tz.transition 2045, 10, :o5, 7404806, 3
191
+ tz.transition 2046, 3, :o4, 19747325, 8
192
+ tz.transition 2046, 10, :o5, 7405898, 3
193
+ tz.transition 2047, 3, :o4, 19750237, 8
194
+ tz.transition 2047, 10, :o5, 7406990, 3
195
+ tz.transition 2048, 3, :o4, 19753205, 8
196
+ tz.transition 2048, 10, :o5, 7408082, 3
197
+ tz.transition 2049, 3, :o4, 19756117, 8
198
+ tz.transition 2049, 10, :o5, 7409174, 3
199
+ tz.transition 2050, 3, :o4, 19759029, 8
200
+ end
201
+ end
202
+ end
203
+ end
195
204
  end