tzinfo 0.3.56 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (693) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +1 -0
  3. data.tar.gz.sig +2 -0
  4. data/.yardopts +5 -4
  5. data/CHANGES.md +878 -0
  6. data/LICENSE +12 -12
  7. data/README.md +406 -0
  8. data/lib/tzinfo.rb +63 -55
  9. data/lib/tzinfo/country.rb +152 -134
  10. data/lib/tzinfo/country_timezone.rb +70 -77
  11. data/lib/tzinfo/data_source.rb +435 -0
  12. data/lib/tzinfo/data_sources.rb +8 -0
  13. data/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb +56 -0
  14. data/lib/tzinfo/data_sources/country_info.rb +42 -0
  15. data/lib/tzinfo/data_sources/data_timezone_info.rb +91 -0
  16. data/lib/tzinfo/data_sources/linked_timezone_info.rb +33 -0
  17. data/lib/tzinfo/data_sources/ruby_data_source.rb +141 -0
  18. data/lib/tzinfo/data_sources/timezone_info.rb +47 -0
  19. data/lib/tzinfo/data_sources/transitions_data_timezone_info.rb +214 -0
  20. data/lib/tzinfo/data_sources/zoneinfo_data_source.rb +573 -0
  21. data/lib/tzinfo/data_sources/zoneinfo_reader.rb +284 -0
  22. data/lib/tzinfo/data_timezone.rb +37 -40
  23. data/lib/tzinfo/datetime_with_offset.rb +153 -0
  24. data/lib/tzinfo/format1.rb +10 -0
  25. data/lib/tzinfo/format1/country_definer.rb +17 -0
  26. data/lib/tzinfo/format1/country_index_definition.rb +64 -0
  27. data/lib/tzinfo/format1/timezone_definer.rb +64 -0
  28. data/lib/tzinfo/format1/timezone_definition.rb +39 -0
  29. data/lib/tzinfo/format1/timezone_index_definition.rb +77 -0
  30. data/lib/tzinfo/format2.rb +10 -0
  31. data/lib/tzinfo/format2/country_definer.rb +68 -0
  32. data/lib/tzinfo/format2/country_index_definer.rb +68 -0
  33. data/lib/tzinfo/format2/country_index_definition.rb +46 -0
  34. data/lib/tzinfo/format2/timezone_definer.rb +94 -0
  35. data/lib/tzinfo/format2/timezone_definition.rb +73 -0
  36. data/lib/tzinfo/format2/timezone_index_definer.rb +45 -0
  37. data/lib/tzinfo/format2/timezone_index_definition.rb +55 -0
  38. data/lib/tzinfo/info_timezone.rb +25 -42
  39. data/lib/tzinfo/linked_timezone.rb +37 -45
  40. data/lib/tzinfo/offset_timezone_period.rb +42 -0
  41. data/lib/tzinfo/string_deduper.rb +118 -0
  42. data/lib/tzinfo/time_with_offset.rb +128 -0
  43. data/lib/tzinfo/timestamp.rb +548 -0
  44. data/lib/tzinfo/timestamp_with_offset.rb +85 -0
  45. data/lib/tzinfo/timezone.rb +1043 -434
  46. data/lib/tzinfo/timezone_offset.rb +111 -0
  47. data/lib/tzinfo/timezone_period.rb +155 -173
  48. data/lib/tzinfo/timezone_proxy.rb +77 -64
  49. data/lib/tzinfo/timezone_transition.rb +98 -0
  50. data/lib/tzinfo/transitions_timezone_period.rb +63 -0
  51. data/lib/tzinfo/version.rb +7 -0
  52. data/lib/tzinfo/with_offset.rb +61 -0
  53. metadata +115 -726
  54. metadata.gz.sig +2 -0
  55. data/CHANGES +0 -609
  56. data/README +0 -98
  57. data/Rakefile +0 -282
  58. data/lib/tzinfo/country_index_definition.rb +0 -53
  59. data/lib/tzinfo/country_info.rb +0 -82
  60. data/lib/tzinfo/data_timezone_info.rb +0 -224
  61. data/lib/tzinfo/definitions/Africa/Abidjan.rb +0 -18
  62. data/lib/tzinfo/definitions/Africa/Accra.rb +0 -65
  63. data/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +0 -13
  64. data/lib/tzinfo/definitions/Africa/Algiers.rb +0 -55
  65. data/lib/tzinfo/definitions/Africa/Asmara.rb +0 -13
  66. data/lib/tzinfo/definitions/Africa/Asmera.rb +0 -13
  67. data/lib/tzinfo/definitions/Africa/Bamako.rb +0 -13
  68. data/lib/tzinfo/definitions/Africa/Bangui.rb +0 -13
  69. data/lib/tzinfo/definitions/Africa/Banjul.rb +0 -13
  70. data/lib/tzinfo/definitions/Africa/Bissau.rb +0 -20
  71. data/lib/tzinfo/definitions/Africa/Blantyre.rb +0 -13
  72. data/lib/tzinfo/definitions/Africa/Brazzaville.rb +0 -13
  73. data/lib/tzinfo/definitions/Africa/Bujumbura.rb +0 -13
  74. data/lib/tzinfo/definitions/Africa/Cairo.rb +0 -145
  75. data/lib/tzinfo/definitions/Africa/Casablanca.rb +0 -141
  76. data/lib/tzinfo/definitions/Africa/Ceuta.rb +0 -172
  77. data/lib/tzinfo/definitions/Africa/Conakry.rb +0 -13
  78. data/lib/tzinfo/definitions/Africa/Dakar.rb +0 -13
  79. data/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +0 -13
  80. data/lib/tzinfo/definitions/Africa/Djibouti.rb +0 -13
  81. data/lib/tzinfo/definitions/Africa/Douala.rb +0 -13
  82. data/lib/tzinfo/definitions/Africa/El_Aaiun.rb +0 -131
  83. data/lib/tzinfo/definitions/Africa/Freetown.rb +0 -13
  84. data/lib/tzinfo/definitions/Africa/Gaborone.rb +0 -13
  85. data/lib/tzinfo/definitions/Africa/Harare.rb +0 -13
  86. data/lib/tzinfo/definitions/Africa/Johannesburg.rb +0 -25
  87. data/lib/tzinfo/definitions/Africa/Juba.rb +0 -53
  88. data/lib/tzinfo/definitions/Africa/Kampala.rb +0 -13
  89. data/lib/tzinfo/definitions/Africa/Khartoum.rb +0 -54
  90. data/lib/tzinfo/definitions/Africa/Kigali.rb +0 -13
  91. data/lib/tzinfo/definitions/Africa/Kinshasa.rb +0 -13
  92. data/lib/tzinfo/definitions/Africa/Lagos.rb +0 -18
  93. data/lib/tzinfo/definitions/Africa/Libreville.rb +0 -13
  94. data/lib/tzinfo/definitions/Africa/Lome.rb +0 -13
  95. data/lib/tzinfo/definitions/Africa/Luanda.rb +0 -13
  96. data/lib/tzinfo/definitions/Africa/Lubumbashi.rb +0 -13
  97. data/lib/tzinfo/definitions/Africa/Lusaka.rb +0 -13
  98. data/lib/tzinfo/definitions/Africa/Malabo.rb +0 -13
  99. data/lib/tzinfo/definitions/Africa/Maputo.rb +0 -18
  100. data/lib/tzinfo/definitions/Africa/Maseru.rb +0 -13
  101. data/lib/tzinfo/definitions/Africa/Mbabane.rb +0 -13
  102. data/lib/tzinfo/definitions/Africa/Mogadishu.rb +0 -13
  103. data/lib/tzinfo/definitions/Africa/Monrovia.rb +0 -22
  104. data/lib/tzinfo/definitions/Africa/Nairobi.rb +0 -23
  105. data/lib/tzinfo/definitions/Africa/Ndjamena.rb +0 -21
  106. data/lib/tzinfo/definitions/Africa/Niamey.rb +0 -13
  107. data/lib/tzinfo/definitions/Africa/Nouakchott.rb +0 -13
  108. data/lib/tzinfo/definitions/Africa/Ouagadougou.rb +0 -13
  109. data/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +0 -13
  110. data/lib/tzinfo/definitions/Africa/Sao_Tome.rb +0 -23
  111. data/lib/tzinfo/definitions/Africa/Timbuktu.rb +0 -13
  112. data/lib/tzinfo/definitions/Africa/Tripoli.rb +0 -51
  113. data/lib/tzinfo/definitions/Africa/Tunis.rb +0 -53
  114. data/lib/tzinfo/definitions/Africa/Windhoek.rb +0 -74
  115. data/lib/tzinfo/definitions/America/Adak.rb +0 -196
  116. data/lib/tzinfo/definitions/America/Anchorage.rb +0 -196
  117. data/lib/tzinfo/definitions/America/Anguilla.rb +0 -13
  118. data/lib/tzinfo/definitions/America/Antigua.rb +0 -13
  119. data/lib/tzinfo/definitions/America/Araguaina.rb +0 -69
  120. data/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +0 -84
  121. data/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +0 -84
  122. data/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +0 -15
  123. data/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +0 -84
  124. data/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +0 -82
  125. data/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +0 -85
  126. data/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +0 -84
  127. data/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +0 -84
  128. data/lib/tzinfo/definitions/America/Argentina/Salta.rb +0 -82
  129. data/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +0 -85
  130. data/lib/tzinfo/definitions/America/Argentina/San_Luis.rb +0 -85
  131. data/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +0 -86
  132. data/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +0 -84
  133. data/lib/tzinfo/definitions/America/Aruba.rb +0 -13
  134. data/lib/tzinfo/definitions/America/Asuncion.rb +0 -174
  135. data/lib/tzinfo/definitions/America/Atikokan.rb +0 -28
  136. data/lib/tzinfo/definitions/America/Atka.rb +0 -13
  137. data/lib/tzinfo/definitions/America/Bahia.rb +0 -79
  138. data/lib/tzinfo/definitions/America/Bahia_Banderas.rb +0 -140
  139. data/lib/tzinfo/definitions/America/Barbados.rb +0 -29
  140. data/lib/tzinfo/definitions/America/Belem.rb +0 -47
  141. data/lib/tzinfo/definitions/America/Belize.rb +0 -74
  142. data/lib/tzinfo/definitions/America/Blanc__m__Sablon.rb +0 -26
  143. data/lib/tzinfo/definitions/America/Boa_Vista.rb +0 -51
  144. data/lib/tzinfo/definitions/America/Bogota.rb +0 -23
  145. data/lib/tzinfo/definitions/America/Boise.rb +0 -199
  146. data/lib/tzinfo/definitions/America/Buenos_Aires.rb +0 -13
  147. data/lib/tzinfo/definitions/America/Cambridge_Bay.rb +0 -173
  148. data/lib/tzinfo/definitions/America/Campo_Grande.rb +0 -109
  149. data/lib/tzinfo/definitions/America/Cancun.rb +0 -62
  150. data/lib/tzinfo/definitions/America/Caracas.rb +0 -24
  151. data/lib/tzinfo/definitions/America/Catamarca.rb +0 -13
  152. data/lib/tzinfo/definitions/America/Cayenne.rb +0 -20
  153. data/lib/tzinfo/definitions/America/Cayman.rb +0 -13
  154. data/lib/tzinfo/definitions/America/Chicago.rb +0 -283
  155. data/lib/tzinfo/definitions/America/Chihuahua.rb +0 -136
  156. data/lib/tzinfo/definitions/America/Coral_Harbour.rb +0 -13
  157. data/lib/tzinfo/definitions/America/Cordoba.rb +0 -13
  158. data/lib/tzinfo/definitions/America/Costa_Rica.rb +0 -29
  159. data/lib/tzinfo/definitions/America/Creston.rb +0 -21
  160. data/lib/tzinfo/definitions/America/Cuiaba.rb +0 -107
  161. data/lib/tzinfo/definitions/America/Curacao.rb +0 -20
  162. data/lib/tzinfo/definitions/America/Danmarkshavn.rb +0 -53
  163. data/lib/tzinfo/definitions/America/Dawson.rb +0 -176
  164. data/lib/tzinfo/definitions/America/Dawson_Creek.rb +0 -79
  165. data/lib/tzinfo/definitions/America/Denver.rb +0 -204
  166. data/lib/tzinfo/definitions/America/Detroit.rb +0 -188
  167. data/lib/tzinfo/definitions/America/Dominica.rb +0 -13
  168. data/lib/tzinfo/definitions/America/Edmonton.rb +0 -196
  169. data/lib/tzinfo/definitions/America/Eirunepe.rb +0 -52
  170. data/lib/tzinfo/definitions/America/El_Salvador.rb +0 -23
  171. data/lib/tzinfo/definitions/America/Ensenada.rb +0 -13
  172. data/lib/tzinfo/definitions/America/Fort_Nelson.rb +0 -164
  173. data/lib/tzinfo/definitions/America/Fort_Wayne.rb +0 -13
  174. data/lib/tzinfo/definitions/America/Fortaleza.rb +0 -57
  175. data/lib/tzinfo/definitions/America/Glace_Bay.rb +0 -186
  176. data/lib/tzinfo/definitions/America/Godthab.rb +0 -161
  177. data/lib/tzinfo/definitions/America/Goose_Bay.rb +0 -255
  178. data/lib/tzinfo/definitions/America/Grand_Turk.rb +0 -162
  179. data/lib/tzinfo/definitions/America/Grenada.rb +0 -13
  180. data/lib/tzinfo/definitions/America/Guadeloupe.rb +0 -13
  181. data/lib/tzinfo/definitions/America/Guatemala.rb +0 -27
  182. data/lib/tzinfo/definitions/America/Guayaquil.rb +0 -23
  183. data/lib/tzinfo/definitions/America/Guyana.rb +0 -22
  184. data/lib/tzinfo/definitions/America/Halifax.rb +0 -274
  185. data/lib/tzinfo/definitions/America/Havana.rb +0 -201
  186. data/lib/tzinfo/definitions/America/Hermosillo.rb +0 -35
  187. data/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +0 -149
  188. data/lib/tzinfo/definitions/America/Indiana/Knox.rb +0 -203
  189. data/lib/tzinfo/definitions/America/Indiana/Marengo.rb +0 -153
  190. data/lib/tzinfo/definitions/America/Indiana/Petersburg.rb +0 -166
  191. data/lib/tzinfo/definitions/America/Indiana/Tell_City.rb +0 -148
  192. data/lib/tzinfo/definitions/America/Indiana/Vevay.rb +0 -131
  193. data/lib/tzinfo/definitions/America/Indiana/Vincennes.rb +0 -151
  194. data/lib/tzinfo/definitions/America/Indiana/Winamac.rb +0 -157
  195. data/lib/tzinfo/definitions/America/Indianapolis.rb +0 -13
  196. data/lib/tzinfo/definitions/America/Inuvik.rb +0 -166
  197. data/lib/tzinfo/definitions/America/Iqaluit.rb +0 -170
  198. data/lib/tzinfo/definitions/America/Jamaica.rb +0 -41
  199. data/lib/tzinfo/definitions/America/Jujuy.rb +0 -13
  200. data/lib/tzinfo/definitions/America/Juneau.rb +0 -195
  201. data/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +0 -228
  202. data/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +0 -198
  203. data/lib/tzinfo/definitions/America/Knox_IN.rb +0 -13
  204. data/lib/tzinfo/definitions/America/Kralendijk.rb +0 -13
  205. data/lib/tzinfo/definitions/America/La_Paz.rb +0 -22
  206. data/lib/tzinfo/definitions/America/Lima.rb +0 -35
  207. data/lib/tzinfo/definitions/America/Los_Angeles.rb +0 -232
  208. data/lib/tzinfo/definitions/America/Louisville.rb +0 -13
  209. data/lib/tzinfo/definitions/America/Lower_Princes.rb +0 -13
  210. data/lib/tzinfo/definitions/America/Maceio.rb +0 -59
  211. data/lib/tzinfo/definitions/America/Managua.rb +0 -36
  212. data/lib/tzinfo/definitions/America/Manaus.rb +0 -49
  213. data/lib/tzinfo/definitions/America/Marigot.rb +0 -13
  214. data/lib/tzinfo/definitions/America/Martinique.rb +0 -23
  215. data/lib/tzinfo/definitions/America/Matamoros.rb +0 -131
  216. data/lib/tzinfo/definitions/America/Mazatlan.rb +0 -139
  217. data/lib/tzinfo/definitions/America/Mendoza.rb +0 -13
  218. data/lib/tzinfo/definitions/America/Menominee.rb +0 -190
  219. data/lib/tzinfo/definitions/America/Merida.rb +0 -132
  220. data/lib/tzinfo/definitions/America/Metlakatla.rb +0 -130
  221. data/lib/tzinfo/definitions/America/Mexico_City.rb +0 -144
  222. data/lib/tzinfo/definitions/America/Miquelon.rb +0 -149
  223. data/lib/tzinfo/definitions/America/Moncton.rb +0 -254
  224. data/lib/tzinfo/definitions/America/Monterrey.rb +0 -131
  225. data/lib/tzinfo/definitions/America/Montevideo.rb +0 -110
  226. data/lib/tzinfo/definitions/America/Montreal.rb +0 -13
  227. data/lib/tzinfo/definitions/America/Montserrat.rb +0 -13
  228. data/lib/tzinfo/definitions/America/Nassau.rb +0 -193
  229. data/lib/tzinfo/definitions/America/New_York.rb +0 -282
  230. data/lib/tzinfo/definitions/America/Nipigon.rb +0 -181
  231. data/lib/tzinfo/definitions/America/Nome.rb +0 -196
  232. data/lib/tzinfo/definitions/America/Noronha.rb +0 -57
  233. data/lib/tzinfo/definitions/America/North_Dakota/Beulah.rb +0 -200
  234. data/lib/tzinfo/definitions/America/North_Dakota/Center.rb +0 -200
  235. data/lib/tzinfo/definitions/America/North_Dakota/New_Salem.rb +0 -200
  236. data/lib/tzinfo/definitions/America/Ojinaga.rb +0 -136
  237. data/lib/tzinfo/definitions/America/Panama.rb +0 -20
  238. data/lib/tzinfo/definitions/America/Pangnirtung.rb +0 -173
  239. data/lib/tzinfo/definitions/America/Paramaribo.rb +0 -24
  240. data/lib/tzinfo/definitions/America/Phoenix.rb +0 -30
  241. data/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +0 -131
  242. data/lib/tzinfo/definitions/America/Port_of_Spain.rb +0 -18
  243. data/lib/tzinfo/definitions/America/Porto_Acre.rb +0 -13
  244. data/lib/tzinfo/definitions/America/Porto_Velho.rb +0 -47
  245. data/lib/tzinfo/definitions/America/Puerto_Rico.rb +0 -23
  246. data/lib/tzinfo/definitions/America/Punta_Arenas.rb +0 -138
  247. data/lib/tzinfo/definitions/America/Rainy_River.rb +0 -181
  248. data/lib/tzinfo/definitions/America/Rankin_Inlet.rb +0 -165
  249. data/lib/tzinfo/definitions/America/Recife.rb +0 -57
  250. data/lib/tzinfo/definitions/America/Regina.rb +0 -74
  251. data/lib/tzinfo/definitions/America/Resolute.rb +0 -165
  252. data/lib/tzinfo/definitions/America/Rio_Branco.rb +0 -50
  253. data/lib/tzinfo/definitions/America/Rosario.rb +0 -13
  254. data/lib/tzinfo/definitions/America/Santa_Isabel.rb +0 -13
  255. data/lib/tzinfo/definitions/America/Santarem.rb +0 -49
  256. data/lib/tzinfo/definitions/America/Santiago.rb +0 -205
  257. data/lib/tzinfo/definitions/America/Santo_Domingo.rb +0 -38
  258. data/lib/tzinfo/definitions/America/Sao_Paulo.rb +0 -109
  259. data/lib/tzinfo/definitions/America/Scoresbysund.rb +0 -163
  260. data/lib/tzinfo/definitions/America/Shiprock.rb +0 -13
  261. data/lib/tzinfo/definitions/America/Sitka.rb +0 -194
  262. data/lib/tzinfo/definitions/America/St_Barthelemy.rb +0 -13
  263. data/lib/tzinfo/definitions/America/St_Johns.rb +0 -288
  264. data/lib/tzinfo/definitions/America/St_Kitts.rb +0 -13
  265. data/lib/tzinfo/definitions/America/St_Lucia.rb +0 -13
  266. data/lib/tzinfo/definitions/America/St_Thomas.rb +0 -13
  267. data/lib/tzinfo/definitions/America/St_Vincent.rb +0 -13
  268. data/lib/tzinfo/definitions/America/Swift_Current.rb +0 -44
  269. data/lib/tzinfo/definitions/America/Tegucigalpa.rb +0 -25
  270. data/lib/tzinfo/definitions/America/Thule.rb +0 -139
  271. data/lib/tzinfo/definitions/America/Thunder_Bay.rb +0 -186
  272. data/lib/tzinfo/definitions/America/Tijuana.rb +0 -196
  273. data/lib/tzinfo/definitions/America/Toronto.rb +0 -279
  274. data/lib/tzinfo/definitions/America/Tortola.rb +0 -13
  275. data/lib/tzinfo/definitions/America/Vancouver.rb +0 -236
  276. data/lib/tzinfo/definitions/America/Virgin.rb +0 -13
  277. data/lib/tzinfo/definitions/America/Whitehorse.rb +0 -176
  278. data/lib/tzinfo/definitions/America/Winnipeg.rb +0 -232
  279. data/lib/tzinfo/definitions/America/Yakutat.rb +0 -193
  280. data/lib/tzinfo/definitions/America/Yellowknife.rb +0 -169
  281. data/lib/tzinfo/definitions/Antarctica/Casey.rb +0 -25
  282. data/lib/tzinfo/definitions/Antarctica/Davis.rb +0 -25
  283. data/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +0 -20
  284. data/lib/tzinfo/definitions/Antarctica/Macquarie.rb +0 -110
  285. data/lib/tzinfo/definitions/Antarctica/Mawson.rb +0 -20
  286. data/lib/tzinfo/definitions/Antarctica/McMurdo.rb +0 -13
  287. data/lib/tzinfo/definitions/Antarctica/Palmer.rb +0 -102
  288. data/lib/tzinfo/definitions/Antarctica/Rothera.rb +0 -18
  289. data/lib/tzinfo/definitions/Antarctica/South_Pole.rb +0 -13
  290. data/lib/tzinfo/definitions/Antarctica/Syowa.rb +0 -18
  291. data/lib/tzinfo/definitions/Antarctica/Troll.rb +0 -111
  292. data/lib/tzinfo/definitions/Antarctica/Vostok.rb +0 -18
  293. data/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +0 -13
  294. data/lib/tzinfo/definitions/Asia/Aden.rb +0 -13
  295. data/lib/tzinfo/definitions/Asia/Almaty.rb +0 -71
  296. data/lib/tzinfo/definitions/Asia/Amman.rb +0 -161
  297. data/lib/tzinfo/definitions/Asia/Anadyr.rb +0 -86
  298. data/lib/tzinfo/definitions/Asia/Aqtau.rb +0 -71
  299. data/lib/tzinfo/definitions/Asia/Aqtobe.rb +0 -72
  300. data/lib/tzinfo/definitions/Asia/Ashgabat.rb +0 -45
  301. data/lib/tzinfo/definitions/Asia/Ashkhabad.rb +0 -13
  302. data/lib/tzinfo/definitions/Asia/Atyrau.rb +0 -72
  303. data/lib/tzinfo/definitions/Asia/Baghdad.rb +0 -73
  304. data/lib/tzinfo/definitions/Asia/Bahrain.rb +0 -13
  305. data/lib/tzinfo/definitions/Asia/Baku.rb +0 -86
  306. data/lib/tzinfo/definitions/Asia/Bangkok.rb +0 -20
  307. data/lib/tzinfo/definitions/Asia/Barnaul.rb +0 -87
  308. data/lib/tzinfo/definitions/Asia/Beirut.rb +0 -185
  309. data/lib/tzinfo/definitions/Asia/Bishkek.rb +0 -72
  310. data/lib/tzinfo/definitions/Asia/Brunei.rb +0 -20
  311. data/lib/tzinfo/definitions/Asia/Calcutta.rb +0 -13
  312. data/lib/tzinfo/definitions/Asia/Chita.rb +0 -87
  313. data/lib/tzinfo/definitions/Asia/Choibalsan.rb +0 -72
  314. data/lib/tzinfo/definitions/Asia/Chongqing.rb +0 -13
  315. data/lib/tzinfo/definitions/Asia/Chungking.rb +0 -13
  316. data/lib/tzinfo/definitions/Asia/Colombo.rb +0 -30
  317. data/lib/tzinfo/definitions/Asia/Dacca.rb +0 -13
  318. data/lib/tzinfo/definitions/Asia/Damascus.rb +0 -195
  319. data/lib/tzinfo/definitions/Asia/Dhaka.rb +0 -28
  320. data/lib/tzinfo/definitions/Asia/Dili.rb +0 -22
  321. data/lib/tzinfo/definitions/Asia/Dubai.rb +0 -18
  322. data/lib/tzinfo/definitions/Asia/Dushanbe.rb +0 -44
  323. data/lib/tzinfo/definitions/Asia/Famagusta.rb +0 -171
  324. data/lib/tzinfo/definitions/Asia/Gaza.rb +0 -194
  325. data/lib/tzinfo/definitions/Asia/Harbin.rb +0 -13
  326. data/lib/tzinfo/definitions/Asia/Hebron.rb +0 -196
  327. data/lib/tzinfo/definitions/Asia/Ho_Chi_Minh.rb +0 -29
  328. data/lib/tzinfo/definitions/Asia/Hong_Kong.rb +0 -89
  329. data/lib/tzinfo/definitions/Asia/Hovd.rb +0 -69
  330. data/lib/tzinfo/definitions/Asia/Irkutsk.rb +0 -88
  331. data/lib/tzinfo/definitions/Asia/Istanbul.rb +0 -13
  332. data/lib/tzinfo/definitions/Asia/Jakarta.rb +0 -30
  333. data/lib/tzinfo/definitions/Asia/Jayapura.rb +0 -22
  334. data/lib/tzinfo/definitions/Asia/Jerusalem.rb +0 -193
  335. data/lib/tzinfo/definitions/Asia/Kabul.rb +0 -20
  336. data/lib/tzinfo/definitions/Asia/Kamchatka.rb +0 -84
  337. data/lib/tzinfo/definitions/Asia/Karachi.rb +0 -32
  338. data/lib/tzinfo/definitions/Asia/Kashgar.rb +0 -13
  339. data/lib/tzinfo/definitions/Asia/Kathmandu.rb +0 -20
  340. data/lib/tzinfo/definitions/Asia/Katmandu.rb +0 -13
  341. data/lib/tzinfo/definitions/Asia/Khandyga.rb +0 -90
  342. data/lib/tzinfo/definitions/Asia/Kolkata.rb +0 -27
  343. data/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +0 -86
  344. data/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +0 -31
  345. data/lib/tzinfo/definitions/Asia/Kuching.rb +0 -38
  346. data/lib/tzinfo/definitions/Asia/Kuwait.rb +0 -13
  347. data/lib/tzinfo/definitions/Asia/Macao.rb +0 -13
  348. data/lib/tzinfo/definitions/Asia/Macau.rb +0 -91
  349. data/lib/tzinfo/definitions/Asia/Magadan.rb +0 -87
  350. data/lib/tzinfo/definitions/Asia/Makassar.rb +0 -24
  351. data/lib/tzinfo/definitions/Asia/Manila.rb +0 -30
  352. data/lib/tzinfo/definitions/Asia/Muscat.rb +0 -13
  353. data/lib/tzinfo/definitions/Asia/Nicosia.rb +0 -171
  354. data/lib/tzinfo/definitions/Asia/Novokuznetsk.rb +0 -84
  355. data/lib/tzinfo/definitions/Asia/Novosibirsk.rb +0 -87
  356. data/lib/tzinfo/definitions/Asia/Omsk.rb +0 -86
  357. data/lib/tzinfo/definitions/Asia/Oral.rb +0 -73
  358. data/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +0 -13
  359. data/lib/tzinfo/definitions/Asia/Pontianak.rb +0 -30
  360. data/lib/tzinfo/definitions/Asia/Pyongyang.rb +0 -24
  361. data/lib/tzinfo/definitions/Asia/Qatar.rb +0 -20
  362. data/lib/tzinfo/definitions/Asia/Qostanay.rb +0 -72
  363. data/lib/tzinfo/definitions/Asia/Qyzylorda.rb +0 -73
  364. data/lib/tzinfo/definitions/Asia/Rangoon.rb +0 -13
  365. data/lib/tzinfo/definitions/Asia/Riyadh.rb +0 -18
  366. data/lib/tzinfo/definitions/Asia/Saigon.rb +0 -13
  367. data/lib/tzinfo/definitions/Asia/Sakhalin.rb +0 -87
  368. data/lib/tzinfo/definitions/Asia/Samarkand.rb +0 -44
  369. data/lib/tzinfo/definitions/Asia/Seoul.rb +0 -50
  370. data/lib/tzinfo/definitions/Asia/Shanghai.rb +0 -45
  371. data/lib/tzinfo/definitions/Asia/Singapore.rb +0 -31
  372. data/lib/tzinfo/definitions/Asia/Srednekolymsk.rb +0 -86
  373. data/lib/tzinfo/definitions/Asia/Taipei.rb +0 -60
  374. data/lib/tzinfo/definitions/Asia/Tashkent.rb +0 -44
  375. data/lib/tzinfo/definitions/Asia/Tbilisi.rb +0 -73
  376. data/lib/tzinfo/definitions/Asia/Tehran.rb +0 -147
  377. data/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +0 -13
  378. data/lib/tzinfo/definitions/Asia/Thimbu.rb +0 -13
  379. data/lib/tzinfo/definitions/Asia/Thimphu.rb +0 -20
  380. data/lib/tzinfo/definitions/Asia/Tokyo.rb +0 -27
  381. data/lib/tzinfo/definitions/Asia/Tomsk.rb +0 -87
  382. data/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +0 -13
  383. data/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +0 -69
  384. data/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +0 -13
  385. data/lib/tzinfo/definitions/Asia/Urumqi.rb +0 -18
  386. data/lib/tzinfo/definitions/Asia/Ust__m__Nera.rb +0 -89
  387. data/lib/tzinfo/definitions/Asia/Vientiane.rb +0 -13
  388. data/lib/tzinfo/definitions/Asia/Vladivostok.rb +0 -86
  389. data/lib/tzinfo/definitions/Asia/Yakutsk.rb +0 -86
  390. data/lib/tzinfo/definitions/Asia/Yangon.rb +0 -23
  391. data/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +0 -88
  392. data/lib/tzinfo/definitions/Asia/Yerevan.rb +0 -82
  393. data/lib/tzinfo/definitions/Atlantic/Azores.rb +0 -270
  394. data/lib/tzinfo/definitions/Atlantic/Bermuda.rb +0 -173
  395. data/lib/tzinfo/definitions/Atlantic/Canary.rb +0 -163
  396. data/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +0 -23
  397. data/lib/tzinfo/definitions/Atlantic/Faeroe.rb +0 -13
  398. data/lib/tzinfo/definitions/Atlantic/Faroe.rb +0 -159
  399. data/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +0 -13
  400. data/lib/tzinfo/definitions/Atlantic/Madeira.rb +0 -269
  401. data/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +0 -87
  402. data/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +0 -18
  403. data/lib/tzinfo/definitions/Atlantic/St_Helena.rb +0 -13
  404. data/lib/tzinfo/definitions/Atlantic/Stanley.rb +0 -91
  405. data/lib/tzinfo/definitions/Australia/ACT.rb +0 -13
  406. data/lib/tzinfo/definitions/Australia/Adelaide.rb +0 -187
  407. data/lib/tzinfo/definitions/Australia/Brisbane.rb +0 -35
  408. data/lib/tzinfo/definitions/Australia/Broken_Hill.rb +0 -189
  409. data/lib/tzinfo/definitions/Australia/Canberra.rb +0 -13
  410. data/lib/tzinfo/definitions/Australia/Currie.rb +0 -185
  411. data/lib/tzinfo/definitions/Australia/Darwin.rb +0 -29
  412. data/lib/tzinfo/definitions/Australia/Eucla.rb +0 -37
  413. data/lib/tzinfo/definitions/Australia/Hobart.rb +0 -193
  414. data/lib/tzinfo/definitions/Australia/LHI.rb +0 -13
  415. data/lib/tzinfo/definitions/Australia/Lindeman.rb +0 -39
  416. data/lib/tzinfo/definitions/Australia/Lord_Howe.rb +0 -160
  417. data/lib/tzinfo/definitions/Australia/Melbourne.rb +0 -185
  418. data/lib/tzinfo/definitions/Australia/NSW.rb +0 -13
  419. data/lib/tzinfo/definitions/Australia/North.rb +0 -13
  420. data/lib/tzinfo/definitions/Australia/Perth.rb +0 -37
  421. data/lib/tzinfo/definitions/Australia/Queensland.rb +0 -13
  422. data/lib/tzinfo/definitions/Australia/South.rb +0 -13
  423. data/lib/tzinfo/definitions/Australia/Sydney.rb +0 -185
  424. data/lib/tzinfo/definitions/Australia/Tasmania.rb +0 -13
  425. data/lib/tzinfo/definitions/Australia/Victoria.rb +0 -13
  426. data/lib/tzinfo/definitions/Australia/West.rb +0 -13
  427. data/lib/tzinfo/definitions/Australia/Yancowinna.rb +0 -13
  428. data/lib/tzinfo/definitions/Brazil/Acre.rb +0 -13
  429. data/lib/tzinfo/definitions/Brazil/DeNoronha.rb +0 -13
  430. data/lib/tzinfo/definitions/Brazil/East.rb +0 -13
  431. data/lib/tzinfo/definitions/Brazil/West.rb +0 -13
  432. data/lib/tzinfo/definitions/CET.rb +0 -177
  433. data/lib/tzinfo/definitions/CST6CDT.rb +0 -192
  434. data/lib/tzinfo/definitions/Canada/Atlantic.rb +0 -13
  435. data/lib/tzinfo/definitions/Canada/Central.rb +0 -13
  436. data/lib/tzinfo/definitions/Canada/Eastern.rb +0 -13
  437. data/lib/tzinfo/definitions/Canada/Mountain.rb +0 -13
  438. data/lib/tzinfo/definitions/Canada/Newfoundland.rb +0 -13
  439. data/lib/tzinfo/definitions/Canada/Pacific.rb +0 -13
  440. data/lib/tzinfo/definitions/Canada/Saskatchewan.rb +0 -13
  441. data/lib/tzinfo/definitions/Canada/Yukon.rb +0 -13
  442. data/lib/tzinfo/definitions/Chile/Continental.rb +0 -13
  443. data/lib/tzinfo/definitions/Chile/EasterIsland.rb +0 -13
  444. data/lib/tzinfo/definitions/Cuba.rb +0 -11
  445. data/lib/tzinfo/definitions/EET.rb +0 -163
  446. data/lib/tzinfo/definitions/EST.rb +0 -14
  447. data/lib/tzinfo/definitions/EST5EDT.rb +0 -192
  448. data/lib/tzinfo/definitions/Egypt.rb +0 -11
  449. data/lib/tzinfo/definitions/Eire.rb +0 -11
  450. data/lib/tzinfo/definitions/Etc/GMT.rb +0 -16
  451. data/lib/tzinfo/definitions/Etc/GMT0.rb +0 -13
  452. data/lib/tzinfo/definitions/Etc/GMT__m__0.rb +0 -13
  453. data/lib/tzinfo/definitions/Etc/GMT__m__1.rb +0 -16
  454. data/lib/tzinfo/definitions/Etc/GMT__m__10.rb +0 -16
  455. data/lib/tzinfo/definitions/Etc/GMT__m__11.rb +0 -16
  456. data/lib/tzinfo/definitions/Etc/GMT__m__12.rb +0 -16
  457. data/lib/tzinfo/definitions/Etc/GMT__m__13.rb +0 -16
  458. data/lib/tzinfo/definitions/Etc/GMT__m__14.rb +0 -16
  459. data/lib/tzinfo/definitions/Etc/GMT__m__2.rb +0 -16
  460. data/lib/tzinfo/definitions/Etc/GMT__m__3.rb +0 -16
  461. data/lib/tzinfo/definitions/Etc/GMT__m__4.rb +0 -16
  462. data/lib/tzinfo/definitions/Etc/GMT__m__5.rb +0 -16
  463. data/lib/tzinfo/definitions/Etc/GMT__m__6.rb +0 -16
  464. data/lib/tzinfo/definitions/Etc/GMT__m__7.rb +0 -16
  465. data/lib/tzinfo/definitions/Etc/GMT__m__8.rb +0 -16
  466. data/lib/tzinfo/definitions/Etc/GMT__m__9.rb +0 -16
  467. data/lib/tzinfo/definitions/Etc/GMT__p__0.rb +0 -13
  468. data/lib/tzinfo/definitions/Etc/GMT__p__1.rb +0 -16
  469. data/lib/tzinfo/definitions/Etc/GMT__p__10.rb +0 -16
  470. data/lib/tzinfo/definitions/Etc/GMT__p__11.rb +0 -16
  471. data/lib/tzinfo/definitions/Etc/GMT__p__12.rb +0 -16
  472. data/lib/tzinfo/definitions/Etc/GMT__p__2.rb +0 -16
  473. data/lib/tzinfo/definitions/Etc/GMT__p__3.rb +0 -16
  474. data/lib/tzinfo/definitions/Etc/GMT__p__4.rb +0 -16
  475. data/lib/tzinfo/definitions/Etc/GMT__p__5.rb +0 -16
  476. data/lib/tzinfo/definitions/Etc/GMT__p__6.rb +0 -16
  477. data/lib/tzinfo/definitions/Etc/GMT__p__7.rb +0 -16
  478. data/lib/tzinfo/definitions/Etc/GMT__p__8.rb +0 -16
  479. data/lib/tzinfo/definitions/Etc/GMT__p__9.rb +0 -16
  480. data/lib/tzinfo/definitions/Etc/Greenwich.rb +0 -13
  481. data/lib/tzinfo/definitions/Etc/UCT.rb +0 -13
  482. data/lib/tzinfo/definitions/Etc/UTC.rb +0 -16
  483. data/lib/tzinfo/definitions/Etc/Universal.rb +0 -13
  484. data/lib/tzinfo/definitions/Etc/Zulu.rb +0 -13
  485. data/lib/tzinfo/definitions/Europe/Amsterdam.rb +0 -228
  486. data/lib/tzinfo/definitions/Europe/Andorra.rb +0 -153
  487. data/lib/tzinfo/definitions/Europe/Astrakhan.rb +0 -84
  488. data/lib/tzinfo/definitions/Europe/Athens.rb +0 -185
  489. data/lib/tzinfo/definitions/Europe/Belfast.rb +0 -13
  490. data/lib/tzinfo/definitions/Europe/Belgrade.rb +0 -163
  491. data/lib/tzinfo/definitions/Europe/Berlin.rb +0 -188
  492. data/lib/tzinfo/definitions/Europe/Bratislava.rb +0 -13
  493. data/lib/tzinfo/definitions/Europe/Brussels.rb +0 -232
  494. data/lib/tzinfo/definitions/Europe/Bucharest.rb +0 -181
  495. data/lib/tzinfo/definitions/Europe/Budapest.rb +0 -195
  496. data/lib/tzinfo/definitions/Europe/Busingen.rb +0 -13
  497. data/lib/tzinfo/definitions/Europe/Chisinau.rb +0 -191
  498. data/lib/tzinfo/definitions/Europe/Copenhagen.rb +0 -179
  499. data/lib/tzinfo/definitions/Europe/Dublin.rb +0 -276
  500. data/lib/tzinfo/definitions/Europe/Gibraltar.rb +0 -245
  501. data/lib/tzinfo/definitions/Europe/Guernsey.rb +0 -13
  502. data/lib/tzinfo/definitions/Europe/Helsinki.rb +0 -163
  503. data/lib/tzinfo/definitions/Europe/Isle_of_Man.rb +0 -13
  504. data/lib/tzinfo/definitions/Europe/Istanbul.rb +0 -136
  505. data/lib/tzinfo/definitions/Europe/Jersey.rb +0 -13
  506. data/lib/tzinfo/definitions/Europe/Kaliningrad.rb +0 -103
  507. data/lib/tzinfo/definitions/Europe/Kiev.rb +0 -170
  508. data/lib/tzinfo/definitions/Europe/Kirov.rb +0 -83
  509. data/lib/tzinfo/definitions/Europe/Lisbon.rb +0 -268
  510. data/lib/tzinfo/definitions/Europe/Ljubljana.rb +0 -13
  511. data/lib/tzinfo/definitions/Europe/London.rb +0 -288
  512. data/lib/tzinfo/definitions/Europe/Luxembourg.rb +0 -231
  513. data/lib/tzinfo/definitions/Europe/Madrid.rb +0 -209
  514. data/lib/tzinfo/definitions/Europe/Malta.rb +0 -213
  515. data/lib/tzinfo/definitions/Europe/Mariehamn.rb +0 -13
  516. data/lib/tzinfo/definitions/Europe/Minsk.rb +0 -92
  517. data/lib/tzinfo/definitions/Europe/Monaco.rb +0 -233
  518. data/lib/tzinfo/definitions/Europe/Moscow.rb +0 -104
  519. data/lib/tzinfo/definitions/Europe/Nicosia.rb +0 -13
  520. data/lib/tzinfo/definitions/Europe/Oslo.rb +0 -185
  521. data/lib/tzinfo/definitions/Europe/Paris.rb +0 -232
  522. data/lib/tzinfo/definitions/Europe/Podgorica.rb +0 -13
  523. data/lib/tzinfo/definitions/Europe/Prague.rb +0 -190
  524. data/lib/tzinfo/definitions/Europe/Riga.rb +0 -176
  525. data/lib/tzinfo/definitions/Europe/Rome.rb +0 -215
  526. data/lib/tzinfo/definitions/Europe/Samara.rb +0 -85
  527. data/lib/tzinfo/definitions/Europe/San_Marino.rb +0 -13
  528. data/lib/tzinfo/definitions/Europe/Sarajevo.rb +0 -13
  529. data/lib/tzinfo/definitions/Europe/Saratov.rb +0 -84
  530. data/lib/tzinfo/definitions/Europe/Simferopol.rb +0 -99
  531. data/lib/tzinfo/definitions/Europe/Skopje.rb +0 -13
  532. data/lib/tzinfo/definitions/Europe/Sofia.rb +0 -173
  533. data/lib/tzinfo/definitions/Europe/Stockholm.rb +0 -165
  534. data/lib/tzinfo/definitions/Europe/Tallinn.rb +0 -172
  535. data/lib/tzinfo/definitions/Europe/Tirane.rb +0 -177
  536. data/lib/tzinfo/definitions/Europe/Tiraspol.rb +0 -13
  537. data/lib/tzinfo/definitions/Europe/Ulyanovsk.rb +0 -88
  538. data/lib/tzinfo/definitions/Europe/Uzhgorod.rb +0 -168
  539. data/lib/tzinfo/definitions/Europe/Vaduz.rb +0 -13
  540. data/lib/tzinfo/definitions/Europe/Vatican.rb +0 -13
  541. data/lib/tzinfo/definitions/Europe/Vienna.rb +0 -183
  542. data/lib/tzinfo/definitions/Europe/Vilnius.rb +0 -170
  543. data/lib/tzinfo/definitions/Europe/Volgograd.rb +0 -84
  544. data/lib/tzinfo/definitions/Europe/Warsaw.rb +0 -212
  545. data/lib/tzinfo/definitions/Europe/Zagreb.rb +0 -13
  546. data/lib/tzinfo/definitions/Europe/Zaporozhye.rb +0 -171
  547. data/lib/tzinfo/definitions/Europe/Zurich.rb +0 -165
  548. data/lib/tzinfo/definitions/Factory.rb +0 -14
  549. data/lib/tzinfo/definitions/GB.rb +0 -11
  550. data/lib/tzinfo/definitions/GB__m__Eire.rb +0 -11
  551. data/lib/tzinfo/definitions/GMT.rb +0 -11
  552. data/lib/tzinfo/definitions/GMT0.rb +0 -11
  553. data/lib/tzinfo/definitions/GMT__m__0.rb +0 -11
  554. data/lib/tzinfo/definitions/GMT__p__0.rb +0 -11
  555. data/lib/tzinfo/definitions/Greenwich.rb +0 -11
  556. data/lib/tzinfo/definitions/HST.rb +0 -14
  557. data/lib/tzinfo/definitions/Hongkong.rb +0 -11
  558. data/lib/tzinfo/definitions/Iceland.rb +0 -11
  559. data/lib/tzinfo/definitions/Indian/Antananarivo.rb +0 -13
  560. data/lib/tzinfo/definitions/Indian/Chagos.rb +0 -20
  561. data/lib/tzinfo/definitions/Indian/Christmas.rb +0 -18
  562. data/lib/tzinfo/definitions/Indian/Cocos.rb +0 -18
  563. data/lib/tzinfo/definitions/Indian/Comoro.rb +0 -13
  564. data/lib/tzinfo/definitions/Indian/Kerguelen.rb +0 -18
  565. data/lib/tzinfo/definitions/Indian/Mahe.rb +0 -18
  566. data/lib/tzinfo/definitions/Indian/Maldives.rb +0 -20
  567. data/lib/tzinfo/definitions/Indian/Mauritius.rb +0 -23
  568. data/lib/tzinfo/definitions/Indian/Mayotte.rb +0 -13
  569. data/lib/tzinfo/definitions/Indian/Reunion.rb +0 -18
  570. data/lib/tzinfo/definitions/Iran.rb +0 -11
  571. data/lib/tzinfo/definitions/Israel.rb +0 -11
  572. data/lib/tzinfo/definitions/Jamaica.rb +0 -11
  573. data/lib/tzinfo/definitions/Japan.rb +0 -11
  574. data/lib/tzinfo/definitions/Kwajalein.rb +0 -11
  575. data/lib/tzinfo/definitions/Libya.rb +0 -11
  576. data/lib/tzinfo/definitions/MET.rb +0 -177
  577. data/lib/tzinfo/definitions/MST.rb +0 -14
  578. data/lib/tzinfo/definitions/MST7MDT.rb +0 -192
  579. data/lib/tzinfo/definitions/Mexico/BajaNorte.rb +0 -13
  580. data/lib/tzinfo/definitions/Mexico/BajaSur.rb +0 -13
  581. data/lib/tzinfo/definitions/Mexico/General.rb +0 -13
  582. data/lib/tzinfo/definitions/NZ.rb +0 -11
  583. data/lib/tzinfo/definitions/NZ__m__CHAT.rb +0 -11
  584. data/lib/tzinfo/definitions/Navajo.rb +0 -11
  585. data/lib/tzinfo/definitions/PRC.rb +0 -11
  586. data/lib/tzinfo/definitions/PST8PDT.rb +0 -192
  587. data/lib/tzinfo/definitions/Pacific/Apia.rb +0 -106
  588. data/lib/tzinfo/definitions/Pacific/Auckland.rb +0 -202
  589. data/lib/tzinfo/definitions/Pacific/Bougainville.rb +0 -25
  590. data/lib/tzinfo/definitions/Pacific/Chatham.rb +0 -173
  591. data/lib/tzinfo/definitions/Pacific/Chuuk.rb +0 -25
  592. data/lib/tzinfo/definitions/Pacific/Easter.rb +0 -185
  593. data/lib/tzinfo/definitions/Pacific/Efate.rb +0 -39
  594. data/lib/tzinfo/definitions/Pacific/Enderbury.rb +0 -22
  595. data/lib/tzinfo/definitions/Pacific/Fakaofo.rb +0 -20
  596. data/lib/tzinfo/definitions/Pacific/Fiji.rb +0 -105
  597. data/lib/tzinfo/definitions/Pacific/Funafuti.rb +0 -18
  598. data/lib/tzinfo/definitions/Pacific/Galapagos.rb +0 -23
  599. data/lib/tzinfo/definitions/Pacific/Gambier.rb +0 -18
  600. data/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +0 -18
  601. data/lib/tzinfo/definitions/Pacific/Guam.rb +0 -42
  602. data/lib/tzinfo/definitions/Pacific/Honolulu.rb +0 -28
  603. data/lib/tzinfo/definitions/Pacific/Johnston.rb +0 -13
  604. data/lib/tzinfo/definitions/Pacific/Kiritimati.rb +0 -22
  605. data/lib/tzinfo/definitions/Pacific/Kosrae.rb +0 -30
  606. data/lib/tzinfo/definitions/Pacific/Kwajalein.rb +0 -27
  607. data/lib/tzinfo/definitions/Pacific/Majuro.rb +0 -27
  608. data/lib/tzinfo/definitions/Pacific/Marquesas.rb +0 -18
  609. data/lib/tzinfo/definitions/Pacific/Midway.rb +0 -13
  610. data/lib/tzinfo/definitions/Pacific/Nauru.rb +0 -23
  611. data/lib/tzinfo/definitions/Pacific/Niue.rb +0 -22
  612. data/lib/tzinfo/definitions/Pacific/Norfolk.rb +0 -88
  613. data/lib/tzinfo/definitions/Pacific/Noumea.rb +0 -25
  614. data/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +0 -20
  615. data/lib/tzinfo/definitions/Pacific/Palau.rb +0 -20
  616. data/lib/tzinfo/definitions/Pacific/Pitcairn.rb +0 -20
  617. data/lib/tzinfo/definitions/Pacific/Pohnpei.rb +0 -27
  618. data/lib/tzinfo/definitions/Pacific/Ponape.rb +0 -13
  619. data/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +0 -20
  620. data/lib/tzinfo/definitions/Pacific/Rarotonga.rb +0 -46
  621. data/lib/tzinfo/definitions/Pacific/Saipan.rb +0 -13
  622. data/lib/tzinfo/definitions/Pacific/Samoa.rb +0 -13
  623. data/lib/tzinfo/definitions/Pacific/Tahiti.rb +0 -18
  624. data/lib/tzinfo/definitions/Pacific/Tarawa.rb +0 -18
  625. data/lib/tzinfo/definitions/Pacific/Tongatapu.rb +0 -29
  626. data/lib/tzinfo/definitions/Pacific/Truk.rb +0 -13
  627. data/lib/tzinfo/definitions/Pacific/Wake.rb +0 -18
  628. data/lib/tzinfo/definitions/Pacific/Wallis.rb +0 -18
  629. data/lib/tzinfo/definitions/Pacific/Yap.rb +0 -13
  630. data/lib/tzinfo/definitions/Poland.rb +0 -11
  631. data/lib/tzinfo/definitions/Portugal.rb +0 -11
  632. data/lib/tzinfo/definitions/ROC.rb +0 -11
  633. data/lib/tzinfo/definitions/ROK.rb +0 -11
  634. data/lib/tzinfo/definitions/Singapore.rb +0 -11
  635. data/lib/tzinfo/definitions/Turkey.rb +0 -11
  636. data/lib/tzinfo/definitions/UCT.rb +0 -11
  637. data/lib/tzinfo/definitions/US/Alaska.rb +0 -13
  638. data/lib/tzinfo/definitions/US/Aleutian.rb +0 -13
  639. data/lib/tzinfo/definitions/US/Arizona.rb +0 -13
  640. data/lib/tzinfo/definitions/US/Central.rb +0 -13
  641. data/lib/tzinfo/definitions/US/East__m__Indiana.rb +0 -13
  642. data/lib/tzinfo/definitions/US/Eastern.rb +0 -13
  643. data/lib/tzinfo/definitions/US/Hawaii.rb +0 -13
  644. data/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +0 -13
  645. data/lib/tzinfo/definitions/US/Michigan.rb +0 -13
  646. data/lib/tzinfo/definitions/US/Mountain.rb +0 -13
  647. data/lib/tzinfo/definitions/US/Pacific.rb +0 -13
  648. data/lib/tzinfo/definitions/US/Pacific__m__New.rb +0 -13
  649. data/lib/tzinfo/definitions/US/Samoa.rb +0 -13
  650. data/lib/tzinfo/definitions/UTC.rb +0 -11
  651. data/lib/tzinfo/definitions/Universal.rb +0 -11
  652. data/lib/tzinfo/definitions/WET.rb +0 -163
  653. data/lib/tzinfo/definitions/W__m__SU.rb +0 -11
  654. data/lib/tzinfo/definitions/Zulu.rb +0 -11
  655. data/lib/tzinfo/indexes/countries.rb +0 -931
  656. data/lib/tzinfo/indexes/timezones.rb +0 -604
  657. data/lib/tzinfo/linked_timezone_info.rb +0 -44
  658. data/lib/tzinfo/offset_rationals.rb +0 -99
  659. data/lib/tzinfo/ruby_core_support.rb +0 -82
  660. data/lib/tzinfo/time_or_datetime.rb +0 -293
  661. data/lib/tzinfo/timezone_definition.rb +0 -57
  662. data/lib/tzinfo/timezone_index_definition.rb +0 -75
  663. data/lib/tzinfo/timezone_info.rb +0 -42
  664. data/lib/tzinfo/timezone_offset_info.rb +0 -96
  665. data/lib/tzinfo/timezone_transition_info.rb +0 -129
  666. data/lib/tzinfo/tzdataparser.rb +0 -1287
  667. data/test/tc_country.rb +0 -156
  668. data/test/tc_country_index_definition.rb +0 -70
  669. data/test/tc_country_info.rb +0 -72
  670. data/test/tc_country_timezone.rb +0 -121
  671. data/test/tc_data_timezone.rb +0 -68
  672. data/test/tc_data_timezone_info.rb +0 -282
  673. data/test/tc_info_timezone.rb +0 -36
  674. data/test/tc_linked_timezone.rb +0 -102
  675. data/test/tc_linked_timezone_info.rb +0 -18
  676. data/test/tc_offset_rationals.rb +0 -25
  677. data/test/tc_ruby_core_support.rb +0 -31
  678. data/test/tc_time_or_datetime.rb +0 -422
  679. data/test/tc_timezone.rb +0 -964
  680. data/test/tc_timezone_definition.rb +0 -115
  681. data/test/tc_timezone_index_definition.rb +0 -75
  682. data/test/tc_timezone_info.rb +0 -13
  683. data/test/tc_timezone_london.rb +0 -114
  684. data/test/tc_timezone_melbourne.rb +0 -114
  685. data/test/tc_timezone_new_york.rb +0 -114
  686. data/test/tc_timezone_offset_info.rb +0 -116
  687. data/test/tc_timezone_period.rb +0 -509
  688. data/test/tc_timezone_proxy.rb +0 -87
  689. data/test/tc_timezone_transition_info.rb +0 -194
  690. data/test/tc_timezone_utc.rb +0 -29
  691. data/test/test_utils.rb +0 -21
  692. data/test/ts_all.rb +0 -9
  693. data/tzinfo.gemspec +0 -19
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a7f0a351bb373ff9068cb63ac357116b714aba6ee3a80c937bab19598f1cb524
4
+ data.tar.gz: 73fe312723a4ffdeb9ca5340156ef3708795d8485dfd4739aaef5d7c79773937
5
+ SHA512:
6
+ metadata.gz: 5ac0373dd3c0355db72d99d0cb59fb5adb34cd26bc084bdf3beaa06e35e195e23fbeb444b6d125d956157ab66705fe044c0b12111db634873d90ecccddc59aca
7
+ data.tar.gz: 04cddba2b691dc949cd61d9a2f5dd58a77a9bd4d0c5042fa02d43359432edeba36e336db7bf1fa0dc0289eaa17c2f6fb08631af7211ed21f07ebb51a22461471
@@ -0,0 +1 @@
1
+ .Wv(,M����|Yg$8�P������~T�œ���N����7�)�F��@�e���XeqM%�d��pʮ�ܣ��(�Zn?�5��F�V�{q��JQ��ό�v�`�,,b]nVewFU�y�\3�]α�tE�(v����1�y��B/?o�C0Cj�2k�1}����C<�j/�b�e�?��/�\@G�o�&4 �9xՀ����8'���J�E�����I��x�8>(m�V~E~;�<�\�>��?&��~�l
@@ -0,0 +1,2 @@
1
+ ^u�_o,e�IM���N!�m:2�� ir@-DR����((���6��@ �燫z7���[zb�yHߢ���BX9�qE Ni��l�U7
2
+ ��β�A�8iKCJ��=ܧ��f��7�w;]x4�
data/.yardopts CHANGED
@@ -1,8 +1,9 @@
1
+ --markup markdown
1
2
  --no-private
2
- --exclude ^lib/tzinfo/definitions/
3
- --exclude ^lib/tzinfo/indexes/
3
+ --protected
4
+ --readme README.md
4
5
  lib/**/*.rb
5
6
  -
6
- CHANGES
7
+ CHANGES.md
7
8
  LICENSE
8
- README
9
+ README.md
@@ -0,0 +1,878 @@
1
+ # Changes
2
+
3
+ ## Version 2.0.0 - 26-Dec-2018
4
+
5
+ ### Added
6
+
7
+ * `to_local` and `period_for` instance methods have been added to
8
+ `TZInfo::Timezone`. These are similar to `utc_to_local` and `period_for_utc`,
9
+ but take the UTC offset of the given time into account.
10
+ * `abbreviation`, `dst?`, `base_utc_offset` and `observed_utc_offset` instance
11
+ methods have been added to `TZInfo::Timezone`, returning the abbreviation,
12
+ whether daylight savings time is in effect and the UTC offset of the time zone
13
+ at a specified time.
14
+ * A `TZInfo::Timestamp` class has been added. It can be used with
15
+ `TZInfo::Timezone` in place of a `Time` or `DateTime`.
16
+ * `local_time`, `local_datetime` and `local_timestamp` instance methods have
17
+ been added to `TZInfo::Timezone`. These methods construct local `Time`,
18
+ `DateTime` and `TZInfo::Timestamp` instances with the correct UTC offset and
19
+ abbreviation for the time zone.
20
+ * Support for a (yet to be released) version 2 of tzinfo-data has been added, in
21
+ addition to support for version 1. The new version will remove the (no longer
22
+ needed) `DateTime` parameters from transition times, reduce memory consumption
23
+ and improve the efficiency of loading timezone and country indexes.
24
+ * A `TZInfo::VERSION` constant has been added, indicating the TZInfo version
25
+ number.
26
+
27
+ ### Changed
28
+
29
+ * The minimum supported Ruby versions are now Ruby MRI 1.9.3, JRuby 1.7 (in 1.9
30
+ or later mode) and Rubinius 3.
31
+ * Local times are now returned using the correct UTC offset (instead of using
32
+ UTC). #49 and #52.
33
+ * Local times are returned as instances of `TimeWithOffset`,
34
+ `DateTimeWithOffset` or `TZInfo::TimestampWithOffset`. These classes subclass
35
+ `Time`, `DateTime` and `TZInfo::Timestamp` respectively. They override the
36
+ default behaviour of the base classes to return information about the observed
37
+ offset at the indicated time. For example, the zone abbreviation is returned
38
+ when using the `%Z` directive with `strftime`.
39
+ * The `transitions_up_to`, `offsets_up_to` and `strftime` instance methods of
40
+ `TZInfo::Timezone` now take the UTC offsets of given times into account
41
+ (instead of ignoring them as was previously the case).
42
+ * The `TZInfo::TimezonePeriod` class has been split into two subclasses:
43
+ `TZInfo::OffsetTimezonePeriod` and `TZInfo::TransitionsTimezonePeriod`.
44
+ `TZInfo::OffsetTimezonePeriod` is returned for time zones that only have a
45
+ single offset. `TZInfo::TransitionsTimezonePeriod` is returned for periods
46
+ that start or end with a transition.
47
+ * `TZInfo::TimezoneOffset#abbreviation`, `TZInfo::TimezonePeriod#abbreviation`
48
+ and `TZInfo::TimezonePeriod#zone_identifier` now return frozen `String`
49
+ instances instead of instances of `Symbol`.
50
+ * The `utc_offset` and `utc_total_offset` attributes of `TZInfo::TimezonePeriod`
51
+ and `TZInfo::TimezoneOffset` have been renamed `base_utc_offset` and
52
+ `observed_utc_offset` respectively. The former names have been retained as
53
+ aliases.
54
+ * `TZInfo::Timezone.get`, `TZInfo::Timezone.get_proxy` and `TZInfo::Country.get`
55
+ can now be used with strings having any encoding. Previously, only encodings
56
+ that are directly comparable with UTF-8 were supported.
57
+ * The requested identifier is included in `TZInfo::InvalidTimezoneIdentifier`
58
+ exception messages.
59
+ * The requested country code is included in `TZInfo::InvalidCountryCode`
60
+ exception messages.
61
+ * The full range of transitions is now loaded from zoneinfo files. Zoneinfo
62
+ files produced with version 2014c of the `zic` tool contain an initial
63
+ transition `2**63` seconds before the epoch. Zoneinfo files produced with
64
+ version 2014d or later of `zic` contain an initial transition `2**59` seconds
65
+ before the epoch. These transitions would previously have been ignored, but
66
+ are now returned in methods such as `TZInfo::Timezone#transitions_up_to`.
67
+ * The `TZInfo::RubyDataSource` and `TZInfo::ZoneinfoDataSource` classes have
68
+ been moved into a new `TZInfo::DataSources` module. Code that is setting
69
+ `TZInfo::ZoneinfoDataSource.search_path` or
70
+ `TZInfo::ZoneinfoDataSource.alternate_iso3166_tab_search_path` will need to be
71
+ updated accordingly.
72
+ * The `TZInfo::InvalidZoneinfoDirectory` and `TZInfo::ZoneinfoDirectoryNotFound`
73
+ exception classes raised by `TZInfo::DataSources::ZoneinfoDataSource` have
74
+ been moved into the `TZInfo::DataSources` module.
75
+ * Setting the data source to `:ruby` or instantiating
76
+ `TZInfo::DataSources::RubyDataSource` will now immediately raise a
77
+ `TZInfo::DataSources::TZInfoDataNotFound` exception if `require 'tzinfo/data'`
78
+ fails. Previously, a failure would only occur later when accessing an index or
79
+ loading a timezone or country.
80
+ * The `DEFAULT_SEARCH_PATH` and `DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH`
81
+ constants of `TZInfo::DataSources::ZoneinfoDataSource` have been made private.
82
+ * The `TZInfo::Country.data_source`,
83
+ `TZInfo::DataSource.create_default_data_source`,
84
+ `TZInfo::DataSources::ZoneinfoDataSource.process_search_path`,
85
+ `TZInfo::Timezone.get_proxies` and `TZInfo::Timezone.data_source` methods have
86
+ been made private.
87
+ * The performance of loading zoneinfo files and the associated indexes has been
88
+ improved.
89
+ * Memory use has been decreased by deduplicating `String` instances when loading
90
+ country and time zone data.
91
+ * The dependency on the deprecated thread_safe gem as been removed and replaced
92
+ by concurrent-ruby.
93
+ * The Info classes used to return time zone and country information from
94
+ `TZInfo::DataSource` implementations have been moved into the
95
+ `TZInfo::DataSources` module.
96
+ * The `TZInfo::TransitionDataTimezoneInfo` class has been removed and replaced
97
+ with `TZInfo::DataSources::TransitionsDataTimezoneInfo` and
98
+ `TZInfo::DataSources::ConstantOffsetDataTimezoneInfo`.
99
+ `TZInfo::DataSources::TransitionsDataTimezoneInfo` is constructed with an
100
+ `Array` of `TZInfo::TimezoneTransition` instances representing times when the
101
+ offset changes. `TZInfo::DataSources::ConstantOffsetDataTimezoneInfo` is
102
+ constructed with a `TZInfo::TimezoneOffset` instance representing the offset
103
+ constantly observed in a time zone.
104
+ * The `TZInfo::DataSource#timezone_identifiers` method should no longer be
105
+ overridden in custom data source implementations. The implementation in the
106
+ base class now calculates a result from
107
+ `TZInfo::DataSource#data_timezone_identifiers` and
108
+ `TZInfo::DataSource#linked_timezone_identifiers`.
109
+ * The results of the `TZInfo::DataSources::RubyDataSource` `to_s` and `inspect`
110
+ methods now include the time zone database and tzinfo-data versions.
111
+
112
+
113
+ ### Removed
114
+
115
+ * Methods of `TZInfo::Timezone` that accept time arguments no longer allow
116
+ `Integer` timestamp values. `Time`, `DateTime` or `TZInfo::Timestamp` values
117
+ or objects that respond to `to_i`, `subsec` and optionally `utc_offset` must
118
+ be used instead.
119
+ * The `%:::z` format directive can now only be used with
120
+ `TZInfo::Timezone#strftime` if it is supported by `Time#strftime` on the
121
+ runtime platform.
122
+ * Using `TZInfo::Timezone.new(identifier)` and `TZInfo::Country.new(code)` to
123
+ obtain a specific `TZInfo::Timezone` or `TZInfo::Country` will no longer work.
124
+ `TZInfo::Timezone.get(identifier)` and `TZInfo::Country.get(code)` should be
125
+ used instead.
126
+ * The `TZInfo::TimeOrDateTime` class has been removed.
127
+ * The `valid_for_utc?`, `utc_after_start?`, `utc_before_end?`,
128
+ `valid_for_local?`, `local_after_start?` and `local_before_end?` instance
129
+ methods of `TZInfo::TimezonePeriod` have been removed. Comparisons can be
130
+ performed with the results of the `starts_at`, `ends_at`, `local_starts_at`
131
+ and `local_ends_at` methods instead.
132
+ * The `to_local` and `to_utc` instance methods of `TZInfo::TimezonePeriod` and
133
+ `TZInfo::TimezoneOffset` have been removed. Conversions should be performed
134
+ using the `TZInfo::Timezone` class instead.
135
+ * The `TZInfo::TimezonePeriod#utc_total_offset_rational` method has been
136
+ removed. Equivalent information can be obtained using the
137
+ `TZInfo::TimezonePeriod#observed_utc_offset` method.
138
+ * The `datetime`, `time`, `local_end`, `local_end_time`, `local_start` and
139
+ `local_start_time` instance methods of `TZInfo::TimezoneTransition` have been
140
+ removed. The `at`, `local_end_at` and `local_start_at` methods should be used
141
+ instead and the result (a `TZInfo::TimestampWithOffset`) converted to either a
142
+ `DateTime` or `Time` by calling `to_datetime` or `to_time` on the result.
143
+ * The `us_zones` and `us_zone_identifiers` class methods of `TZInfo::Timezone`
144
+ have been removed. `TZInfo::Country.get('US').zones` and
145
+ `TZInfo::Country.get('US').zone_identifiers` should be used instead.
146
+
147
+
148
+ ## Version 1.2.5 - 4-Feb-2018
149
+
150
+ * Support recursively (deep) freezing `Country` and `Timezone` instances. #80.
151
+ * Allow negative daylight savings time offsets to be derived when reading from
152
+ zoneinfo files. The utc_offset and std_offset are now derived correctly for
153
+ Europe/Dublin in the 2018a and 2018b releases of the Time Zone Database.
154
+
155
+
156
+ ## Version 1.2.4 - 26-Oct-2017
157
+
158
+ * Ignore the leapseconds file that is included in zoneinfo directories installed
159
+ with version 2017c and later of the Time Zone Database.
160
+
161
+
162
+ ## Version 1.2.3 - 25-Mar-2017
163
+
164
+ * Reduce the number of `String` objects allocated when loading zoneinfo files.
165
+ #54.
166
+ * Make `Timezone#friendly_identifier` compatible with frozen string literals.
167
+ * Improve the algorithm for deriving the `utc_offset` from zoneinfo files. This
168
+ now correctly handles Pacific/Apia switching from one side of the
169
+ International Date Line to the other whilst observing daylight savings time.
170
+ #66.
171
+ * Fix an `UnknownTimezone` exception when calling transitions_up_to or
172
+ offsets_up_to on a `TimezoneProxy` instance obtained from
173
+ `Timezone.get_proxy`.
174
+ * Allow the Factory zone to be obtained from the Zoneinfo data source.
175
+ * Ignore the /usr/share/zoneinfo/timeconfig symlink included in Slackware
176
+ distributions. #64.
177
+ * Fix `Timezone#strftime` handling of `%Z` expansion when `%Z` is prefixed with
178
+ more than one percent. #31.
179
+ * Support expansion of `%z`, `%:z`, `%::z` and `%:::z` to the UTC offset of the
180
+ time zone in `Timezone#strftime`. #31 and #67.
181
+
182
+
183
+ ## Version 1.2.2 - 8-Aug-2014
184
+
185
+ * Fix an error with duplicates being returned by `Timezone#all_country_zones`
186
+ and `Timezone#all_country_zone_identifiers` when used with tzinfo-data
187
+ v1.2014.6 or later.
188
+ * Use the zone1970.tab file for country timezone data if it is found in the
189
+ zoneinfo directory (and fallback to zone.tab if not). zone1970.tab was added
190
+ in tzdata 2014f. zone.tab is now deprecated.
191
+
192
+
193
+ ## Version 1.2.1 - 1-Jun-2014
194
+
195
+ * Support zoneinfo files generated with zic version 2014c and later.
196
+ * On platforms that only support positive 32-bit timestamps, ensure that
197
+ conversions are accurate from the epoch instead of just from the first
198
+ transition after the epoch.
199
+ * Minor documentation improvements.
200
+
201
+
202
+ ## Version 1.2.0 - 26-May-2014
203
+
204
+ * Raise the minimum supported Ruby version to 1.8.7.
205
+ * Support loading system zoneinfo data on FreeBSD, OpenBSD and Solaris.
206
+ Resolves #15.
207
+ * Add `canonical_identifier` and `canonical_zone` methods to `Timezone`.
208
+ Resolves #16.
209
+ * Add a link to a `DataSourceNotFound` help page in the
210
+ `TZInfo::DataSourceNotFound` exception message.
211
+ * Load iso3166.tab and zone.tab files as UTF-8.
212
+ * Fix `Timezone#local_to_utc` returning local `Time` instances on systems using
213
+ UTC as the local time zone. Resolves #13.
214
+ * Fix `==` methods raising an exception when passed an instance of a different
215
+ class by making `<=>` return `nil` if passed a non-comparable argument.
216
+ * Eliminate `require 'rational'` warnings. Resolves #10.
217
+ * Eliminate "assigned but unused variable - info" warnings. Resolves #11.
218
+ * Switch to minitest v5 for unit tests. Resolves #18.
219
+
220
+
221
+ ## Version 1.1.0 - 25-Sep-2013
222
+
223
+ * TZInfo is now thread safe. `ThreadSafe::Cache` is now used instead of `Hash`
224
+ to cache `Timezone` and `Country` instances returned by `Timezone.get` and
225
+ `Country.get`. The tzinfo gem now depends on thread_safe ~> 0.1.
226
+ * Added a `transitions_up_to` method to `Timezone` that returns a list of the
227
+ times where the UTC offset of the timezone changes.
228
+ * Added an `offsets_up_to` method to `Timezone` that returns the set of offsets
229
+ that have been observed in a defined timezone.
230
+ * Fixed a "can't modify frozen String" error when loading a `Timezone` from a
231
+ zoneinfo file using an identifier `String` that is both tainted and frozen.
232
+ Resolves #3.
233
+ * Support TZif3 format zoneinfo files (now produced by zic from tzcode version
234
+ 2013e onwards).
235
+ * Support using YARD to generate documentation (added a .yardopts file).
236
+ * Ignore the +VERSION file included in the zoneinfo directory on Mac OS X.
237
+ * Added a note to the documentation concerning 32-bit zoneinfo files (as
238
+ included with Mac OS X).
239
+
240
+
241
+ ## Version 1.0.1 - 22-Jun-2013
242
+
243
+ * Fix a test case failure when tests are run from a directory that contains a
244
+ dot in the path (issue #29751).
245
+
246
+
247
+ ## Version 1.0.0 - 2-Jun-2013
248
+
249
+ * Allow TZInfo to be used with different data sources instead of just the
250
+ built-in Ruby module data files.
251
+ * Include a data source that allows TZInfo to load data from the binary
252
+ zoneinfo files produced by zic and included with many Linux and Unix-like
253
+ distributions.
254
+ * Remove the definition and index Ruby modules from TZInfo and move them into
255
+ a separate TZInfo::Data library (available as the tzinfo-data gem).
256
+ * Default to using the TZInfo::Data library as the data source if it is
257
+ installed, otherwise use zoneinfo files instead.
258
+ * Preserve the nanoseconds of local timezone Time objects when performing
259
+ conversions (issue #29705).
260
+ * Don't add the tzinfo lib directory to the search path when requiring 'tzinfo'.
261
+ The tzinfo lib directory must now be in the search path before 'tzinfo' is
262
+ required.
263
+ * Add `utc_start_time`, `utc_end_time`, `local_start_time` and `local_end_time`
264
+ instance methods to `TimezonePeriod`. These return an identical value as the
265
+ existing `utc_start`, `utc_end`, `local_start` and `local_end` methods, but
266
+ return `Time` instances instead of `DateTime`.
267
+ * Make the `start_transition`, `end_transition` and `offset` properties of
268
+ `TimezonePeriod` protected. To access properties of the period, callers should
269
+ use other `TimezonePeriod` instance methods instead (issue #7655).
270
+
271
+
272
+ ## Version 0.3.54 (tzdata v2018d) - 25-Mar-2018
273
+
274
+ * Updated to tzdata version 2018d
275
+ (<https://mm.icann.org/pipermail/tz-announce/2018-March/000049.html>).
276
+
277
+
278
+ ## Version 0.3.53 (tzdata v2017b) - 23-Mar-2017
279
+
280
+ * Updated to tzdata version 2017b
281
+ (<https://mm.icann.org/pipermail/tz-announce/2017-March/000046.html>).
282
+
283
+
284
+ ## Version 0.3.52 (tzdata v2016h) - 28-Oct-2016
285
+
286
+ * Updated to tzdata version 2016h
287
+ (<https://mm.icann.org/pipermail/tz-announce/2016-October/000042.html>).
288
+
289
+
290
+ ## Version 0.3.51 (tzdata v2016f) - 5-Jul-2016
291
+
292
+ * Updated to tzdata version 2016f
293
+ (<https://mm.icann.org/pipermail/tz-announce/2016-July/000040.html>).
294
+
295
+
296
+ ## Version 0.3.50 (tzdata v2016e) - 14-Jun-2016
297
+
298
+ * Updated to tzdata version 2016e
299
+ (<https://mm.icann.org/pipermail/tz-announce/2016-June/000039.html>).
300
+
301
+
302
+ ## Version 0.3.49 (tzdata v2016d) - 18-Apr-2016
303
+
304
+ * Updated to tzdata version 2016d
305
+ (<https://mm.icann.org/pipermail/tz-announce/2016-April/000038.html>).
306
+
307
+
308
+ ## Version 0.3.48 (tzdata v2016c) - 23-Mar-2016
309
+
310
+ * Updated to tzdata version 2016c
311
+ (<https://mm.icann.org/pipermail/tz-announce/2016-March/000037.html>).
312
+
313
+
314
+ ## Version 0.3.47 (tzdata v2016b) - 15-Mar-2016
315
+
316
+ * Updated to tzdata version 2016b
317
+ (<https://mm.icann.org/pipermail/tz-announce/2016-March/000036.html>).
318
+
319
+
320
+ ## Version 0.3.46 (tzdata v2015g) - 2-Dec-2015
321
+
322
+ * From version 2015e, the IANA time zone database uses non-ASCII characters in
323
+ country names. Backport the encoding handling from TZInfo::Data to allow
324
+ TZInfo 0.3.x to support Ruby 1.9 (which would otherwise fail with an invalid
325
+ byte sequence error when loading the countries index). Resolves #41.
326
+
327
+
328
+ ## Version 0.3.45 (tzdata v2015g) - 3-Oct-2015
329
+
330
+ * Updated to tzdata version 2015g
331
+ (<https://mm.icann.org/pipermail/tz-announce/2015-October/000034.html>).
332
+
333
+
334
+ ## Version 0.3.44 (tzdata v2015d) - 24-Apr-2015
335
+
336
+ * Updated to tzdata version 2015d
337
+ (<https://mm.icann.org/pipermail/tz-announce/2015-April/000031.html>).
338
+
339
+
340
+ ## Version 0.3.43 (tzdata v2015a) - 31-Jan-2015
341
+
342
+ * Updated to tzdata version 2015a
343
+ (<https://mm.icann.org/pipermail/tz-announce/2015-January/000028.html>).
344
+
345
+
346
+ ## Version 0.3.42 (tzdata v2014i) - 23-Oct-2014
347
+
348
+ * Updated to tzdata version 2014i
349
+ (<https://mm.icann.org/pipermail/tz-announce/2014-October/000026.html>).
350
+
351
+
352
+ ## Version 0.3.41 (tzdata v2014f) - 8-Aug-2014
353
+
354
+ * Updated to tzdata version 2014f
355
+ (<https://mm.icann.org/pipermail/tz-announce/2014-August/000023.html>).
356
+
357
+
358
+ ## Version 0.3.40 (tzdata v2014e) - 10-Jul-2014
359
+
360
+ * Updated to tzdata version 2014e
361
+ (<https://mm.icann.org/pipermail/tz-announce/2014-June/000022.html>).
362
+
363
+
364
+ ## Version 0.3.39 (tzdata v2014a) - 9-Mar-2014
365
+
366
+ * Updated to tzdata version 2014a
367
+ (<https://mm.icann.org/pipermail/tz-announce/2014-March/000018.html>).
368
+
369
+
370
+ ## Version 0.3.38 (tzdata v2013g) - 8-Oct-2013
371
+
372
+ * Updated to tzdata version 2013g
373
+ (<https://mm.icann.org/pipermail/tz-announce/2013-October/000015.html>).
374
+
375
+
376
+ ## Version 0.3.37 (tzdata v2013b) - 11-Mar-2013
377
+
378
+ * Updated to tzdata version 2013b
379
+ (<https://mm.icann.org/pipermail/tz-announce/2013-March/000010.html>).
380
+
381
+
382
+ ## Version 0.3.36 (tzdata v2013a) - 3-Mar-2013
383
+
384
+ * Updated to tzdata version 2013a
385
+ (<https://mm.icann.org/pipermail/tz-announce/2013-March/000009.html>).
386
+ * Fix `TimezoneTransitionInfo#eql?` incorrectly returning false when running on
387
+ Ruby 2.0.
388
+ * Change `eql?` and `==` implementations to test the class of the passed in
389
+ object instead of checking individual properties with `respond_to?`.
390
+
391
+
392
+ ## Version 0.3.35 (tzdata v2012i) - 4-Nov-2012
393
+
394
+ * Updated to tzdata version 2012i
395
+ (<https://mm.icann.org/pipermail/tz-announce/2012-November/000007.html>).
396
+
397
+
398
+ ## Version 0.3.34 (tzdata v2012h) - 27-Oct-2012
399
+
400
+ * Updated to tzdata version 2012h
401
+ (<https://mm.icann.org/pipermail/tz-announce/2012-October/000006.html>).
402
+
403
+
404
+ ## Version 0.3.33 (tzdata v2012c) - 8-Apr-2012
405
+
406
+ * Updated to tzdata version 2012c
407
+ (<https://mm.icann.org/pipermail/tz/2012-April/017627.html>).
408
+
409
+
410
+ ## Version 0.3.32 (tzdata v2012b) - 4-Mar-2012
411
+
412
+ * Updated to tzdata version 2012b
413
+ (<https://mm.icann.org/pipermail/tz/2012-March/017524.html>).
414
+
415
+
416
+ ## Version 0.3.31 (tzdata v2011n) - 6-Nov-2011
417
+
418
+ * Updated to tzdata version 2011n
419
+ (<https://mm.icann.org/pipermail/tz/2011-October/017201.html>).
420
+
421
+
422
+ ## Version 0.3.30 (tzdata v2011k) - 29-Sep-2011
423
+
424
+ * Updated to tzdata version 2011k
425
+ (<https://mm.icann.org/pipermail/tz/2011-September/008889.html>).
426
+
427
+
428
+ ## Version 0.3.29 (tzdata v2011h) - 27-Jun-2011
429
+
430
+ * Updated to tzdata version 2011h
431
+ (<https://mm.icann.org/pipermail/tz/2011-June/008576.html>).
432
+ * Allow the default value of the `local_to_utc` and `period_for_local` `dst`
433
+ parameter to be specified globally with a `Timezone.default_dst` attribute.
434
+ Thanks to Kurt Werle for the suggestion and patch.
435
+
436
+
437
+ ## Version 0.3.28 (tzdata v2011g) - 13-Jun-2011
438
+
439
+ * Add support for Ruby 1.9.3 (trunk revision 31668 and later). Thanks to
440
+ Aaron Patterson for reporting the problems running on the new version.
441
+ Closes #29233.
442
+
443
+
444
+ ## Version 0.3.27 (tzdata v2011g) - 26-Apr-2011
445
+
446
+ * Updated to tzdata version 2011g
447
+ (<https://mm.icann.org/pipermail/tz/2011-April/016875.html>).
448
+
449
+
450
+ ## Version 0.3.26 (tzdata v2011e) - 2-Apr-2011
451
+
452
+ * Updated to tzdata version 2011e
453
+ (<https://mm.icann.org/pipermail/tz/2011-April/016809.html>).
454
+
455
+
456
+ ## Version 0.3.25 (tzdata v2011d) - 14-Mar-2011
457
+
458
+ * Updated to tzdata version 2011d
459
+ (<https://mm.icann.org/pipermail/tz/2011-March/016746.html>).
460
+
461
+
462
+ ## Version 0.3.24 (tzdata v2010o) - 15-Jan-2011
463
+
464
+ * Updated to tzdata version 2010o
465
+ (<https://mm.icann.org/pipermail/tz/2010-November/016517.html>).
466
+
467
+
468
+ ## Version 0.3.23 (tzdata v2010l) - 19-Aug-2010
469
+
470
+ * Updated to tzdata version 2010l
471
+ (<https://mm.icann.org/pipermail/tz/2010-August/016360.html>).
472
+
473
+
474
+ ## Version 0.3.22 (tzdata v2010j) - 29-May-2010
475
+
476
+ * Corrected file permissions issue with 0.3.21 release.
477
+
478
+
479
+ ## Version 0.3.21 (tzdata v2010j) - 28-May-2010
480
+
481
+ * Updated to tzdata version 2010j
482
+ (<https://mm.icann.org/pipermail/tz/2010-May/016211.html>).
483
+ * Change invalid timezone check to exclude characters not used in timezone
484
+ identifiers and avoid 'character class has duplicated range' warnings with
485
+ Ruby 1.9.2.
486
+ * Ruby 1.9.2 has deprecated `require 'rational'`, but older versions of
487
+ Ruby need rational to be required. Require rational only when the Rational
488
+ module has not already been loaded.
489
+ * Remove circular requires (now a warning in Ruby 1.9.2). Instead of using
490
+ requires in each file for dependencies, `tzinfo.rb` now requires all tzinfo
491
+ files. If you were previously requiring files within the tzinfo directory
492
+ (e.g. `require 'tzinfo/timezone'`), then you will now have to
493
+ `require 'tzinfo'` instead.
494
+
495
+
496
+ ## Version 0.3.20 (tzdata v2010i) - 19-Apr-2010
497
+
498
+ * Updated to tzdata version 2010i
499
+ (<https://mm.icann.org/pipermail/tz/2010-April/016184.html>).
500
+
501
+
502
+ ## Version 0.3.19 (tzdata v2010h) - 5-Apr-2010
503
+
504
+ * Updated to tzdata version 2010h
505
+ (<https://mm.icann.org/pipermail/tz/2010-April/016161.html>).
506
+
507
+
508
+ ## Version 0.3.18 (tzdata v2010g) - 29-Mar-2010
509
+
510
+ * Updated to tzdata version 2010g
511
+ (<https://mm.icann.org/pipermail/tz/2010-March/016140.html>).
512
+
513
+
514
+ ## Version 0.3.17 (tzdata v2010e) - 8-Mar-2010
515
+
516
+ * Updated to tzdata version 2010e
517
+ (<https://mm.icann.org/pipermail/tz/2010-March/016088.html>).
518
+
519
+
520
+ ## Version 0.3.16 (tzdata v2009u) - 5-Jan-2010
521
+
522
+ * Support the use of '-' to denote '0' as an offset in the tz data files.
523
+ Used for the first time in the SAVE field in tzdata v2009u.
524
+ * Updated to tzdata version 2009u
525
+ (<https://mm.icann.org/pipermail/tz/2009-December/016001.html>).
526
+
527
+
528
+ ## Version 0.3.15 (tzdata v2009p) - 26-Oct-2009
529
+
530
+ * Updated to tzdata version 2009p
531
+ (<https://mm.icann.org/pipermail/tz/2009-October/015889.html>).
532
+ * Added a description to the gem spec.
533
+ * List test files in test_files instead of files in the gem spec.
534
+
535
+
536
+ ## Version 0.3.14 (tzdata v2009l) - 19-Aug-2009
537
+
538
+ * Updated to tzdata version 2009l
539
+ (<https://mm.icann.org/pipermail/tz/2009-August/015729.html>).
540
+ * Include current directory in load path to allow running tests on
541
+ Ruby 1.9.2, which doesn't include it by default any more.
542
+
543
+
544
+ ## Version 0.3.13 (tzdata v2009f) - 15-Apr-2009
545
+
546
+ * Updated to tzdata version 2009f
547
+ (<https://mm.icann.org/pipermail/tz/2009-April/015544.html>).
548
+ * Untaint the timezone module filename after validation to allow use
549
+ with `$SAFE == 1` (e.g. under mod_ruby). Thanks to Dmitry Borodaenko for
550
+ the suggestion. Closes #25349.
551
+
552
+
553
+ ## Version 0.3.12 (tzdata v2008i) - 12-Nov-2008
554
+
555
+ * Updated to tzdata version 2008i
556
+ (<https://mm.icann.org/pipermail/tz/2008-October/015260.html>).
557
+
558
+
559
+ ## Version 0.3.11 (tzdata v2008g) - 7-Oct-2008
560
+
561
+ * Updated to tzdata version 2008g
562
+ (<https://mm.icann.org/pipermail/tz/2008-October/015139.html>).
563
+ * Support Ruby 1.9.0-5. `Rational.new!` has now been removed in Ruby 1.9.
564
+ Only use `Rational.new!` if it is available (it is preferable in Ruby 1.8
565
+ for performance reasons). Thanks to Jeremy Kemper and Pratik Naik for
566
+ reporting this. Closes #22312.
567
+ * Apply a patch from Pratik Naik to replace assert calls that have been
568
+ deprecated in the Ruby svn trunk. Closes #22308.
569
+
570
+
571
+ ## Version 0.3.10 (tzdata v2008f) - 16-Sep-2008
572
+
573
+ * Updated to tzdata version 2008f
574
+ (<https://mm.icann.org/pipermail/tz/2008-September/015090.html>).
575
+
576
+
577
+ ## Version 0.3.9 (tzdata v2008c) - 27-May-2008
578
+
579
+ * Updated to tzdata version 2008c
580
+ (<https://mm.icann.org/pipermail/tz/2008-May/014956.html>).
581
+ * Support loading timezone data in the latest trunk versions of Ruby 1.9.
582
+ `Rational.new!` is now private, so call it using `Rational.send :new!`
583
+ instead. Thanks to Jeremy Kemper and Pratik Naik for spotting this. Closes
584
+ #19184.
585
+ * Prevent warnings from being output when running Ruby with the -v or -w
586
+ command line options. Thanks to Paul McMahon for the patch. Closes #19719.
587
+
588
+
589
+ ## Version 0.3.8 (tzdata v2008b) - 24-Mar-2008
590
+
591
+ * Updated to tzdata version 2008b
592
+ (<https://mm.icann.org/pipermail/tz/2008-March/014910.html>).
593
+ * Support loading timezone data in Ruby 1.9.0. Use `DateTime.new!` if it is
594
+ available instead of `DateTime.new0` when constructing transition times.
595
+ `DateTime.new!` was added in Ruby 1.8.6. `DateTime.new0` was removed in
596
+ Ruby 1.9.0. Thanks to Joshua Peek for reporting this. Closes #17606.
597
+ * Modify some of the equality test cases to cope with the differences
598
+ between Ruby 1.8.6 and Ruby 1.9.0.
599
+
600
+
601
+ ## Version 0.3.7 (tzdata v2008a) - 10-Mar-2008
602
+
603
+ * Updated to tzdata version 2008a
604
+ (<https://mm.icann.org/pipermail/tz/2008-March/014851.html>).
605
+
606
+
607
+ ## Version 0.3.6 (tzdata v2007k) - 1-Jan-2008
608
+
609
+ * Updated to tzdata version 2007k
610
+ (<https://mm.icann.org/pipermail/tz/2007-December/014765.html>).
611
+ * Removed deprecated RubyGems autorequire option.
612
+
613
+
614
+ ## Version 0.3.5 (tzdata v2007h) - 1-Oct-2007
615
+
616
+ * Updated to tzdata version 2007h
617
+ (<https://mm.icann.org/pipermail/tz/2007-October/014585.html>).
618
+
619
+
620
+ ## Version 0.3.4 (tzdata v2007g) - 21-Aug-2007
621
+
622
+ * Updated to tzdata version 2007g
623
+ (<https://mm.icann.org/pipermail/tz/2007-August/014499.html>).
624
+
625
+
626
+ ## Version 0.3.3 (tzdata v2006p) - 27-Nov-2006
627
+
628
+ * Updated to tzdata version 2006p
629
+ (<https://mm.icann.org/pipermail/tz/2006-November/013999.html>).
630
+
631
+
632
+ ## Version 0.3.2 (tzdata v2006n) - 11-Oct-2006
633
+
634
+ * Updated to tzdata version 2006n
635
+ (<https://mm.icann.org/pipermail/tz/2006-October/013911.html>). Note that this
636
+ release of tzdata removes the country Serbia and Montenegro (CS) and replaces
637
+ it with separate Serbia (RS) and Montenegro (ME) entries.
638
+
639
+
640
+ ## Version 0.3.1 (tzdata v2006j) - 21-Aug-2006
641
+
642
+ * Remove colon from case statements to avoid warning in Ruby 1.8.5. #5198.
643
+ * Use temporary variable to avoid dynamic string warning from rdoc.
644
+ * Updated to tzdata version 2006j
645
+ (<https://mm.icann.org/pipermail/tz/2006-August/013767.html>).
646
+
647
+
648
+ ## Version 0.3.0 (tzdata v2006g) - 17-Jul-2006
649
+
650
+ * New timezone data format. Timezone data now occupies less space on disk and
651
+ takes less memory once loaded. #4142, #4144.
652
+ * Timezone data is defined in modules rather than classes. `Timezone` instances
653
+ returned by `Timezone.get` are no longer instances of data classes, but are
654
+ instead instances of new `DataTimezone` and `LinkedTimezone` classes.
655
+ * `Timezone` instances can now be used with `Marshal.dump` and `Marshal.load`.
656
+ #4240.
657
+ * Added a `Timezone.get_proxy` method that returns a `TimezoneProxy` object for
658
+ a given identifier.
659
+ * Country index data is now defined in a single module that is independent
660
+ of the `Country` class implementation.
661
+ * `Country` instances can now be used with `Marshal.dump` and `Marshal.load`.
662
+ #4240.
663
+ * `Country` has a new `zone_info` method that returns `CountryTimezone` objects
664
+ containing additional information (latitude, longitude and a description)
665
+ relating to each `Timezone`. #4140.
666
+ * Time zones within a `Country` are now returned in an order that makes
667
+ geographic sense.
668
+ * The zdumptest utility now checks local to utc conversions in addition to
669
+ utc to local conversions.
670
+ * `eql?` method defined on `Country` and `Timezone` that is equivalent to `==`.
671
+ * The `==` method of `Timezone` no longer raises an exception when passed an
672
+ object with no identifier method.
673
+ * The `==` method of `Country` no longer raises an exception when passed an
674
+ object with no code method.
675
+ * `hash` method defined on `Country` that returns the hash of the code.
676
+ * `hash` method defined on `Timezone` that returns the hash of the identifier.
677
+ * Miscellaneous API documentation corrections and improvements.
678
+ * Timezone definition and indexes are now excluded from rdoc (the contents were
679
+ previously ignored with `#:nodoc:` anyway).
680
+ * Removed no longer needed `#:nodoc:` directives from timezone data files (which
681
+ are now excluded from the rdoc build).
682
+ * Installation of the gem now causes rdoc API documentation to be generated.
683
+ #4905.
684
+ * When optimizing transitions to generate zone definitions, check the
685
+ UTC and standard offsets separately rather than just the total offset to UTC.
686
+ Fixes an incorrect abbreviation issue with Europe/London, Europe/Dublin and
687
+ Pacific/Auckland.
688
+ * Eliminated unnecessary `.nil?` calls to give a minor performance gain.
689
+ * `Timezone.all` and `Timezone.all_identifiers` now return all the
690
+ `Timezone` instances/identifiers rather than just those associated with
691
+ countries. #4146.
692
+ * Added `all_data_zones`, `all_data_zone_identifiers`, `all_linked_zones` and
693
+ `all_linked_zone_identifiers` class methods to `Timezone`.
694
+ * Added a `strftime` method to `Timezone` that converts a time in UTC to local
695
+ time and then returns it formatted. `%Z` is replaced with the timezone
696
+ abbreviation for the given time (for example, EST or EDT). #4143.
697
+ * Fix escaping of quotes in `TZDataParser`. This affected country names and
698
+ descriptions of time zones within countries.
699
+
700
+
701
+ ## Version 0.2.2 (tzdata v2006g) - 17-May-2006
702
+
703
+ * Use class-scoped instance variables to store the Timezone identifier and
704
+ singleton instance. Loading a linked zone no longer causes the parent
705
+ zone's identifier to be changed. The instance method of a linked zone class
706
+ also now returns an instance of the linked zone class rather than the parent
707
+ class. #4502.
708
+ * The zdumptest utility now compares the TZInfo zone identifier with the zdump
709
+ zone identifier.
710
+ * The zdumptestall utility now exits if not supplied with enough parameters.
711
+ * Updated to tzdata version 2006g
712
+ (<https://mm.icann.org/pipermail/tz/2006-May/013590.html>).
713
+
714
+
715
+ ## Version 0.2.1 (tzdata v2006d) - 17-Apr-2006
716
+
717
+ * Fix a performance issue caused in 0.2.0 with `Timezone.local_to_utc`.
718
+ Conversions performed on `TimeOrDateTime` instances passed to `<=>` are now
719
+ cached as originally intended. Thanks to Michael Smedberg for spotting this.
720
+ * Fix a performance issue with the `local_to_utc` period search algorithm
721
+ originally implemented in 0.1.0. The condition that was supposed to cause
722
+ the search to terminate when enough periods had been found was only being
723
+ evaluated in a small subset of cases. Thanks to Michael Smedberg and
724
+ Jamis Buck for reporting this.
725
+ * Added abbreviation as an alias for `TimezonePeriod.zone_identifier`.
726
+ * Updated to tzdata version 2006d
727
+ (<https://mm.icann.org/pipermail/tz/2006-April/013517.html>).
728
+ * Ignore any offset in `DateTime` instances passed in (as is already done for
729
+ `Time` instances). All of the following now refer to the same UTC time (15:40 on 17 April 2006). Previously, the `DateTime` in the second line would have been interpreted as 20:40.
730
+
731
+ ```ruby
732
+ tz.utc_to_local(DateTime.new(2006, 4, 17, 15, 40, 0))
733
+ tz.utc_to_local(DateTime.new(2006, 4, 17, 15, 40, 0).new_offset(Rational(5, 24)))
734
+ tz.utc_to_local(Time.utc(2006, 4, 17, 15, 40, 0))
735
+ tz.utc_to_local(Time.local(2006, 4, 17, 15, 40, 0))
736
+ ```
737
+
738
+
739
+ ## Version 0.2.0 (tzdata v2006c) - 3-Apr-2006
740
+
741
+ * Use timestamps rather than `DateTime` objects in zone files for times between
742
+ 1970 and 2037 (the range of `Time`).
743
+ * Don't convert passed in `Time` objects to `DateTime` in most cases (provides
744
+ a substantial performance improvement).
745
+ * Allow integer timestamps (time in seconds since 1970-1-1) to be used as well
746
+ as `Time` and `DateTime` objects in all public methods that take times as
747
+ parameters.
748
+ * Tool to compare TZInfo conversions with output from zdump.
749
+ * `TZDataParser` zone generation algorithm rewritten. Now based on the zic code.
750
+ TZInfo is now 100% compatible with zic/zdump output.
751
+ * Riyadh Solar Time zones now included again (generation time has been reduced
752
+ with `TZDataParser` changes).
753
+ * Use binary mode when writing zone and country files to get Unix (\n) new
754
+ lines.
755
+ * Omit unnecessary quotes in zone identifier symbols.
756
+ * Omit the final transition to DST if there is a prior transition in the last
757
+ year processed to standard time.
758
+ * Updated to tzdata version 2006c
759
+ (<https://mm.icann.org/pipermail/tz/2006-April/013500.html>).
760
+
761
+
762
+ ## Version 0.1.2 (tzdata v2006a) - 5-Feb-2006
763
+
764
+ * Add lib directory to the load path when tzinfo is required. Makes it easier
765
+ to use tzinfo gem when unpacked to vendor directory in rails.
766
+ * Updated to tzdata version 2006a
767
+ (<https://mm.icann.org/pipermail/tz/2006-January/013311.html>).
768
+ * `build_tz_classes` rake task now handles running svn add and svn delete as new
769
+ time zones and countries are added and old ones are removed.
770
+ * Return a better error when attempting to use a `Timezone` instance that was
771
+ constructed with `Timezone.new(nil)`. This will occur when using Rails'
772
+ `composed_of`. When the timezone identifier in the database is null,
773
+ attempting to use the `Timezone` will now result in an `UnknownTimezone`
774
+ exception rather than a `NameError`.
775
+
776
+
777
+ ## Version 0.1.1 (tzdata v2005q) - 18-Dec-2005
778
+
779
+ * Time zones that are defined by a single unbounded period (e.g. UTC) now
780
+ work again.
781
+ * Updated to tzdata version 2005q.
782
+
783
+
784
+ ## Version 0.1.0 (tzdata v2005n) - 27-Nov-2005
785
+
786
+ * `period_for_local` and `local_to_utc` now allow resolution of ambiguous
787
+ times (e.g. when switching from daylight savings to standard time).
788
+ The behaviour of these methods when faced with an ambiguous local time
789
+ has now changed. If you are using these methods you should check
790
+ the documentation. Thanks to Cliff Matthews for suggesting this change.
791
+ * Added `require 'date'` to `timezone.rb` (date isn't loaded by default in all
792
+ environments).
793
+ * Use rake to build packages and documentation.
794
+ * License file is now included in gem distribution.
795
+ * Dates in definitions stored as Astronomical Julian Day numbers rather than
796
+ as civil dates (improves performance creating `DateTime` instances).
797
+ * Added options to `TZDataParser` to allow generation of specific zones and
798
+ countries.
799
+ * Moved `TimezonePeriod` class to `timezone_period.rb`.
800
+ * New `TimezonePeriodList` class to store `TimezonePeriod` instances for a
801
+ timezone and perform searches for periods.
802
+ * Time zones are now defined using blocks. `TimezonePeriod` instances are only
803
+ created when they are needed. Thanks to Jamis Buck for the suggestion.
804
+ * Add options to `TZDataParser` to allow exclusion of specific zones and
805
+ countries.
806
+ * Exclude the Riyadh Solar Time zones. The rules are only for 1987 to 1989 and
807
+ take a long time to generate and process. Riyadh Solar Time is no longer
808
+ observed.
809
+ * The last `TimezonePeriod` for each `Timezone` is now written out with an
810
+ unbounded rather than arbitrary end time.
811
+ * Construct the `Rational` offset in `TimezonePeriod` once when the
812
+ `TimezonePeriod` is constructed rather than each time it is needed.
813
+ * `Timezone` and `Country` now keep a cache of loaded instances to avoid running
814
+ `require` which can be slow on some platforms.
815
+ * Updated to tzdata version 2005n.
816
+
817
+
818
+ ## Version 0.0.4 (tzdata v2005m) - 18-Sep-2005
819
+
820
+ * Removed debug output accidentally included in the previous release.
821
+ * Fixed a bug in the generation of friendly zone identifiers (was inserting
822
+ apostrophes into UTC, GMT, etc).
823
+ * Fixed `Country` `<=>` operator (was comparing non-existent attribute)
824
+ * Fixed `Timezone.period_for_local` error when period not found.
825
+ * Added test cases for `Timezone`, `TimezoneProxy`, `TimezonePeriod`, `Country`
826
+ and some selected time zones.
827
+
828
+
829
+ ## Version 0.0.3 (tzdata v2005m) - 17-Sep-2005
830
+
831
+ * Reduced visibility of some methods added in `Timezone#setup` and
832
+ `Country#setup`.
833
+ * Added `name` method to `Timezone` (returns the identifier).
834
+ * Added `friendly_identifier` method to `Timezone`. Returns a more friendly
835
+ version of the identifier.
836
+ * Added `to_s` method to `Timezone`. Returns the friendly identifier.
837
+ * Added `==` and `<=>` operators to `Timezone` (compares identifiers).
838
+ * `Timezone` now includes `Comparable`.
839
+ * Added `to_s` method to `Country`.
840
+ * Added `==` and `<=>` operators to `Country` (compares ISO 3166 country codes).
841
+ * `Country` now includes `Comparable`.
842
+ * New `TimezoneProxy` class that behaves the same as a `Timezone` but doesn't
843
+ actually load in its definition until it is actually required.
844
+ * Modified `Timezone` and `Country` methods that return `Timezone` instances to
845
+ return `TimezoneProxy` instances instead. This makes these methods much
846
+ quicker.
847
+
848
+ In Ruby on Rails, you can now show a drop-down list of all time zones using the
849
+ Rails `time_zone_select` helper method:
850
+
851
+ ```ruby
852
+ <%= time_zone_select 'user', 'time_zone', TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %>
853
+ ```
854
+
855
+
856
+ ## Version 0.0.2 (tzdata v2005m) - 13-Sep-2005
857
+
858
+ * `Country` and `Timezone` data is now loaded into class rather than instance
859
+ variables. This makes `Timezone` links more efficient and saves memory if
860
+ creating specific `Timezone` and `Country` classes directly.
861
+ * `TimezonePeriod` `zone_identifier` is now defined as a symbol to save memory
862
+ (was previously a string).
863
+ * `TimezonePeriod` `zone_identifier`s that were previously `''` are now
864
+ `:Unknown`.
865
+ * `Timezone` and `Country` instances can now be returned using
866
+ `Timezone.new(identifier)` and `Country.new(identifier)`. When passed an
867
+ identifier, the `new` method calls `get` to return an instance of the
868
+ specified timezone or country.
869
+ * Added new class methods to `Timezone` to return sets of zones and identifiers.
870
+
871
+ Thanks to Scott Barron of Lunchbox Software for the suggestions in his
872
+ article about using TZInfo with Rails
873
+ (<https://web.archive.org/web/20060425190845/http://lunchroom.lunchboxsoftware.com/pages/tzinfo_rails>)
874
+
875
+
876
+ ## Version 0.0.1 (tzdata v2005m) - 29-Aug-2005
877
+
878
+ * First release.