tzinfo 0.3.62 → 1.0.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 (706) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGES +25 -158
  3. data/LICENSE +1 -1
  4. data/README +89 -55
  5. data/Rakefile +87 -282
  6. data/lib/tzinfo/country.rb +28 -34
  7. data/lib/tzinfo/country_index_definition.rb +2 -7
  8. data/lib/tzinfo/country_info.rb +20 -44
  9. data/lib/tzinfo/country_timezone.rb +1 -1
  10. data/lib/tzinfo/data_source.rb +182 -0
  11. data/lib/tzinfo/data_timezone.rb +1 -3
  12. data/lib/tzinfo/data_timezone_info.rb +11 -190
  13. data/lib/tzinfo/info_timezone.rb +1 -3
  14. data/lib/tzinfo/linked_timezone.rb +1 -4
  15. data/lib/tzinfo/linked_timezone_info.rb +9 -5
  16. data/lib/tzinfo/offset_rationals.rb +2 -4
  17. data/lib/tzinfo/ruby_core_support.rb +152 -82
  18. data/lib/tzinfo/ruby_country_info.rb +78 -0
  19. data/lib/tzinfo/ruby_data_source.rb +153 -0
  20. data/lib/tzinfo/time_or_datetime.rb +83 -52
  21. data/lib/tzinfo/timezone.rb +27 -69
  22. data/lib/tzinfo/timezone_definition.rb +4 -7
  23. data/lib/tzinfo/timezone_index_definition.rb +1 -6
  24. data/lib/tzinfo/timezone_info.rb +8 -4
  25. data/lib/tzinfo/timezone_offset_info.rb +1 -3
  26. data/lib/tzinfo/timezone_period.rb +31 -6
  27. data/lib/tzinfo/timezone_transition_info.rb +42 -12
  28. data/lib/tzinfo/transition_data_timezone_info.rb +223 -0
  29. data/lib/tzinfo/zoneinfo_country_info.rb +50 -0
  30. data/lib/tzinfo/zoneinfo_data_source.rb +297 -0
  31. data/lib/tzinfo/zoneinfo_timezone_info.rb +226 -0
  32. data/lib/tzinfo.rb +9 -7
  33. data/test/tc_country.rb +65 -9
  34. data/test/tc_country_index_definition.rb +27 -6
  35. data/test/tc_country_info.rb +23 -57
  36. data/test/tc_country_timezone.rb +23 -3
  37. data/test/tc_data_source.rb +194 -0
  38. data/test/tc_data_timezone.rb +23 -3
  39. data/test/tc_data_timezone_info.rb +30 -272
  40. data/test/tc_info_timezone.rb +23 -3
  41. data/test/tc_linked_timezone.rb +23 -4
  42. data/test/tc_linked_timezone_info.rb +30 -3
  43. data/test/tc_offset_rationals.rb +23 -3
  44. data/test/tc_ruby_core_support.rb +117 -31
  45. data/test/tc_ruby_country_info.rb +102 -0
  46. data/test/tc_ruby_data_source.rb +145 -0
  47. data/test/tc_time_or_datetime.rb +222 -19
  48. data/test/tc_timezone.rb +187 -57
  49. data/test/tc_timezone_definition.rb +26 -6
  50. data/test/tc_timezone_index_definition.rb +23 -3
  51. data/test/tc_timezone_info.rb +23 -3
  52. data/test/tc_timezone_london.rb +89 -56
  53. data/test/tc_timezone_melbourne.rb +88 -62
  54. data/test/tc_timezone_new_york.rb +73 -47
  55. data/test/tc_timezone_offset_info.rb +36 -4
  56. data/test/tc_timezone_period.rb +60 -22
  57. data/test/tc_timezone_proxy.rb +24 -4
  58. data/test/tc_timezone_transition_info.rb +305 -28
  59. data/test/tc_timezone_utc.rb +24 -4
  60. data/test/tc_transition_data_timezone_info.rb +345 -0
  61. data/test/tc_zoneinfo_country_info.rb +86 -0
  62. data/test/tc_zoneinfo_data_source.rb +601 -0
  63. data/test/tc_zoneinfo_timezone_info.rb +663 -0
  64. data/test/test_utils.rb +116 -21
  65. data/test/ts_all.rb +24 -4
  66. data/test/ts_all_ruby.rb +27 -0
  67. data/test/ts_all_zoneinfo.rb +29 -0
  68. data/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
  69. data/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +313 -0
  70. data/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +216 -0
  71. data/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
  72. data/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
  73. data/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
  74. data/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
  75. data/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +259 -0
  76. data/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +184 -0
  77. data/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +319 -0
  78. data/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +263 -0
  79. data/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +218 -0
  80. data/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
  81. data/test/tzinfo-data/tzinfo/data/indexes/countries.rb +929 -0
  82. data/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +599 -0
  83. data/test/tzinfo-data/tzinfo/data/version.rb +36 -0
  84. data/test/tzinfo-data/tzinfo/data.rb +23 -0
  85. data/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  86. data/test/zoneinfo/America/New_York +0 -0
  87. data/test/zoneinfo/Australia/Melbourne +0 -0
  88. data/test/zoneinfo/EST +0 -0
  89. data/test/zoneinfo/Etc/UTC +0 -0
  90. data/test/zoneinfo/Europe/Amsterdam +0 -0
  91. data/test/zoneinfo/Europe/Andorra +0 -0
  92. data/test/zoneinfo/Europe/London +0 -0
  93. data/test/zoneinfo/Europe/Paris +0 -0
  94. data/test/zoneinfo/Europe/Prague +0 -0
  95. data/test/zoneinfo/Factory +0 -0
  96. data/test/zoneinfo/UTC +0 -0
  97. data/test/zoneinfo/iso3166.tab +276 -0
  98. data/test/zoneinfo/localtime +0 -0
  99. data/test/zoneinfo/posix/Europe/London +0 -0
  100. data/test/zoneinfo/posixrules +0 -0
  101. data/test/zoneinfo/right/Europe/London +0 -0
  102. data/test/zoneinfo/zone.tab +444 -0
  103. metadata +134 -716
  104. data/.yardopts +0 -8
  105. data/lib/tzinfo/definitions/Africa/Abidjan.rb +0 -18
  106. data/lib/tzinfo/definitions/Africa/Accra.rb +0 -13
  107. data/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +0 -13
  108. data/lib/tzinfo/definitions/Africa/Algiers.rb +0 -55
  109. data/lib/tzinfo/definitions/Africa/Asmara.rb +0 -13
  110. data/lib/tzinfo/definitions/Africa/Asmera.rb +0 -13
  111. data/lib/tzinfo/definitions/Africa/Bamako.rb +0 -13
  112. data/lib/tzinfo/definitions/Africa/Bangui.rb +0 -13
  113. data/lib/tzinfo/definitions/Africa/Banjul.rb +0 -13
  114. data/lib/tzinfo/definitions/Africa/Bissau.rb +0 -20
  115. data/lib/tzinfo/definitions/Africa/Blantyre.rb +0 -13
  116. data/lib/tzinfo/definitions/Africa/Brazzaville.rb +0 -13
  117. data/lib/tzinfo/definitions/Africa/Bujumbura.rb +0 -13
  118. data/lib/tzinfo/definitions/Africa/Cairo.rb +0 -247
  119. data/lib/tzinfo/definitions/Africa/Casablanca.rb +0 -189
  120. data/lib/tzinfo/definitions/Africa/Ceuta.rb +0 -218
  121. data/lib/tzinfo/definitions/Africa/Conakry.rb +0 -13
  122. data/lib/tzinfo/definitions/Africa/Dakar.rb +0 -13
  123. data/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +0 -13
  124. data/lib/tzinfo/definitions/Africa/Djibouti.rb +0 -13
  125. data/lib/tzinfo/definitions/Africa/Douala.rb +0 -13
  126. data/lib/tzinfo/definitions/Africa/El_Aaiun.rb +0 -179
  127. data/lib/tzinfo/definitions/Africa/Freetown.rb +0 -13
  128. data/lib/tzinfo/definitions/Africa/Gaborone.rb +0 -13
  129. data/lib/tzinfo/definitions/Africa/Harare.rb +0 -13
  130. data/lib/tzinfo/definitions/Africa/Johannesburg.rb +0 -25
  131. data/lib/tzinfo/definitions/Africa/Juba.rb +0 -54
  132. data/lib/tzinfo/definitions/Africa/Kampala.rb +0 -13
  133. data/lib/tzinfo/definitions/Africa/Khartoum.rb +0 -54
  134. data/lib/tzinfo/definitions/Africa/Kigali.rb +0 -13
  135. data/lib/tzinfo/definitions/Africa/Kinshasa.rb +0 -13
  136. data/lib/tzinfo/definitions/Africa/Lagos.rb +0 -23
  137. data/lib/tzinfo/definitions/Africa/Libreville.rb +0 -13
  138. data/lib/tzinfo/definitions/Africa/Lome.rb +0 -13
  139. data/lib/tzinfo/definitions/Africa/Luanda.rb +0 -13
  140. data/lib/tzinfo/definitions/Africa/Lubumbashi.rb +0 -13
  141. data/lib/tzinfo/definitions/Africa/Lusaka.rb +0 -13
  142. data/lib/tzinfo/definitions/Africa/Malabo.rb +0 -13
  143. data/lib/tzinfo/definitions/Africa/Maputo.rb +0 -18
  144. data/lib/tzinfo/definitions/Africa/Maseru.rb +0 -13
  145. data/lib/tzinfo/definitions/Africa/Mbabane.rb +0 -13
  146. data/lib/tzinfo/definitions/Africa/Mogadishu.rb +0 -13
  147. data/lib/tzinfo/definitions/Africa/Monrovia.rb +0 -22
  148. data/lib/tzinfo/definitions/Africa/Nairobi.rb +0 -24
  149. data/lib/tzinfo/definitions/Africa/Ndjamena.rb +0 -21
  150. data/lib/tzinfo/definitions/Africa/Niamey.rb +0 -13
  151. data/lib/tzinfo/definitions/Africa/Nouakchott.rb +0 -13
  152. data/lib/tzinfo/definitions/Africa/Ouagadougou.rb +0 -13
  153. data/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +0 -13
  154. data/lib/tzinfo/definitions/Africa/Sao_Tome.rb +0 -23
  155. data/lib/tzinfo/definitions/Africa/Timbuktu.rb +0 -13
  156. data/lib/tzinfo/definitions/Africa/Tripoli.rb +0 -51
  157. data/lib/tzinfo/definitions/Africa/Tunis.rb +0 -53
  158. data/lib/tzinfo/definitions/Africa/Windhoek.rb +0 -74
  159. data/lib/tzinfo/definitions/America/Adak.rb +0 -242
  160. data/lib/tzinfo/definitions/America/Anchorage.rb +0 -242
  161. data/lib/tzinfo/definitions/America/Anguilla.rb +0 -13
  162. data/lib/tzinfo/definitions/America/Antigua.rb +0 -13
  163. data/lib/tzinfo/definitions/America/Araguaina.rb +0 -69
  164. data/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +0 -84
  165. data/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +0 -84
  166. data/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +0 -15
  167. data/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +0 -84
  168. data/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +0 -82
  169. data/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +0 -85
  170. data/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +0 -84
  171. data/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +0 -84
  172. data/lib/tzinfo/definitions/America/Argentina/Salta.rb +0 -82
  173. data/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +0 -85
  174. data/lib/tzinfo/definitions/America/Argentina/San_Luis.rb +0 -85
  175. data/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +0 -86
  176. data/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +0 -84
  177. data/lib/tzinfo/definitions/America/Aruba.rb +0 -13
  178. data/lib/tzinfo/definitions/America/Asuncion.rb +0 -220
  179. data/lib/tzinfo/definitions/America/Atikokan.rb +0 -13
  180. data/lib/tzinfo/definitions/America/Atka.rb +0 -13
  181. data/lib/tzinfo/definitions/America/Bahia.rb +0 -79
  182. data/lib/tzinfo/definitions/America/Bahia_Banderas.rb +0 -84
  183. data/lib/tzinfo/definitions/America/Barbados.rb +0 -34
  184. data/lib/tzinfo/definitions/America/Belem.rb +0 -47
  185. data/lib/tzinfo/definitions/America/Belize.rb +0 -119
  186. data/lib/tzinfo/definitions/America/Blanc__m__Sablon.rb +0 -13
  187. data/lib/tzinfo/definitions/America/Boa_Vista.rb +0 -51
  188. data/lib/tzinfo/definitions/America/Bogota.rb +0 -23
  189. data/lib/tzinfo/definitions/America/Boise.rb +0 -245
  190. data/lib/tzinfo/definitions/America/Buenos_Aires.rb +0 -13
  191. data/lib/tzinfo/definitions/America/Cambridge_Bay.rb +0 -232
  192. data/lib/tzinfo/definitions/America/Campo_Grande.rb +0 -109
  193. data/lib/tzinfo/definitions/America/Cancun.rb +0 -62
  194. data/lib/tzinfo/definitions/America/Caracas.rb +0 -24
  195. data/lib/tzinfo/definitions/America/Catamarca.rb +0 -13
  196. data/lib/tzinfo/definitions/America/Cayenne.rb +0 -20
  197. data/lib/tzinfo/definitions/America/Cayman.rb +0 -13
  198. data/lib/tzinfo/definitions/America/Chicago.rb +0 -329
  199. data/lib/tzinfo/definitions/America/Chihuahua.rb +0 -80
  200. data/lib/tzinfo/definitions/America/Ciudad_Juarez.rb +0 -183
  201. data/lib/tzinfo/definitions/America/Coral_Harbour.rb +0 -13
  202. data/lib/tzinfo/definitions/America/Cordoba.rb +0 -13
  203. data/lib/tzinfo/definitions/America/Costa_Rica.rb +0 -29
  204. data/lib/tzinfo/definitions/America/Creston.rb +0 -13
  205. data/lib/tzinfo/definitions/America/Cuiaba.rb +0 -107
  206. data/lib/tzinfo/definitions/America/Curacao.rb +0 -13
  207. data/lib/tzinfo/definitions/America/Danmarkshavn.rb +0 -53
  208. data/lib/tzinfo/definitions/America/Dawson.rb +0 -117
  209. data/lib/tzinfo/definitions/America/Dawson_Creek.rb +0 -79
  210. data/lib/tzinfo/definitions/America/Denver.rb +0 -250
  211. data/lib/tzinfo/definitions/America/Detroit.rb +0 -234
  212. data/lib/tzinfo/definitions/America/Dominica.rb +0 -13
  213. data/lib/tzinfo/definitions/America/Edmonton.rb +0 -242
  214. data/lib/tzinfo/definitions/America/Eirunepe.rb +0 -52
  215. data/lib/tzinfo/definitions/America/El_Salvador.rb +0 -23
  216. data/lib/tzinfo/definitions/America/Ensenada.rb +0 -13
  217. data/lib/tzinfo/definitions/America/Fort_Nelson.rb +0 -164
  218. data/lib/tzinfo/definitions/America/Fort_Wayne.rb +0 -13
  219. data/lib/tzinfo/definitions/America/Fortaleza.rb +0 -57
  220. data/lib/tzinfo/definitions/America/Glace_Bay.rb +0 -232
  221. data/lib/tzinfo/definitions/America/Godthab.rb +0 -13
  222. data/lib/tzinfo/definitions/America/Goose_Bay.rb +0 -301
  223. data/lib/tzinfo/definitions/America/Grand_Turk.rb +0 -207
  224. data/lib/tzinfo/definitions/America/Grenada.rb +0 -13
  225. data/lib/tzinfo/definitions/America/Guadeloupe.rb +0 -13
  226. data/lib/tzinfo/definitions/America/Guatemala.rb +0 -27
  227. data/lib/tzinfo/definitions/America/Guayaquil.rb +0 -23
  228. data/lib/tzinfo/definitions/America/Guyana.rb +0 -23
  229. data/lib/tzinfo/definitions/America/Halifax.rb +0 -320
  230. data/lib/tzinfo/definitions/America/Havana.rb +0 -247
  231. data/lib/tzinfo/definitions/America/Hermosillo.rb +0 -35
  232. data/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +0 -195
  233. data/lib/tzinfo/definitions/America/Indiana/Knox.rb +0 -249
  234. data/lib/tzinfo/definitions/America/Indiana/Marengo.rb +0 -199
  235. data/lib/tzinfo/definitions/America/Indiana/Petersburg.rb +0 -212
  236. data/lib/tzinfo/definitions/America/Indiana/Tell_City.rb +0 -194
  237. data/lib/tzinfo/definitions/America/Indiana/Vevay.rb +0 -177
  238. data/lib/tzinfo/definitions/America/Indiana/Vincennes.rb +0 -197
  239. data/lib/tzinfo/definitions/America/Indiana/Winamac.rb +0 -203
  240. data/lib/tzinfo/definitions/America/Indianapolis.rb +0 -13
  241. data/lib/tzinfo/definitions/America/Inuvik.rb +0 -225
  242. data/lib/tzinfo/definitions/America/Iqaluit.rb +0 -229
  243. data/lib/tzinfo/definitions/America/Jamaica.rb +0 -41
  244. data/lib/tzinfo/definitions/America/Jujuy.rb +0 -13
  245. data/lib/tzinfo/definitions/America/Juneau.rb +0 -241
  246. data/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +0 -274
  247. data/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +0 -244
  248. data/lib/tzinfo/definitions/America/Knox_IN.rb +0 -13
  249. data/lib/tzinfo/definitions/America/Kralendijk.rb +0 -13
  250. data/lib/tzinfo/definitions/America/La_Paz.rb +0 -22
  251. data/lib/tzinfo/definitions/America/Lima.rb +0 -35
  252. data/lib/tzinfo/definitions/America/Los_Angeles.rb +0 -278
  253. data/lib/tzinfo/definitions/America/Louisville.rb +0 -13
  254. data/lib/tzinfo/definitions/America/Lower_Princes.rb +0 -13
  255. data/lib/tzinfo/definitions/America/Maceio.rb +0 -59
  256. data/lib/tzinfo/definitions/America/Managua.rb +0 -36
  257. data/lib/tzinfo/definitions/America/Manaus.rb +0 -49
  258. data/lib/tzinfo/definitions/America/Marigot.rb +0 -13
  259. data/lib/tzinfo/definitions/America/Martinique.rb +0 -23
  260. data/lib/tzinfo/definitions/America/Matamoros.rb +0 -177
  261. data/lib/tzinfo/definitions/America/Mazatlan.rb +0 -83
  262. data/lib/tzinfo/definitions/America/Mendoza.rb +0 -13
  263. data/lib/tzinfo/definitions/America/Menominee.rb +0 -236
  264. data/lib/tzinfo/definitions/America/Merida.rb +0 -76
  265. data/lib/tzinfo/definitions/America/Metlakatla.rb +0 -176
  266. data/lib/tzinfo/definitions/America/Mexico_City.rb +0 -89
  267. data/lib/tzinfo/definitions/America/Miquelon.rb +0 -195
  268. data/lib/tzinfo/definitions/America/Moncton.rb +0 -300
  269. data/lib/tzinfo/definitions/America/Monterrey.rb +0 -75
  270. data/lib/tzinfo/definitions/America/Montevideo.rb +0 -110
  271. data/lib/tzinfo/definitions/America/Montreal.rb +0 -13
  272. data/lib/tzinfo/definitions/America/Montserrat.rb +0 -13
  273. data/lib/tzinfo/definitions/America/Nassau.rb +0 -13
  274. data/lib/tzinfo/definitions/America/New_York.rb +0 -328
  275. data/lib/tzinfo/definitions/America/Nipigon.rb +0 -13
  276. data/lib/tzinfo/definitions/America/Nome.rb +0 -242
  277. data/lib/tzinfo/definitions/America/Noronha.rb +0 -57
  278. data/lib/tzinfo/definitions/America/North_Dakota/Beulah.rb +0 -246
  279. data/lib/tzinfo/definitions/America/North_Dakota/Center.rb +0 -246
  280. data/lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb +0 -246
  281. data/lib/tzinfo/definitions/America/Nuuk.rb +0 -209
  282. data/lib/tzinfo/definitions/America/Ojinaga.rb +0 -182
  283. data/lib/tzinfo/definitions/America/Panama.rb +0 -20
  284. data/lib/tzinfo/definitions/America/Pangnirtung.rb +0 -13
  285. data/lib/tzinfo/definitions/America/Paramaribo.rb +0 -24
  286. data/lib/tzinfo/definitions/America/Phoenix.rb +0 -30
  287. data/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +0 -177
  288. data/lib/tzinfo/definitions/America/Port_of_Spain.rb +0 -13
  289. data/lib/tzinfo/definitions/America/Porto_Acre.rb +0 -13
  290. data/lib/tzinfo/definitions/America/Porto_Velho.rb +0 -47
  291. data/lib/tzinfo/definitions/America/Puerto_Rico.rb +0 -23
  292. data/lib/tzinfo/definitions/America/Punta_Arenas.rb +0 -139
  293. data/lib/tzinfo/definitions/America/Rainy_River.rb +0 -13
  294. data/lib/tzinfo/definitions/America/Rankin_Inlet.rb +0 -224
  295. data/lib/tzinfo/definitions/America/Recife.rb +0 -57
  296. data/lib/tzinfo/definitions/America/Regina.rb +0 -74
  297. data/lib/tzinfo/definitions/America/Resolute.rb +0 -224
  298. data/lib/tzinfo/definitions/America/Rio_Branco.rb +0 -50
  299. data/lib/tzinfo/definitions/America/Rosario.rb +0 -13
  300. data/lib/tzinfo/definitions/America/Santa_Isabel.rb +0 -13
  301. data/lib/tzinfo/definitions/America/Santarem.rb +0 -49
  302. data/lib/tzinfo/definitions/America/Santiago.rb +0 -251
  303. data/lib/tzinfo/definitions/America/Santo_Domingo.rb +0 -38
  304. data/lib/tzinfo/definitions/America/Sao_Paulo.rb +0 -109
  305. data/lib/tzinfo/definitions/America/Scoresbysund.rb +0 -209
  306. data/lib/tzinfo/definitions/America/Shiprock.rb +0 -13
  307. data/lib/tzinfo/definitions/America/Sitka.rb +0 -240
  308. data/lib/tzinfo/definitions/America/St_Barthelemy.rb +0 -13
  309. data/lib/tzinfo/definitions/America/St_Johns.rb +0 -334
  310. data/lib/tzinfo/definitions/America/St_Kitts.rb +0 -13
  311. data/lib/tzinfo/definitions/America/St_Lucia.rb +0 -13
  312. data/lib/tzinfo/definitions/America/St_Thomas.rb +0 -13
  313. data/lib/tzinfo/definitions/America/St_Vincent.rb +0 -13
  314. data/lib/tzinfo/definitions/America/Swift_Current.rb +0 -44
  315. data/lib/tzinfo/definitions/America/Tegucigalpa.rb +0 -25
  316. data/lib/tzinfo/definitions/America/Thule.rb +0 -185
  317. data/lib/tzinfo/definitions/America/Thunder_Bay.rb +0 -13
  318. data/lib/tzinfo/definitions/America/Tijuana.rb +0 -242
  319. data/lib/tzinfo/definitions/America/Toronto.rb +0 -325
  320. data/lib/tzinfo/definitions/America/Tortola.rb +0 -13
  321. data/lib/tzinfo/definitions/America/Vancouver.rb +0 -282
  322. data/lib/tzinfo/definitions/America/Virgin.rb +0 -13
  323. data/lib/tzinfo/definitions/America/Whitehorse.rb +0 -117
  324. data/lib/tzinfo/definitions/America/Winnipeg.rb +0 -278
  325. data/lib/tzinfo/definitions/America/Yakutat.rb +0 -239
  326. data/lib/tzinfo/definitions/America/Yellowknife.rb +0 -13
  327. data/lib/tzinfo/definitions/Antarctica/Casey.rb +0 -30
  328. data/lib/tzinfo/definitions/Antarctica/Davis.rb +0 -25
  329. data/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +0 -13
  330. data/lib/tzinfo/definitions/Antarctica/Macquarie.rb +0 -233
  331. data/lib/tzinfo/definitions/Antarctica/Mawson.rb +0 -20
  332. data/lib/tzinfo/definitions/Antarctica/McMurdo.rb +0 -13
  333. data/lib/tzinfo/definitions/Antarctica/Palmer.rb +0 -102
  334. data/lib/tzinfo/definitions/Antarctica/Rothera.rb +0 -18
  335. data/lib/tzinfo/definitions/Antarctica/South_Pole.rb +0 -13
  336. data/lib/tzinfo/definitions/Antarctica/Syowa.rb +0 -13
  337. data/lib/tzinfo/definitions/Antarctica/Troll.rb +0 -157
  338. data/lib/tzinfo/definitions/Antarctica/Vostok.rb +0 -13
  339. data/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +0 -13
  340. data/lib/tzinfo/definitions/Asia/Aden.rb +0 -13
  341. data/lib/tzinfo/definitions/Asia/Almaty.rb +0 -71
  342. data/lib/tzinfo/definitions/Asia/Amman.rb +0 -106
  343. data/lib/tzinfo/definitions/Asia/Anadyr.rb +0 -86
  344. data/lib/tzinfo/definitions/Asia/Aqtau.rb +0 -71
  345. data/lib/tzinfo/definitions/Asia/Aqtobe.rb +0 -72
  346. data/lib/tzinfo/definitions/Asia/Ashgabat.rb +0 -45
  347. data/lib/tzinfo/definitions/Asia/Ashkhabad.rb +0 -13
  348. data/lib/tzinfo/definitions/Asia/Atyrau.rb +0 -72
  349. data/lib/tzinfo/definitions/Asia/Baghdad.rb +0 -73
  350. data/lib/tzinfo/definitions/Asia/Bahrain.rb +0 -13
  351. data/lib/tzinfo/definitions/Asia/Baku.rb +0 -86
  352. data/lib/tzinfo/definitions/Asia/Bangkok.rb +0 -20
  353. data/lib/tzinfo/definitions/Asia/Barnaul.rb +0 -87
  354. data/lib/tzinfo/definitions/Asia/Beirut.rb +0 -231
  355. data/lib/tzinfo/definitions/Asia/Bishkek.rb +0 -72
  356. data/lib/tzinfo/definitions/Asia/Brunei.rb +0 -13
  357. data/lib/tzinfo/definitions/Asia/Calcutta.rb +0 -13
  358. data/lib/tzinfo/definitions/Asia/Chita.rb +0 -87
  359. data/lib/tzinfo/definitions/Asia/Choibalsan.rb +0 -72
  360. data/lib/tzinfo/definitions/Asia/Chongqing.rb +0 -13
  361. data/lib/tzinfo/definitions/Asia/Chungking.rb +0 -13
  362. data/lib/tzinfo/definitions/Asia/Colombo.rb +0 -30
  363. data/lib/tzinfo/definitions/Asia/Dacca.rb +0 -13
  364. data/lib/tzinfo/definitions/Asia/Damascus.rb +0 -140
  365. data/lib/tzinfo/definitions/Asia/Dhaka.rb +0 -28
  366. data/lib/tzinfo/definitions/Asia/Dili.rb +0 -22
  367. data/lib/tzinfo/definitions/Asia/Dubai.rb +0 -18
  368. data/lib/tzinfo/definitions/Asia/Dushanbe.rb +0 -44
  369. data/lib/tzinfo/definitions/Asia/Famagusta.rb +0 -217
  370. data/lib/tzinfo/definitions/Asia/Gaza.rb +0 -274
  371. data/lib/tzinfo/definitions/Asia/Harbin.rb +0 -13
  372. data/lib/tzinfo/definitions/Asia/Hebron.rb +0 -276
  373. data/lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb +0 -29
  374. data/lib/tzinfo/definitions/Asia/Hong_Kong.rb +0 -89
  375. data/lib/tzinfo/definitions/Asia/Hovd.rb +0 -69
  376. data/lib/tzinfo/definitions/Asia/Irkutsk.rb +0 -88
  377. data/lib/tzinfo/definitions/Asia/Istanbul.rb +0 -13
  378. data/lib/tzinfo/definitions/Asia/Jakarta.rb +0 -30
  379. data/lib/tzinfo/definitions/Asia/Jayapura.rb +0 -22
  380. data/lib/tzinfo/definitions/Asia/Jerusalem.rb +0 -241
  381. data/lib/tzinfo/definitions/Asia/Kabul.rb +0 -20
  382. data/lib/tzinfo/definitions/Asia/Kamchatka.rb +0 -84
  383. data/lib/tzinfo/definitions/Asia/Karachi.rb +0 -32
  384. data/lib/tzinfo/definitions/Asia/Kashgar.rb +0 -13
  385. data/lib/tzinfo/definitions/Asia/Kathmandu.rb +0 -20
  386. data/lib/tzinfo/definitions/Asia/Katmandu.rb +0 -13
  387. data/lib/tzinfo/definitions/Asia/Khandyga.rb +0 -90
  388. data/lib/tzinfo/definitions/Asia/Kolkata.rb +0 -27
  389. data/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +0 -86
  390. data/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +0 -13
  391. data/lib/tzinfo/definitions/Asia/Kuching.rb +0 -38
  392. data/lib/tzinfo/definitions/Asia/Kuwait.rb +0 -13
  393. data/lib/tzinfo/definitions/Asia/Macao.rb +0 -13
  394. data/lib/tzinfo/definitions/Asia/Macau.rb +0 -91
  395. data/lib/tzinfo/definitions/Asia/Magadan.rb +0 -87
  396. data/lib/tzinfo/definitions/Asia/Makassar.rb +0 -24
  397. data/lib/tzinfo/definitions/Asia/Manila.rb +0 -30
  398. data/lib/tzinfo/definitions/Asia/Muscat.rb +0 -13
  399. data/lib/tzinfo/definitions/Asia/Nicosia.rb +0 -217
  400. data/lib/tzinfo/definitions/Asia/Novokuznetsk.rb +0 -84
  401. data/lib/tzinfo/definitions/Asia/Novosibirsk.rb +0 -87
  402. data/lib/tzinfo/definitions/Asia/Omsk.rb +0 -86
  403. data/lib/tzinfo/definitions/Asia/Oral.rb +0 -73
  404. data/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +0 -13
  405. data/lib/tzinfo/definitions/Asia/Pontianak.rb +0 -30
  406. data/lib/tzinfo/definitions/Asia/Pyongyang.rb +0 -24
  407. data/lib/tzinfo/definitions/Asia/Qatar.rb +0 -20
  408. data/lib/tzinfo/definitions/Asia/Qostanay.rb +0 -72
  409. data/lib/tzinfo/definitions/Asia/Qyzylorda.rb +0 -73
  410. data/lib/tzinfo/definitions/Asia/Rangoon.rb +0 -13
  411. data/lib/tzinfo/definitions/Asia/Riyadh.rb +0 -18
  412. data/lib/tzinfo/definitions/Asia/Saigon.rb +0 -13
  413. data/lib/tzinfo/definitions/Asia/Sakhalin.rb +0 -87
  414. data/lib/tzinfo/definitions/Asia/Samarkand.rb +0 -44
  415. data/lib/tzinfo/definitions/Asia/Seoul.rb +0 -50
  416. data/lib/tzinfo/definitions/Asia/Shanghai.rb +0 -47
  417. data/lib/tzinfo/definitions/Asia/Singapore.rb +0 -31
  418. data/lib/tzinfo/definitions/Asia/Srednekolymsk.rb +0 -86
  419. data/lib/tzinfo/definitions/Asia/Taipei.rb +0 -60
  420. data/lib/tzinfo/definitions/Asia/Tashkent.rb +0 -44
  421. data/lib/tzinfo/definitions/Asia/Tbilisi.rb +0 -73
  422. data/lib/tzinfo/definitions/Asia/Tehran.rb +0 -92
  423. data/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +0 -13
  424. data/lib/tzinfo/definitions/Asia/Thimbu.rb +0 -13
  425. data/lib/tzinfo/definitions/Asia/Thimphu.rb +0 -20
  426. data/lib/tzinfo/definitions/Asia/Tokyo.rb +0 -27
  427. data/lib/tzinfo/definitions/Asia/Tomsk.rb +0 -87
  428. data/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +0 -13
  429. data/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +0 -69
  430. data/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +0 -13
  431. data/lib/tzinfo/definitions/Asia/Urumqi.rb +0 -18
  432. data/lib/tzinfo/definitions/Asia/Ust__m__Nera.rb +0 -89
  433. data/lib/tzinfo/definitions/Asia/Vientiane.rb +0 -13
  434. data/lib/tzinfo/definitions/Asia/Vladivostok.rb +0 -86
  435. data/lib/tzinfo/definitions/Asia/Yakutsk.rb +0 -86
  436. data/lib/tzinfo/definitions/Asia/Yangon.rb +0 -23
  437. data/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +0 -88
  438. data/lib/tzinfo/definitions/Asia/Yerevan.rb +0 -82
  439. data/lib/tzinfo/definitions/Atlantic/Azores.rb +0 -318
  440. data/lib/tzinfo/definitions/Atlantic/Bermuda.rb +0 -248
  441. data/lib/tzinfo/definitions/Atlantic/Canary.rb +0 -209
  442. data/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +0 -23
  443. data/lib/tzinfo/definitions/Atlantic/Faeroe.rb +0 -13
  444. data/lib/tzinfo/definitions/Atlantic/Faroe.rb +0 -205
  445. data/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +0 -13
  446. data/lib/tzinfo/definitions/Atlantic/Madeira.rb +0 -317
  447. data/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +0 -13
  448. data/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +0 -18
  449. data/lib/tzinfo/definitions/Atlantic/St_Helena.rb +0 -13
  450. data/lib/tzinfo/definitions/Atlantic/Stanley.rb +0 -91
  451. data/lib/tzinfo/definitions/Australia/ACT.rb +0 -13
  452. data/lib/tzinfo/definitions/Australia/Adelaide.rb +0 -233
  453. data/lib/tzinfo/definitions/Australia/Brisbane.rb +0 -35
  454. data/lib/tzinfo/definitions/Australia/Broken_Hill.rb +0 -235
  455. data/lib/tzinfo/definitions/Australia/Canberra.rb +0 -13
  456. data/lib/tzinfo/definitions/Australia/Currie.rb +0 -13
  457. data/lib/tzinfo/definitions/Australia/Darwin.rb +0 -29
  458. data/lib/tzinfo/definitions/Australia/Eucla.rb +0 -37
  459. data/lib/tzinfo/definitions/Australia/Hobart.rb +0 -243
  460. data/lib/tzinfo/definitions/Australia/LHI.rb +0 -13
  461. data/lib/tzinfo/definitions/Australia/Lindeman.rb +0 -39
  462. data/lib/tzinfo/definitions/Australia/Lord_Howe.rb +0 -206
  463. data/lib/tzinfo/definitions/Australia/Melbourne.rb +0 -231
  464. data/lib/tzinfo/definitions/Australia/NSW.rb +0 -13
  465. data/lib/tzinfo/definitions/Australia/North.rb +0 -13
  466. data/lib/tzinfo/definitions/Australia/Perth.rb +0 -37
  467. data/lib/tzinfo/definitions/Australia/Queensland.rb +0 -13
  468. data/lib/tzinfo/definitions/Australia/South.rb +0 -13
  469. data/lib/tzinfo/definitions/Australia/Sydney.rb +0 -231
  470. data/lib/tzinfo/definitions/Australia/Tasmania.rb +0 -13
  471. data/lib/tzinfo/definitions/Australia/Victoria.rb +0 -13
  472. data/lib/tzinfo/definitions/Australia/West.rb +0 -13
  473. data/lib/tzinfo/definitions/Australia/Yancowinna.rb +0 -13
  474. data/lib/tzinfo/definitions/Brazil/Acre.rb +0 -13
  475. data/lib/tzinfo/definitions/Brazil/DeNoronha.rb +0 -13
  476. data/lib/tzinfo/definitions/Brazil/East.rb +0 -13
  477. data/lib/tzinfo/definitions/Brazil/West.rb +0 -13
  478. data/lib/tzinfo/definitions/CET.rb +0 -223
  479. data/lib/tzinfo/definitions/CST6CDT.rb +0 -238
  480. data/lib/tzinfo/definitions/Canada/Atlantic.rb +0 -13
  481. data/lib/tzinfo/definitions/Canada/Central.rb +0 -13
  482. data/lib/tzinfo/definitions/Canada/Eastern.rb +0 -13
  483. data/lib/tzinfo/definitions/Canada/Mountain.rb +0 -13
  484. data/lib/tzinfo/definitions/Canada/Newfoundland.rb +0 -13
  485. data/lib/tzinfo/definitions/Canada/Pacific.rb +0 -13
  486. data/lib/tzinfo/definitions/Canada/Saskatchewan.rb +0 -13
  487. data/lib/tzinfo/definitions/Canada/Yukon.rb +0 -13
  488. data/lib/tzinfo/definitions/Chile/Continental.rb +0 -13
  489. data/lib/tzinfo/definitions/Chile/EasterIsland.rb +0 -13
  490. data/lib/tzinfo/definitions/Cuba.rb +0 -11
  491. data/lib/tzinfo/definitions/EET.rb +0 -209
  492. data/lib/tzinfo/definitions/EST.rb +0 -14
  493. data/lib/tzinfo/definitions/EST5EDT.rb +0 -238
  494. data/lib/tzinfo/definitions/Egypt.rb +0 -11
  495. data/lib/tzinfo/definitions/Eire.rb +0 -11
  496. data/lib/tzinfo/definitions/Etc/GMT.rb +0 -16
  497. data/lib/tzinfo/definitions/Etc/GMT0.rb +0 -13
  498. data/lib/tzinfo/definitions/Etc/GMT__m__0.rb +0 -13
  499. data/lib/tzinfo/definitions/Etc/GMT__m__1.rb +0 -16
  500. data/lib/tzinfo/definitions/Etc/GMT__m__10.rb +0 -16
  501. data/lib/tzinfo/definitions/Etc/GMT__m__11.rb +0 -16
  502. data/lib/tzinfo/definitions/Etc/GMT__m__12.rb +0 -16
  503. data/lib/tzinfo/definitions/Etc/GMT__m__13.rb +0 -16
  504. data/lib/tzinfo/definitions/Etc/GMT__m__14.rb +0 -16
  505. data/lib/tzinfo/definitions/Etc/GMT__m__2.rb +0 -16
  506. data/lib/tzinfo/definitions/Etc/GMT__m__3.rb +0 -16
  507. data/lib/tzinfo/definitions/Etc/GMT__m__4.rb +0 -16
  508. data/lib/tzinfo/definitions/Etc/GMT__m__5.rb +0 -16
  509. data/lib/tzinfo/definitions/Etc/GMT__m__6.rb +0 -16
  510. data/lib/tzinfo/definitions/Etc/GMT__m__7.rb +0 -16
  511. data/lib/tzinfo/definitions/Etc/GMT__m__8.rb +0 -16
  512. data/lib/tzinfo/definitions/Etc/GMT__m__9.rb +0 -16
  513. data/lib/tzinfo/definitions/Etc/GMT__p__0.rb +0 -13
  514. data/lib/tzinfo/definitions/Etc/GMT__p__1.rb +0 -16
  515. data/lib/tzinfo/definitions/Etc/GMT__p__10.rb +0 -16
  516. data/lib/tzinfo/definitions/Etc/GMT__p__11.rb +0 -16
  517. data/lib/tzinfo/definitions/Etc/GMT__p__12.rb +0 -16
  518. data/lib/tzinfo/definitions/Etc/GMT__p__2.rb +0 -16
  519. data/lib/tzinfo/definitions/Etc/GMT__p__3.rb +0 -16
  520. data/lib/tzinfo/definitions/Etc/GMT__p__4.rb +0 -16
  521. data/lib/tzinfo/definitions/Etc/GMT__p__5.rb +0 -16
  522. data/lib/tzinfo/definitions/Etc/GMT__p__6.rb +0 -16
  523. data/lib/tzinfo/definitions/Etc/GMT__p__7.rb +0 -16
  524. data/lib/tzinfo/definitions/Etc/GMT__p__8.rb +0 -16
  525. data/lib/tzinfo/definitions/Etc/GMT__p__9.rb +0 -16
  526. data/lib/tzinfo/definitions/Etc/Greenwich.rb +0 -13
  527. data/lib/tzinfo/definitions/Etc/UCT.rb +0 -13
  528. data/lib/tzinfo/definitions/Etc/UTC.rb +0 -16
  529. data/lib/tzinfo/definitions/Etc/Universal.rb +0 -13
  530. data/lib/tzinfo/definitions/Etc/Zulu.rb +0 -13
  531. data/lib/tzinfo/definitions/Europe/Amsterdam.rb +0 -13
  532. data/lib/tzinfo/definitions/Europe/Andorra.rb +0 -199
  533. data/lib/tzinfo/definitions/Europe/Astrakhan.rb +0 -84
  534. data/lib/tzinfo/definitions/Europe/Athens.rb +0 -231
  535. data/lib/tzinfo/definitions/Europe/Belfast.rb +0 -13
  536. data/lib/tzinfo/definitions/Europe/Belgrade.rb +0 -209
  537. data/lib/tzinfo/definitions/Europe/Berlin.rb +0 -234
  538. data/lib/tzinfo/definitions/Europe/Bratislava.rb +0 -13
  539. data/lib/tzinfo/definitions/Europe/Brussels.rb +0 -278
  540. data/lib/tzinfo/definitions/Europe/Bucharest.rb +0 -227
  541. data/lib/tzinfo/definitions/Europe/Budapest.rb +0 -241
  542. data/lib/tzinfo/definitions/Europe/Busingen.rb +0 -13
  543. data/lib/tzinfo/definitions/Europe/Chisinau.rb +0 -237
  544. data/lib/tzinfo/definitions/Europe/Copenhagen.rb +0 -13
  545. data/lib/tzinfo/definitions/Europe/Dublin.rb +0 -322
  546. data/lib/tzinfo/definitions/Europe/Gibraltar.rb +0 -291
  547. data/lib/tzinfo/definitions/Europe/Guernsey.rb +0 -13
  548. data/lib/tzinfo/definitions/Europe/Helsinki.rb +0 -209
  549. data/lib/tzinfo/definitions/Europe/Isle_of_Man.rb +0 -13
  550. data/lib/tzinfo/definitions/Europe/Istanbul.rb +0 -136
  551. data/lib/tzinfo/definitions/Europe/Jersey.rb +0 -13
  552. data/lib/tzinfo/definitions/Europe/Kaliningrad.rb +0 -103
  553. data/lib/tzinfo/definitions/Europe/Kiev.rb +0 -13
  554. data/lib/tzinfo/definitions/Europe/Kirov.rb +0 -85
  555. data/lib/tzinfo/definitions/Europe/Kyiv.rb +0 -216
  556. data/lib/tzinfo/definitions/Europe/Lisbon.rb +0 -316
  557. data/lib/tzinfo/definitions/Europe/Ljubljana.rb +0 -13
  558. data/lib/tzinfo/definitions/Europe/London.rb +0 -334
  559. data/lib/tzinfo/definitions/Europe/Luxembourg.rb +0 -13
  560. data/lib/tzinfo/definitions/Europe/Madrid.rb +0 -255
  561. data/lib/tzinfo/definitions/Europe/Malta.rb +0 -259
  562. data/lib/tzinfo/definitions/Europe/Mariehamn.rb +0 -13
  563. data/lib/tzinfo/definitions/Europe/Minsk.rb +0 -92
  564. data/lib/tzinfo/definitions/Europe/Monaco.rb +0 -13
  565. data/lib/tzinfo/definitions/Europe/Moscow.rb +0 -104
  566. data/lib/tzinfo/definitions/Europe/Nicosia.rb +0 -13
  567. data/lib/tzinfo/definitions/Europe/Oslo.rb +0 -13
  568. data/lib/tzinfo/definitions/Europe/Paris.rb +0 -278
  569. data/lib/tzinfo/definitions/Europe/Podgorica.rb +0 -13
  570. data/lib/tzinfo/definitions/Europe/Prague.rb +0 -236
  571. data/lib/tzinfo/definitions/Europe/Riga.rb +0 -222
  572. data/lib/tzinfo/definitions/Europe/Rome.rb +0 -261
  573. data/lib/tzinfo/definitions/Europe/Samara.rb +0 -85
  574. data/lib/tzinfo/definitions/Europe/San_Marino.rb +0 -13
  575. data/lib/tzinfo/definitions/Europe/Sarajevo.rb +0 -13
  576. data/lib/tzinfo/definitions/Europe/Saratov.rb +0 -84
  577. data/lib/tzinfo/definitions/Europe/Simferopol.rb +0 -99
  578. data/lib/tzinfo/definitions/Europe/Skopje.rb +0 -13
  579. data/lib/tzinfo/definitions/Europe/Sofia.rb +0 -219
  580. data/lib/tzinfo/definitions/Europe/Stockholm.rb +0 -13
  581. data/lib/tzinfo/definitions/Europe/Tallinn.rb +0 -218
  582. data/lib/tzinfo/definitions/Europe/Tirane.rb +0 -223
  583. data/lib/tzinfo/definitions/Europe/Tiraspol.rb +0 -13
  584. data/lib/tzinfo/definitions/Europe/Ulyanovsk.rb +0 -88
  585. data/lib/tzinfo/definitions/Europe/Uzhgorod.rb +0 -13
  586. data/lib/tzinfo/definitions/Europe/Vaduz.rb +0 -13
  587. data/lib/tzinfo/definitions/Europe/Vatican.rb +0 -13
  588. data/lib/tzinfo/definitions/Europe/Vienna.rb +0 -229
  589. data/lib/tzinfo/definitions/Europe/Vilnius.rb +0 -216
  590. data/lib/tzinfo/definitions/Europe/Volgograd.rb +0 -87
  591. data/lib/tzinfo/definitions/Europe/Warsaw.rb +0 -258
  592. data/lib/tzinfo/definitions/Europe/Zagreb.rb +0 -13
  593. data/lib/tzinfo/definitions/Europe/Zaporozhye.rb +0 -13
  594. data/lib/tzinfo/definitions/Europe/Zurich.rb +0 -211
  595. data/lib/tzinfo/definitions/Factory.rb +0 -14
  596. data/lib/tzinfo/definitions/GB.rb +0 -11
  597. data/lib/tzinfo/definitions/GB__m__Eire.rb +0 -11
  598. data/lib/tzinfo/definitions/GMT.rb +0 -11
  599. data/lib/tzinfo/definitions/GMT0.rb +0 -11
  600. data/lib/tzinfo/definitions/GMT__m__0.rb +0 -11
  601. data/lib/tzinfo/definitions/GMT__p__0.rb +0 -11
  602. data/lib/tzinfo/definitions/Greenwich.rb +0 -11
  603. data/lib/tzinfo/definitions/HST.rb +0 -14
  604. data/lib/tzinfo/definitions/Hongkong.rb +0 -11
  605. data/lib/tzinfo/definitions/Iceland.rb +0 -11
  606. data/lib/tzinfo/definitions/Indian/Antananarivo.rb +0 -13
  607. data/lib/tzinfo/definitions/Indian/Chagos.rb +0 -20
  608. data/lib/tzinfo/definitions/Indian/Christmas.rb +0 -13
  609. data/lib/tzinfo/definitions/Indian/Cocos.rb +0 -13
  610. data/lib/tzinfo/definitions/Indian/Comoro.rb +0 -13
  611. data/lib/tzinfo/definitions/Indian/Kerguelen.rb +0 -13
  612. data/lib/tzinfo/definitions/Indian/Mahe.rb +0 -13
  613. data/lib/tzinfo/definitions/Indian/Maldives.rb +0 -20
  614. data/lib/tzinfo/definitions/Indian/Mauritius.rb +0 -23
  615. data/lib/tzinfo/definitions/Indian/Mayotte.rb +0 -13
  616. data/lib/tzinfo/definitions/Indian/Reunion.rb +0 -13
  617. data/lib/tzinfo/definitions/Iran.rb +0 -11
  618. data/lib/tzinfo/definitions/Israel.rb +0 -11
  619. data/lib/tzinfo/definitions/Jamaica.rb +0 -11
  620. data/lib/tzinfo/definitions/Japan.rb +0 -11
  621. data/lib/tzinfo/definitions/Kwajalein.rb +0 -11
  622. data/lib/tzinfo/definitions/Libya.rb +0 -11
  623. data/lib/tzinfo/definitions/MET.rb +0 -223
  624. data/lib/tzinfo/definitions/MST.rb +0 -14
  625. data/lib/tzinfo/definitions/MST7MDT.rb +0 -238
  626. data/lib/tzinfo/definitions/Mexico/BajaNorte.rb +0 -13
  627. data/lib/tzinfo/definitions/Mexico/BajaSur.rb +0 -13
  628. data/lib/tzinfo/definitions/Mexico/General.rb +0 -13
  629. data/lib/tzinfo/definitions/NZ.rb +0 -11
  630. data/lib/tzinfo/definitions/NZ__m__CHAT.rb +0 -11
  631. data/lib/tzinfo/definitions/Navajo.rb +0 -11
  632. data/lib/tzinfo/definitions/PRC.rb +0 -11
  633. data/lib/tzinfo/definitions/PST8PDT.rb +0 -238
  634. data/lib/tzinfo/definitions/Pacific/Apia.rb +0 -48
  635. data/lib/tzinfo/definitions/Pacific/Auckland.rb +0 -248
  636. data/lib/tzinfo/definitions/Pacific/Bougainville.rb +0 -25
  637. data/lib/tzinfo/definitions/Pacific/Chatham.rb +0 -219
  638. data/lib/tzinfo/definitions/Pacific/Chuuk.rb +0 -13
  639. data/lib/tzinfo/definitions/Pacific/Easter.rb +0 -231
  640. data/lib/tzinfo/definitions/Pacific/Efate.rb +0 -41
  641. data/lib/tzinfo/definitions/Pacific/Enderbury.rb +0 -13
  642. data/lib/tzinfo/definitions/Pacific/Fakaofo.rb +0 -20
  643. data/lib/tzinfo/definitions/Pacific/Fiji.rb +0 -47
  644. data/lib/tzinfo/definitions/Pacific/Funafuti.rb +0 -13
  645. data/lib/tzinfo/definitions/Pacific/Galapagos.rb +0 -23
  646. data/lib/tzinfo/definitions/Pacific/Gambier.rb +0 -18
  647. data/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +0 -18
  648. data/lib/tzinfo/definitions/Pacific/Guam.rb +0 -42
  649. data/lib/tzinfo/definitions/Pacific/Honolulu.rb +0 -28
  650. data/lib/tzinfo/definitions/Pacific/Johnston.rb +0 -13
  651. data/lib/tzinfo/definitions/Pacific/Kanton.rb +0 -22
  652. data/lib/tzinfo/definitions/Pacific/Kiritimati.rb +0 -22
  653. data/lib/tzinfo/definitions/Pacific/Kosrae.rb +0 -30
  654. data/lib/tzinfo/definitions/Pacific/Kwajalein.rb +0 -27
  655. data/lib/tzinfo/definitions/Pacific/Majuro.rb +0 -13
  656. data/lib/tzinfo/definitions/Pacific/Marquesas.rb +0 -18
  657. data/lib/tzinfo/definitions/Pacific/Midway.rb +0 -13
  658. data/lib/tzinfo/definitions/Pacific/Nauru.rb +0 -23
  659. data/lib/tzinfo/definitions/Pacific/Niue.rb +0 -20
  660. data/lib/tzinfo/definitions/Pacific/Norfolk.rb +0 -134
  661. data/lib/tzinfo/definitions/Pacific/Noumea.rb +0 -25
  662. data/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +0 -20
  663. data/lib/tzinfo/definitions/Pacific/Palau.rb +0 -20
  664. data/lib/tzinfo/definitions/Pacific/Pitcairn.rb +0 -20
  665. data/lib/tzinfo/definitions/Pacific/Pohnpei.rb +0 -13
  666. data/lib/tzinfo/definitions/Pacific/Ponape.rb +0 -13
  667. data/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +0 -20
  668. data/lib/tzinfo/definitions/Pacific/Rarotonga.rb +0 -48
  669. data/lib/tzinfo/definitions/Pacific/Saipan.rb +0 -13
  670. data/lib/tzinfo/definitions/Pacific/Samoa.rb +0 -13
  671. data/lib/tzinfo/definitions/Pacific/Tahiti.rb +0 -18
  672. data/lib/tzinfo/definitions/Pacific/Tarawa.rb +0 -18
  673. data/lib/tzinfo/definitions/Pacific/Tongatapu.rb +0 -29
  674. data/lib/tzinfo/definitions/Pacific/Truk.rb +0 -13
  675. data/lib/tzinfo/definitions/Pacific/Wake.rb +0 -13
  676. data/lib/tzinfo/definitions/Pacific/Wallis.rb +0 -13
  677. data/lib/tzinfo/definitions/Pacific/Yap.rb +0 -13
  678. data/lib/tzinfo/definitions/Poland.rb +0 -11
  679. data/lib/tzinfo/definitions/Portugal.rb +0 -11
  680. data/lib/tzinfo/definitions/ROC.rb +0 -11
  681. data/lib/tzinfo/definitions/ROK.rb +0 -11
  682. data/lib/tzinfo/definitions/Singapore.rb +0 -11
  683. data/lib/tzinfo/definitions/Turkey.rb +0 -11
  684. data/lib/tzinfo/definitions/UCT.rb +0 -11
  685. data/lib/tzinfo/definitions/US/Alaska.rb +0 -13
  686. data/lib/tzinfo/definitions/US/Aleutian.rb +0 -13
  687. data/lib/tzinfo/definitions/US/Arizona.rb +0 -13
  688. data/lib/tzinfo/definitions/US/Central.rb +0 -13
  689. data/lib/tzinfo/definitions/US/East__m__Indiana.rb +0 -13
  690. data/lib/tzinfo/definitions/US/Eastern.rb +0 -13
  691. data/lib/tzinfo/definitions/US/Hawaii.rb +0 -13
  692. data/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +0 -13
  693. data/lib/tzinfo/definitions/US/Michigan.rb +0 -13
  694. data/lib/tzinfo/definitions/US/Mountain.rb +0 -13
  695. data/lib/tzinfo/definitions/US/Pacific.rb +0 -13
  696. data/lib/tzinfo/definitions/US/Samoa.rb +0 -13
  697. data/lib/tzinfo/definitions/UTC.rb +0 -11
  698. data/lib/tzinfo/definitions/Universal.rb +0 -11
  699. data/lib/tzinfo/definitions/WET.rb +0 -209
  700. data/lib/tzinfo/definitions/W__m__SU.rb +0 -11
  701. data/lib/tzinfo/definitions/Zulu.rb +0 -11
  702. data/lib/tzinfo/indexes/countries.rb +0 -924
  703. data/lib/tzinfo/indexes/timezones.rb +0 -607
  704. data/lib/tzinfo/tzdataparser.rb +0 -1287
  705. data/test/in_load_path/payload.rb +0 -1
  706. data/tzinfo.gemspec +0 -19
data/test/test_utils.rb CHANGED
@@ -1,21 +1,116 @@
1
- module Kernel
2
- # Suppresses any warnings raised in a specified block.
3
- def without_warnings
4
- old_verbose = $VERBOSE
5
- begin
6
- $VERBOSE = nil
7
- yield
8
- ensure
9
- $-v = old_verbose
10
- end
11
- end
12
-
13
- def safe_test(level = 1)
14
- thread = Thread.new do
15
- $SAFE = level
16
- yield
17
- end
18
-
19
- thread.join
20
- end
21
- end
1
+ #--
2
+ # Copyright (c) 2008-2013 Philip Ross
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in all
12
+ # copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #++
22
+
23
+ TESTS_DIR = File.expand_path(File.dirname(__FILE__)).untaint
24
+ TZINFO_LIB_DIR = File.expand_path(File.join(TESTS_DIR, '..', 'lib'))
25
+ TZINFO_TEST_DATA_DIR = File.join(TESTS_DIR, 'tzinfo-data')
26
+ TZINFO_TEST_ZONEINFO_DIR = File.join(TESTS_DIR, 'zoneinfo')
27
+
28
+ $:.unshift(TZINFO_LIB_DIR) unless $:.include?(TZINFO_LIB_DIR)
29
+
30
+ # tzinfo-data contains a cut down copy of tzinfo-data for use in the tests.
31
+ # Add it to the load path.
32
+ $:.unshift(TZINFO_TEST_DATA_DIR) unless $:.include?(TZINFO_TEST_DATA_DIR)
33
+
34
+ require 'test/unit'
35
+ require 'tzinfo'
36
+ require 'fileutils'
37
+ require 'rbconfig'
38
+
39
+ module TestUtils
40
+ ZONEINFO_SYMLINKS = [
41
+ ['localtime', 'America/New_York'],
42
+ ['UTC', 'Etc/UTC']]
43
+
44
+
45
+ def self.prepare_test_zoneinfo_dir
46
+ ZONEINFO_SYMLINKS.each do |file, target|
47
+ path = File.join(TZINFO_TEST_ZONEINFO_DIR, file)
48
+
49
+ File.delete(path) if File.exists?(path)
50
+
51
+ begin
52
+ FileUtils.ln_s(target, path)
53
+ rescue NotImplementedError
54
+ target_path = File.join(TZINFO_TEST_ZONEINFO_DIR, target)
55
+ FileUtils.cp(target_path, path)
56
+ end
57
+ end
58
+ end
59
+ end
60
+
61
+ TestUtils.prepare_test_zoneinfo_dir
62
+
63
+
64
+
65
+ module Kernel
66
+ # Suppresses any warnings raised in a specified block.
67
+ def without_warnings
68
+ old_verbose = $VERBOSE
69
+ begin
70
+ $VERBOSE = nil
71
+ yield
72
+ ensure
73
+ $-v = old_verbose
74
+ end
75
+ end
76
+
77
+ def safe_test(level = 1)
78
+ # Don't run on JRuby. It doesn't support SAFE levels.
79
+ if RUBY_PLATFORM != 'java'
80
+ thread = Thread.new do
81
+ $SAFE = level
82
+ yield
83
+ end
84
+
85
+ thread.join
86
+ end
87
+ end
88
+
89
+ def assert_array_same_items(expected, actual, message = nil)
90
+ full_message = build_message(message, "<?> expected but was <?>.", expected, actual)
91
+
92
+ assert_block(full_message) do
93
+ (expected.size == actual.size) && (expected - actual == [])
94
+ end
95
+ end
96
+
97
+ def assert_sub_process_returns(expected_lines, code, extra_load_path = [], required = ['tzinfo'])
98
+ ruby = File.join(RbConfig::CONFIG['bindir'],
99
+ RbConfig::CONFIG['ruby_install_name'] + RbConfig::CONFIG['EXEEXT'])
100
+
101
+ load_path = [TZINFO_LIB_DIR] + extra_load_path
102
+ load_path = load_path.collect {|p| "-I \"#{p}\""}.join(' ')
103
+
104
+ required = required.collect {|r| "-r \"#{r}\""}.join(' ')
105
+
106
+ IO.popen("\"#{ruby}\" #{load_path} #{required}", 'r+') do |process|
107
+ process.puts(code)
108
+ process.flush
109
+ process.close_write
110
+
111
+ actual_lines = process.readlines
112
+ actual_lines = actual_lines.collect {|l| l.chomp}
113
+ assert_equal(expected_lines, actual_lines)
114
+ end
115
+ end
116
+ end
data/test/ts_all.rb CHANGED
@@ -1,9 +1,29 @@
1
+ #--
2
+ # Copyright (c) 2005-2013 Philip Ross
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in all
12
+ # copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #++
22
+
1
23
  # Force a particular timezone to be local (helps find issues when local
2
24
  # timezone isn't GMT). This won't work on Windows.
3
25
  ENV['TZ'] = 'America/Los_Angeles'
4
26
 
5
- require 'test/unit'
6
-
7
- $:.unshift('.') unless $:.include?('.')
27
+ Dir[File.join(File.expand_path(File.dirname(__FILE__)), 'tc_*.rb')].each {|t| require t}
8
28
 
9
- Dir[File.join(File.dirname(__FILE__), 'tc_*.rb')].each {|t| require t}
29
+ puts "Using #{DataSource.get}"
@@ -0,0 +1,27 @@
1
+ #--
2
+ # Copyright (c) 2012-2013 Philip Ross
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in all
12
+ # copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #++
22
+
23
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils.rb')
24
+
25
+ TZInfo::DataSource.set(:ruby)
26
+
27
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'ts_all.rb')
@@ -0,0 +1,29 @@
1
+ #--
2
+ # Copyright (c) 2012-2013 Philip Ross
3
+ #
4
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ # of this software and associated documentation files (the "Software"), to deal
6
+ # in the Software without restriction, including without limitation the rights
7
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ # copies of the Software, and to permit persons to whom the Software is
9
+ # furnished to do so, subject to the following conditions:
10
+ #
11
+ # The above copyright notice and this permission notice shall be included in all
12
+ # copies or substantial portions of the Software.
13
+ #
14
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ # THE SOFTWARE.
21
+ #++
22
+
23
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'test_utils.rb')
24
+
25
+ # Use a zoneinfo directory containing files needed by the tests.
26
+ # The symlinks in this directory are set up in test_utils.rb.
27
+ TZInfo::DataSource.set(:zoneinfo, File.join(File.expand_path(File.dirname(__FILE__)), 'zoneinfo').untaint)
28
+
29
+ require File.join(File.expand_path(File.dirname(__FILE__)), 'ts_all.rb')
@@ -0,0 +1,89 @@
1
+ # encoding: UTF-8
2
+
3
+ # This file contains data derived from the IANA Time Zone Database
4
+ # (http://www.iana.org/time-zones).
5
+
6
+ module TZInfo
7
+ module Data
8
+ module Definitions
9
+ module America
10
+ module Argentina
11
+ module Buenos_Aires
12
+ include TimezoneDefinition
13
+
14
+ timezone 'America/Argentina/Buenos_Aires' do |tz|
15
+ tz.offset :o0, -14028, 0, :LMT
16
+ tz.offset :o1, -15408, 0, :CMT
17
+ tz.offset :o2, -14400, 0, :ART
18
+ tz.offset :o3, -14400, 3600, :ARST
19
+ tz.offset :o4, -10800, 0, :ART
20
+ tz.offset :o5, -10800, 3600, :ARST
21
+
22
+ tz.transition 1894, 10, :o1, -2372097972, 17374555169, 7200
23
+ tz.transition 1920, 5, :o2, -1567453392, 1453467407, 600
24
+ tz.transition 1930, 12, :o3, -1233432000, 7278935, 3
25
+ tz.transition 1931, 4, :o2, -1222981200, 19411461, 8
26
+ tz.transition 1931, 10, :o3, -1205956800, 7279889, 3
27
+ tz.transition 1932, 3, :o2, -1194037200, 19414141, 8
28
+ tz.transition 1932, 11, :o3, -1172865600, 7281038, 3
29
+ tz.transition 1933, 3, :o2, -1162501200, 19417061, 8
30
+ tz.transition 1933, 11, :o3, -1141329600, 7282133, 3
31
+ tz.transition 1934, 3, :o2, -1130965200, 19419981, 8
32
+ tz.transition 1934, 11, :o3, -1109793600, 7283228, 3
33
+ tz.transition 1935, 3, :o2, -1099429200, 19422901, 8
34
+ tz.transition 1935, 11, :o3, -1078257600, 7284323, 3
35
+ tz.transition 1936, 3, :o2, -1067806800, 19425829, 8
36
+ tz.transition 1936, 11, :o3, -1046635200, 7285421, 3
37
+ tz.transition 1937, 3, :o2, -1036270800, 19428749, 8
38
+ tz.transition 1937, 11, :o3, -1015099200, 7286516, 3
39
+ tz.transition 1938, 3, :o2, -1004734800, 19431669, 8
40
+ tz.transition 1938, 11, :o3, -983563200, 7287611, 3
41
+ tz.transition 1939, 3, :o2, -973198800, 19434589, 8
42
+ tz.transition 1939, 11, :o3, -952027200, 7288706, 3
43
+ tz.transition 1940, 3, :o2, -941576400, 19437517, 8
44
+ tz.transition 1940, 7, :o3, -931032000, 7289435, 3
45
+ tz.transition 1941, 6, :o2, -900882000, 19441285, 8
46
+ tz.transition 1941, 10, :o3, -890337600, 7290848, 3
47
+ tz.transition 1943, 8, :o2, -833749200, 19447501, 8
48
+ tz.transition 1943, 10, :o3, -827265600, 7293038, 3
49
+ tz.transition 1946, 3, :o2, -752274000, 19455045, 8
50
+ tz.transition 1946, 10, :o3, -733780800, 7296284, 3
51
+ tz.transition 1963, 10, :o2, -197326800, 19506429, 8
52
+ tz.transition 1963, 12, :o3, -190843200, 7315136, 3
53
+ tz.transition 1964, 3, :o2, -184194000, 19507645, 8
54
+ tz.transition 1964, 10, :o3, -164491200, 7316051, 3
55
+ tz.transition 1965, 3, :o2, -152658000, 19510565, 8
56
+ tz.transition 1965, 10, :o3, -132955200, 7317146, 3
57
+ tz.transition 1966, 3, :o2, -121122000, 19513485, 8
58
+ tz.transition 1966, 10, :o3, -101419200, 7318241, 3
59
+ tz.transition 1967, 4, :o2, -86821200, 19516661, 8
60
+ tz.transition 1967, 10, :o3, -71092800, 7319294, 3
61
+ tz.transition 1968, 4, :o2, -54766800, 19519629, 8
62
+ tz.transition 1968, 10, :o3, -39038400, 7320407, 3
63
+ tz.transition 1969, 4, :o2, -23317200, 19522541, 8
64
+ tz.transition 1969, 10, :o4, -7588800, 7321499, 3
65
+ tz.transition 1974, 1, :o5, 128142000
66
+ tz.transition 1974, 5, :o4, 136605600
67
+ tz.transition 1988, 12, :o5, 596948400
68
+ tz.transition 1989, 3, :o4, 605066400
69
+ tz.transition 1989, 10, :o5, 624423600
70
+ tz.transition 1990, 3, :o4, 636516000
71
+ tz.transition 1990, 10, :o5, 656478000
72
+ tz.transition 1991, 3, :o4, 667965600
73
+ tz.transition 1991, 10, :o5, 687927600
74
+ tz.transition 1992, 3, :o4, 699415200
75
+ tz.transition 1992, 10, :o5, 719377200
76
+ tz.transition 1993, 3, :o4, 731469600
77
+ tz.transition 1999, 10, :o3, 938919600
78
+ tz.transition 2000, 3, :o4, 952052400
79
+ tz.transition 2007, 12, :o5, 1198983600
80
+ tz.transition 2008, 3, :o4, 1205632800
81
+ tz.transition 2008, 10, :o5, 1224385200
82
+ tz.transition 2009, 3, :o4, 1237082400
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,313 @@
1
+ # encoding: UTF-8
2
+
3
+ # This file contains data derived from the IANA Time Zone Database
4
+ # (http://www.iana.org/time-zones).
5
+
6
+ module TZInfo
7
+ module Data
8
+ module Definitions
9
+ module America
10
+ module New_York
11
+ include TimezoneDefinition
12
+
13
+ timezone 'America/New_York' do |tz|
14
+ tz.offset :o0, -17762, 0, :LMT
15
+ tz.offset :o1, -18000, 0, :EST
16
+ tz.offset :o2, -18000, 3600, :EDT
17
+ tz.offset :o3, -18000, 3600, :EWT
18
+ tz.offset :o4, -18000, 3600, :EPT
19
+
20
+ tz.transition 1883, 11, :o1, -2717650800, 57819197, 24
21
+ tz.transition 1918, 3, :o2, -1633280400, 58120411, 24
22
+ tz.transition 1918, 10, :o1, -1615140000, 9687575, 4
23
+ tz.transition 1919, 3, :o2, -1601830800, 58129147, 24
24
+ tz.transition 1919, 10, :o1, -1583690400, 9689031, 4
25
+ tz.transition 1920, 3, :o2, -1570381200, 58137883, 24
26
+ tz.transition 1920, 10, :o1, -1551636000, 9690515, 4
27
+ tz.transition 1921, 4, :o2, -1536512400, 58147291, 24
28
+ tz.transition 1921, 9, :o1, -1523210400, 9691831, 4
29
+ tz.transition 1922, 4, :o2, -1504458000, 58156195, 24
30
+ tz.transition 1922, 9, :o1, -1491760800, 9693287, 4
31
+ tz.transition 1923, 4, :o2, -1473008400, 58164931, 24
32
+ tz.transition 1923, 9, :o1, -1459706400, 9694771, 4
33
+ tz.transition 1924, 4, :o2, -1441558800, 58173667, 24
34
+ tz.transition 1924, 9, :o1, -1428256800, 9696227, 4
35
+ tz.transition 1925, 4, :o2, -1410109200, 58182403, 24
36
+ tz.transition 1925, 9, :o1, -1396807200, 9697683, 4
37
+ tz.transition 1926, 4, :o2, -1378659600, 58191139, 24
38
+ tz.transition 1926, 9, :o1, -1365357600, 9699139, 4
39
+ tz.transition 1927, 4, :o2, -1347210000, 58199875, 24
40
+ tz.transition 1927, 9, :o1, -1333908000, 9700595, 4
41
+ tz.transition 1928, 4, :o2, -1315155600, 58208779, 24
42
+ tz.transition 1928, 9, :o1, -1301853600, 9702079, 4
43
+ tz.transition 1929, 4, :o2, -1283706000, 58217515, 24
44
+ tz.transition 1929, 9, :o1, -1270404000, 9703535, 4
45
+ tz.transition 1930, 4, :o2, -1252256400, 58226251, 24
46
+ tz.transition 1930, 9, :o1, -1238954400, 9704991, 4
47
+ tz.transition 1931, 4, :o2, -1220806800, 58234987, 24
48
+ tz.transition 1931, 9, :o1, -1207504800, 9706447, 4
49
+ tz.transition 1932, 4, :o2, -1189357200, 58243723, 24
50
+ tz.transition 1932, 9, :o1, -1176055200, 9707903, 4
51
+ tz.transition 1933, 4, :o2, -1157302800, 58252627, 24
52
+ tz.transition 1933, 9, :o1, -1144605600, 9709359, 4
53
+ tz.transition 1934, 4, :o2, -1125853200, 58261363, 24
54
+ tz.transition 1934, 9, :o1, -1112551200, 9710843, 4
55
+ tz.transition 1935, 4, :o2, -1094403600, 58270099, 24
56
+ tz.transition 1935, 9, :o1, -1081101600, 9712299, 4
57
+ tz.transition 1936, 4, :o2, -1062954000, 58278835, 24
58
+ tz.transition 1936, 9, :o1, -1049652000, 9713755, 4
59
+ tz.transition 1937, 4, :o2, -1031504400, 58287571, 24
60
+ tz.transition 1937, 9, :o1, -1018202400, 9715211, 4
61
+ tz.transition 1938, 4, :o2, -1000054800, 58296307, 24
62
+ tz.transition 1938, 9, :o1, -986752800, 9716667, 4
63
+ tz.transition 1939, 4, :o2, -968000400, 58305211, 24
64
+ tz.transition 1939, 9, :o1, -955303200, 9718123, 4
65
+ tz.transition 1940, 4, :o2, -936550800, 58313947, 24
66
+ tz.transition 1940, 9, :o1, -923248800, 9719607, 4
67
+ tz.transition 1941, 4, :o2, -905101200, 58322683, 24
68
+ tz.transition 1941, 9, :o1, -891799200, 9721063, 4
69
+ tz.transition 1942, 2, :o3, -880218000, 58329595, 24
70
+ tz.transition 1945, 8, :o4, -769395600, 58360379, 24
71
+ tz.transition 1945, 9, :o1, -765396000, 9726915, 4
72
+ tz.transition 1946, 4, :o2, -747248400, 58366531, 24
73
+ tz.transition 1946, 9, :o1, -733946400, 9728371, 4
74
+ tz.transition 1947, 4, :o2, -715798800, 58375267, 24
75
+ tz.transition 1947, 9, :o1, -702496800, 9729827, 4
76
+ tz.transition 1948, 4, :o2, -684349200, 58384003, 24
77
+ tz.transition 1948, 9, :o1, -671047200, 9731283, 4
78
+ tz.transition 1949, 4, :o2, -652899600, 58392739, 24
79
+ tz.transition 1949, 9, :o1, -639597600, 9732739, 4
80
+ tz.transition 1950, 4, :o2, -620845200, 58401643, 24
81
+ tz.transition 1950, 9, :o1, -608148000, 9734195, 4
82
+ tz.transition 1951, 4, :o2, -589395600, 58410379, 24
83
+ tz.transition 1951, 9, :o1, -576093600, 9735679, 4
84
+ tz.transition 1952, 4, :o2, -557946000, 58419115, 24
85
+ tz.transition 1952, 9, :o1, -544644000, 9737135, 4
86
+ tz.transition 1953, 4, :o2, -526496400, 58427851, 24
87
+ tz.transition 1953, 9, :o1, -513194400, 9738591, 4
88
+ tz.transition 1954, 4, :o2, -495046800, 58436587, 24
89
+ tz.transition 1954, 9, :o1, -481744800, 9740047, 4
90
+ tz.transition 1955, 4, :o2, -463597200, 58445323, 24
91
+ tz.transition 1955, 10, :o1, -447271200, 9741643, 4
92
+ tz.transition 1956, 4, :o2, -431542800, 58454227, 24
93
+ tz.transition 1956, 10, :o1, -415821600, 9743099, 4
94
+ tz.transition 1957, 4, :o2, -400093200, 58462963, 24
95
+ tz.transition 1957, 10, :o1, -384372000, 9744555, 4
96
+ tz.transition 1958, 4, :o2, -368643600, 58471699, 24
97
+ tz.transition 1958, 10, :o1, -352922400, 9746011, 4
98
+ tz.transition 1959, 4, :o2, -337194000, 58480435, 24
99
+ tz.transition 1959, 10, :o1, -321472800, 9747467, 4
100
+ tz.transition 1960, 4, :o2, -305744400, 58489171, 24
101
+ tz.transition 1960, 10, :o1, -289418400, 9748951, 4
102
+ tz.transition 1961, 4, :o2, -273690000, 58498075, 24
103
+ tz.transition 1961, 10, :o1, -257968800, 9750407, 4
104
+ tz.transition 1962, 4, :o2, -242240400, 58506811, 24
105
+ tz.transition 1962, 10, :o1, -226519200, 9751863, 4
106
+ tz.transition 1963, 4, :o2, -210790800, 58515547, 24
107
+ tz.transition 1963, 10, :o1, -195069600, 9753319, 4
108
+ tz.transition 1964, 4, :o2, -179341200, 58524283, 24
109
+ tz.transition 1964, 10, :o1, -163620000, 9754775, 4
110
+ tz.transition 1965, 4, :o2, -147891600, 58533019, 24
111
+ tz.transition 1965, 10, :o1, -131565600, 9756259, 4
112
+ tz.transition 1966, 4, :o2, -116442000, 58541755, 24
113
+ tz.transition 1966, 10, :o1, -100116000, 9757715, 4
114
+ tz.transition 1967, 4, :o2, -84387600, 58550659, 24
115
+ tz.transition 1967, 10, :o1, -68666400, 9759171, 4
116
+ tz.transition 1968, 4, :o2, -52938000, 58559395, 24
117
+ tz.transition 1968, 10, :o1, -37216800, 9760627, 4
118
+ tz.transition 1969, 4, :o2, -21488400, 58568131, 24
119
+ tz.transition 1969, 10, :o1, -5767200, 9762083, 4
120
+ tz.transition 1970, 4, :o2, 9961200
121
+ tz.transition 1970, 10, :o1, 25682400
122
+ tz.transition 1971, 4, :o2, 41410800
123
+ tz.transition 1971, 10, :o1, 57736800
124
+ tz.transition 1972, 4, :o2, 73465200
125
+ tz.transition 1972, 10, :o1, 89186400
126
+ tz.transition 1973, 4, :o2, 104914800
127
+ tz.transition 1973, 10, :o1, 120636000
128
+ tz.transition 1974, 1, :o2, 126687600
129
+ tz.transition 1974, 10, :o1, 152085600
130
+ tz.transition 1975, 2, :o2, 162370800
131
+ tz.transition 1975, 10, :o1, 183535200
132
+ tz.transition 1976, 4, :o2, 199263600
133
+ tz.transition 1976, 10, :o1, 215589600
134
+ tz.transition 1977, 4, :o2, 230713200
135
+ tz.transition 1977, 10, :o1, 247039200
136
+ tz.transition 1978, 4, :o2, 262767600
137
+ tz.transition 1978, 10, :o1, 278488800
138
+ tz.transition 1979, 4, :o2, 294217200
139
+ tz.transition 1979, 10, :o1, 309938400
140
+ tz.transition 1980, 4, :o2, 325666800
141
+ tz.transition 1980, 10, :o1, 341388000
142
+ tz.transition 1981, 4, :o2, 357116400
143
+ tz.transition 1981, 10, :o1, 372837600
144
+ tz.transition 1982, 4, :o2, 388566000
145
+ tz.transition 1982, 10, :o1, 404892000
146
+ tz.transition 1983, 4, :o2, 420015600
147
+ tz.transition 1983, 10, :o1, 436341600
148
+ tz.transition 1984, 4, :o2, 452070000
149
+ tz.transition 1984, 10, :o1, 467791200
150
+ tz.transition 1985, 4, :o2, 483519600
151
+ tz.transition 1985, 10, :o1, 499240800
152
+ tz.transition 1986, 4, :o2, 514969200
153
+ tz.transition 1986, 10, :o1, 530690400
154
+ tz.transition 1987, 4, :o2, 544604400
155
+ tz.transition 1987, 10, :o1, 562140000
156
+ tz.transition 1988, 4, :o2, 576054000
157
+ tz.transition 1988, 10, :o1, 594194400
158
+ tz.transition 1989, 4, :o2, 607503600
159
+ tz.transition 1989, 10, :o1, 625644000
160
+ tz.transition 1990, 4, :o2, 638953200
161
+ tz.transition 1990, 10, :o1, 657093600
162
+ tz.transition 1991, 4, :o2, 671007600
163
+ tz.transition 1991, 10, :o1, 688543200
164
+ tz.transition 1992, 4, :o2, 702457200
165
+ tz.transition 1992, 10, :o1, 719992800
166
+ tz.transition 1993, 4, :o2, 733906800
167
+ tz.transition 1993, 10, :o1, 752047200
168
+ tz.transition 1994, 4, :o2, 765356400
169
+ tz.transition 1994, 10, :o1, 783496800
170
+ tz.transition 1995, 4, :o2, 796806000
171
+ tz.transition 1995, 10, :o1, 814946400
172
+ tz.transition 1996, 4, :o2, 828860400
173
+ tz.transition 1996, 10, :o1, 846396000
174
+ tz.transition 1997, 4, :o2, 860310000
175
+ tz.transition 1997, 10, :o1, 877845600
176
+ tz.transition 1998, 4, :o2, 891759600
177
+ tz.transition 1998, 10, :o1, 909295200
178
+ tz.transition 1999, 4, :o2, 923209200
179
+ tz.transition 1999, 10, :o1, 941349600
180
+ tz.transition 2000, 4, :o2, 954658800
181
+ tz.transition 2000, 10, :o1, 972799200
182
+ tz.transition 2001, 4, :o2, 986108400
183
+ tz.transition 2001, 10, :o1, 1004248800
184
+ tz.transition 2002, 4, :o2, 1018162800
185
+ tz.transition 2002, 10, :o1, 1035698400
186
+ tz.transition 2003, 4, :o2, 1049612400
187
+ tz.transition 2003, 10, :o1, 1067148000
188
+ tz.transition 2004, 4, :o2, 1081062000
189
+ tz.transition 2004, 10, :o1, 1099202400
190
+ tz.transition 2005, 4, :o2, 1112511600
191
+ tz.transition 2005, 10, :o1, 1130652000
192
+ tz.transition 2006, 4, :o2, 1143961200
193
+ tz.transition 2006, 10, :o1, 1162101600
194
+ tz.transition 2007, 3, :o2, 1173596400
195
+ tz.transition 2007, 11, :o1, 1194156000
196
+ tz.transition 2008, 3, :o2, 1205046000
197
+ tz.transition 2008, 11, :o1, 1225605600
198
+ tz.transition 2009, 3, :o2, 1236495600
199
+ tz.transition 2009, 11, :o1, 1257055200
200
+ tz.transition 2010, 3, :o2, 1268550000
201
+ tz.transition 2010, 11, :o1, 1289109600
202
+ tz.transition 2011, 3, :o2, 1299999600
203
+ tz.transition 2011, 11, :o1, 1320559200
204
+ tz.transition 2012, 3, :o2, 1331449200
205
+ tz.transition 2012, 11, :o1, 1352008800
206
+ tz.transition 2013, 3, :o2, 1362898800
207
+ tz.transition 2013, 11, :o1, 1383458400
208
+ tz.transition 2014, 3, :o2, 1394348400
209
+ tz.transition 2014, 11, :o1, 1414908000
210
+ tz.transition 2015, 3, :o2, 1425798000
211
+ tz.transition 2015, 11, :o1, 1446357600
212
+ tz.transition 2016, 3, :o2, 1457852400
213
+ tz.transition 2016, 11, :o1, 1478412000
214
+ tz.transition 2017, 3, :o2, 1489302000
215
+ tz.transition 2017, 11, :o1, 1509861600
216
+ tz.transition 2018, 3, :o2, 1520751600
217
+ tz.transition 2018, 11, :o1, 1541311200
218
+ tz.transition 2019, 3, :o2, 1552201200
219
+ tz.transition 2019, 11, :o1, 1572760800
220
+ tz.transition 2020, 3, :o2, 1583650800
221
+ tz.transition 2020, 11, :o1, 1604210400
222
+ tz.transition 2021, 3, :o2, 1615705200
223
+ tz.transition 2021, 11, :o1, 1636264800
224
+ tz.transition 2022, 3, :o2, 1647154800
225
+ tz.transition 2022, 11, :o1, 1667714400
226
+ tz.transition 2023, 3, :o2, 1678604400
227
+ tz.transition 2023, 11, :o1, 1699164000
228
+ tz.transition 2024, 3, :o2, 1710054000
229
+ tz.transition 2024, 11, :o1, 1730613600
230
+ tz.transition 2025, 3, :o2, 1741503600
231
+ tz.transition 2025, 11, :o1, 1762063200
232
+ tz.transition 2026, 3, :o2, 1772953200
233
+ tz.transition 2026, 11, :o1, 1793512800
234
+ tz.transition 2027, 3, :o2, 1805007600
235
+ tz.transition 2027, 11, :o1, 1825567200
236
+ tz.transition 2028, 3, :o2, 1836457200
237
+ tz.transition 2028, 11, :o1, 1857016800
238
+ tz.transition 2029, 3, :o2, 1867906800
239
+ tz.transition 2029, 11, :o1, 1888466400
240
+ tz.transition 2030, 3, :o2, 1899356400
241
+ tz.transition 2030, 11, :o1, 1919916000
242
+ tz.transition 2031, 3, :o2, 1930806000
243
+ tz.transition 2031, 11, :o1, 1951365600
244
+ tz.transition 2032, 3, :o2, 1962860400
245
+ tz.transition 2032, 11, :o1, 1983420000
246
+ tz.transition 2033, 3, :o2, 1994310000
247
+ tz.transition 2033, 11, :o1, 2014869600
248
+ tz.transition 2034, 3, :o2, 2025759600
249
+ tz.transition 2034, 11, :o1, 2046319200
250
+ tz.transition 2035, 3, :o2, 2057209200
251
+ tz.transition 2035, 11, :o1, 2077768800
252
+ tz.transition 2036, 3, :o2, 2088658800
253
+ tz.transition 2036, 11, :o1, 2109218400
254
+ tz.transition 2037, 3, :o2, 2120108400
255
+ tz.transition 2037, 11, :o1, 2140668000
256
+ tz.transition 2038, 3, :o2, 2152162800, 59171923, 24
257
+ tz.transition 2038, 11, :o1, 2172722400, 9862939, 4
258
+ tz.transition 2039, 3, :o2, 2183612400, 59180659, 24
259
+ tz.transition 2039, 11, :o1, 2204172000, 9864395, 4
260
+ tz.transition 2040, 3, :o2, 2215062000, 59189395, 24
261
+ tz.transition 2040, 11, :o1, 2235621600, 9865851, 4
262
+ tz.transition 2041, 3, :o2, 2246511600, 59198131, 24
263
+ tz.transition 2041, 11, :o1, 2267071200, 9867307, 4
264
+ tz.transition 2042, 3, :o2, 2277961200, 59206867, 24
265
+ tz.transition 2042, 11, :o1, 2298520800, 9868763, 4
266
+ tz.transition 2043, 3, :o2, 2309410800, 59215603, 24
267
+ tz.transition 2043, 11, :o1, 2329970400, 9870219, 4
268
+ tz.transition 2044, 3, :o2, 2341465200, 59224507, 24
269
+ tz.transition 2044, 11, :o1, 2362024800, 9871703, 4
270
+ tz.transition 2045, 3, :o2, 2372914800, 59233243, 24
271
+ tz.transition 2045, 11, :o1, 2393474400, 9873159, 4
272
+ tz.transition 2046, 3, :o2, 2404364400, 59241979, 24
273
+ tz.transition 2046, 11, :o1, 2424924000, 9874615, 4
274
+ tz.transition 2047, 3, :o2, 2435814000, 59250715, 24
275
+ tz.transition 2047, 11, :o1, 2456373600, 9876071, 4
276
+ tz.transition 2048, 3, :o2, 2467263600, 59259451, 24
277
+ tz.transition 2048, 11, :o1, 2487823200, 9877527, 4
278
+ tz.transition 2049, 3, :o2, 2499318000, 59268355, 24
279
+ tz.transition 2049, 11, :o1, 2519877600, 9879011, 4
280
+ tz.transition 2050, 3, :o2, 2530767600, 59277091, 24
281
+ tz.transition 2050, 11, :o1, 2551327200, 9880467, 4
282
+ tz.transition 2051, 3, :o2, 2562217200, 59285827, 24
283
+ tz.transition 2051, 11, :o1, 2582776800, 9881923, 4
284
+ tz.transition 2052, 3, :o2, 2593666800, 59294563, 24
285
+ tz.transition 2052, 11, :o1, 2614226400, 9883379, 4
286
+ tz.transition 2053, 3, :o2, 2625116400, 59303299, 24
287
+ tz.transition 2053, 11, :o1, 2645676000, 9884835, 4
288
+ tz.transition 2054, 3, :o2, 2656566000, 59312035, 24
289
+ tz.transition 2054, 11, :o1, 2677125600, 9886291, 4
290
+ tz.transition 2055, 3, :o2, 2688620400, 59320939, 24
291
+ tz.transition 2055, 11, :o1, 2709180000, 9887775, 4
292
+ tz.transition 2056, 3, :o2, 2720070000, 59329675, 24
293
+ tz.transition 2056, 11, :o1, 2740629600, 9889231, 4
294
+ tz.transition 2057, 3, :o2, 2751519600, 59338411, 24
295
+ tz.transition 2057, 11, :o1, 2772079200, 9890687, 4
296
+ tz.transition 2058, 3, :o2, 2782969200, 59347147, 24
297
+ tz.transition 2058, 11, :o1, 2803528800, 9892143, 4
298
+ tz.transition 2059, 3, :o2, 2814418800, 59355883, 24
299
+ tz.transition 2059, 11, :o1, 2834978400, 9893599, 4
300
+ tz.transition 2060, 3, :o2, 2846473200, 59364787, 24
301
+ tz.transition 2060, 11, :o1, 2867032800, 9895083, 4
302
+ tz.transition 2061, 3, :o2, 2877922800, 59373523, 24
303
+ tz.transition 2061, 11, :o1, 2898482400, 9896539, 4
304
+ tz.transition 2062, 3, :o2, 2909372400, 59382259, 24
305
+ tz.transition 2062, 11, :o1, 2929932000, 9897995, 4
306
+ tz.transition 2063, 3, :o2, 2940822000, 59390995, 24
307
+ tz.transition 2063, 11, :o1, 2961381600, 9899451, 4
308
+ end
309
+ end
310
+ end
311
+ end
312
+ end
313
+ end