tzinfo 0.0.1 → 0.0.2

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 (798) hide show
  1. data/README +2 -2
  2. data/lib/tzinfo/countries/AD.rb +5 -11
  3. data/lib/tzinfo/countries/AE.rb +5 -11
  4. data/lib/tzinfo/countries/AF.rb +5 -11
  5. data/lib/tzinfo/countries/AG.rb +5 -11
  6. data/lib/tzinfo/countries/AI.rb +5 -11
  7. data/lib/tzinfo/countries/AL.rb +5 -11
  8. data/lib/tzinfo/countries/AM.rb +5 -11
  9. data/lib/tzinfo/countries/AN.rb +5 -11
  10. data/lib/tzinfo/countries/AO.rb +5 -11
  11. data/lib/tzinfo/countries/AQ.rb +14 -20
  12. data/lib/tzinfo/countries/AR.rb +14 -20
  13. data/lib/tzinfo/countries/AS.rb +5 -11
  14. data/lib/tzinfo/countries/AT.rb +5 -11
  15. data/lib/tzinfo/countries/AU.rb +15 -21
  16. data/lib/tzinfo/countries/AW.rb +5 -11
  17. data/lib/tzinfo/countries/AX.rb +5 -11
  18. data/lib/tzinfo/countries/AZ.rb +5 -11
  19. data/lib/tzinfo/countries/BA.rb +5 -11
  20. data/lib/tzinfo/countries/BB.rb +5 -11
  21. data/lib/tzinfo/countries/BD.rb +5 -11
  22. data/lib/tzinfo/countries/BE.rb +5 -11
  23. data/lib/tzinfo/countries/BF.rb +5 -11
  24. data/lib/tzinfo/countries/BG.rb +5 -11
  25. data/lib/tzinfo/countries/BH.rb +5 -11
  26. data/lib/tzinfo/countries/BI.rb +5 -11
  27. data/lib/tzinfo/countries/BJ.rb +5 -11
  28. data/lib/tzinfo/countries/BM.rb +5 -11
  29. data/lib/tzinfo/countries/BN.rb +5 -11
  30. data/lib/tzinfo/countries/BO.rb +5 -11
  31. data/lib/tzinfo/countries/BR.rb +19 -25
  32. data/lib/tzinfo/countries/BS.rb +5 -11
  33. data/lib/tzinfo/countries/BT.rb +5 -11
  34. data/lib/tzinfo/countries/BV.rb +4 -10
  35. data/lib/tzinfo/countries/BW.rb +5 -11
  36. data/lib/tzinfo/countries/BY.rb +5 -11
  37. data/lib/tzinfo/countries/BZ.rb +5 -11
  38. data/lib/tzinfo/countries/CA.rb +28 -34
  39. data/lib/tzinfo/countries/CC.rb +5 -11
  40. data/lib/tzinfo/countries/CD.rb +6 -12
  41. data/lib/tzinfo/countries/CF.rb +5 -11
  42. data/lib/tzinfo/countries/CG.rb +5 -11
  43. data/lib/tzinfo/countries/CH.rb +5 -11
  44. data/lib/tzinfo/countries/CI.rb +5 -11
  45. data/lib/tzinfo/countries/CK.rb +5 -11
  46. data/lib/tzinfo/countries/CL.rb +6 -12
  47. data/lib/tzinfo/countries/CM.rb +5 -11
  48. data/lib/tzinfo/countries/CN.rb +9 -15
  49. data/lib/tzinfo/countries/CO.rb +5 -11
  50. data/lib/tzinfo/countries/CR.rb +5 -11
  51. data/lib/tzinfo/countries/CS.rb +5 -11
  52. data/lib/tzinfo/countries/CU.rb +5 -11
  53. data/lib/tzinfo/countries/CV.rb +5 -11
  54. data/lib/tzinfo/countries/CX.rb +5 -11
  55. data/lib/tzinfo/countries/CY.rb +5 -11
  56. data/lib/tzinfo/countries/CZ.rb +5 -11
  57. data/lib/tzinfo/countries/DE.rb +5 -11
  58. data/lib/tzinfo/countries/DJ.rb +5 -11
  59. data/lib/tzinfo/countries/DK.rb +5 -11
  60. data/lib/tzinfo/countries/DM.rb +5 -11
  61. data/lib/tzinfo/countries/DO.rb +5 -11
  62. data/lib/tzinfo/countries/DZ.rb +5 -11
  63. data/lib/tzinfo/countries/EC.rb +6 -12
  64. data/lib/tzinfo/countries/EE.rb +5 -11
  65. data/lib/tzinfo/countries/EG.rb +5 -11
  66. data/lib/tzinfo/countries/EH.rb +5 -11
  67. data/lib/tzinfo/countries/ER.rb +5 -11
  68. data/lib/tzinfo/countries/ES.rb +7 -13
  69. data/lib/tzinfo/countries/ET.rb +5 -11
  70. data/lib/tzinfo/countries/FI.rb +5 -11
  71. data/lib/tzinfo/countries/FJ.rb +5 -11
  72. data/lib/tzinfo/countries/FK.rb +5 -11
  73. data/lib/tzinfo/countries/FM.rb +7 -13
  74. data/lib/tzinfo/countries/FO.rb +5 -11
  75. data/lib/tzinfo/countries/FR.rb +5 -11
  76. data/lib/tzinfo/countries/GA.rb +5 -11
  77. data/lib/tzinfo/countries/GB.rb +5 -11
  78. data/lib/tzinfo/countries/GD.rb +5 -11
  79. data/lib/tzinfo/countries/GE.rb +5 -11
  80. data/lib/tzinfo/countries/GF.rb +5 -11
  81. data/lib/tzinfo/countries/GH.rb +5 -11
  82. data/lib/tzinfo/countries/GI.rb +5 -11
  83. data/lib/tzinfo/countries/GL.rb +8 -14
  84. data/lib/tzinfo/countries/GM.rb +5 -11
  85. data/lib/tzinfo/countries/GN.rb +5 -11
  86. data/lib/tzinfo/countries/GP.rb +5 -11
  87. data/lib/tzinfo/countries/GQ.rb +5 -11
  88. data/lib/tzinfo/countries/GR.rb +5 -11
  89. data/lib/tzinfo/countries/GS.rb +5 -11
  90. data/lib/tzinfo/countries/GT.rb +5 -11
  91. data/lib/tzinfo/countries/GU.rb +5 -11
  92. data/lib/tzinfo/countries/GW.rb +5 -11
  93. data/lib/tzinfo/countries/GY.rb +5 -11
  94. data/lib/tzinfo/countries/HK.rb +5 -11
  95. data/lib/tzinfo/countries/HM.rb +4 -10
  96. data/lib/tzinfo/countries/HN.rb +5 -11
  97. data/lib/tzinfo/countries/HR.rb +5 -11
  98. data/lib/tzinfo/countries/HT.rb +5 -11
  99. data/lib/tzinfo/countries/HU.rb +5 -11
  100. data/lib/tzinfo/countries/ID.rb +8 -14
  101. data/lib/tzinfo/countries/IE.rb +5 -11
  102. data/lib/tzinfo/countries/IL.rb +5 -11
  103. data/lib/tzinfo/countries/IN.rb +5 -11
  104. data/lib/tzinfo/countries/IO.rb +5 -11
  105. data/lib/tzinfo/countries/IQ.rb +5 -11
  106. data/lib/tzinfo/countries/IR.rb +5 -11
  107. data/lib/tzinfo/countries/IS.rb +5 -11
  108. data/lib/tzinfo/countries/IT.rb +5 -11
  109. data/lib/tzinfo/countries/JM.rb +5 -11
  110. data/lib/tzinfo/countries/JO.rb +5 -11
  111. data/lib/tzinfo/countries/JP.rb +5 -11
  112. data/lib/tzinfo/countries/KE.rb +5 -11
  113. data/lib/tzinfo/countries/KG.rb +5 -11
  114. data/lib/tzinfo/countries/KH.rb +5 -11
  115. data/lib/tzinfo/countries/KI.rb +7 -13
  116. data/lib/tzinfo/countries/KM.rb +5 -11
  117. data/lib/tzinfo/countries/KN.rb +5 -11
  118. data/lib/tzinfo/countries/KP.rb +5 -11
  119. data/lib/tzinfo/countries/KR.rb +5 -11
  120. data/lib/tzinfo/countries/KW.rb +5 -11
  121. data/lib/tzinfo/countries/KY.rb +5 -11
  122. data/lib/tzinfo/countries/KZ.rb +9 -15
  123. data/lib/tzinfo/countries/LA.rb +5 -11
  124. data/lib/tzinfo/countries/LB.rb +5 -11
  125. data/lib/tzinfo/countries/LC.rb +5 -11
  126. data/lib/tzinfo/countries/LI.rb +5 -11
  127. data/lib/tzinfo/countries/LK.rb +5 -11
  128. data/lib/tzinfo/countries/LR.rb +5 -11
  129. data/lib/tzinfo/countries/LS.rb +5 -11
  130. data/lib/tzinfo/countries/LT.rb +5 -11
  131. data/lib/tzinfo/countries/LU.rb +5 -11
  132. data/lib/tzinfo/countries/LV.rb +5 -11
  133. data/lib/tzinfo/countries/LY.rb +5 -11
  134. data/lib/tzinfo/countries/MA.rb +5 -11
  135. data/lib/tzinfo/countries/MC.rb +5 -11
  136. data/lib/tzinfo/countries/MD.rb +5 -11
  137. data/lib/tzinfo/countries/MG.rb +5 -11
  138. data/lib/tzinfo/countries/MH.rb +6 -12
  139. data/lib/tzinfo/countries/MK.rb +5 -11
  140. data/lib/tzinfo/countries/ML.rb +5 -11
  141. data/lib/tzinfo/countries/MM.rb +5 -11
  142. data/lib/tzinfo/countries/MN.rb +7 -13
  143. data/lib/tzinfo/countries/MO.rb +5 -11
  144. data/lib/tzinfo/countries/MP.rb +5 -11
  145. data/lib/tzinfo/countries/MQ.rb +5 -11
  146. data/lib/tzinfo/countries/MR.rb +5 -11
  147. data/lib/tzinfo/countries/MS.rb +5 -11
  148. data/lib/tzinfo/countries/MT.rb +5 -11
  149. data/lib/tzinfo/countries/MU.rb +5 -11
  150. data/lib/tzinfo/countries/MV.rb +5 -11
  151. data/lib/tzinfo/countries/MW.rb +5 -11
  152. data/lib/tzinfo/countries/MX.rb +12 -18
  153. data/lib/tzinfo/countries/MY.rb +6 -12
  154. data/lib/tzinfo/countries/MZ.rb +5 -11
  155. data/lib/tzinfo/countries/NA.rb +5 -11
  156. data/lib/tzinfo/countries/NC.rb +5 -11
  157. data/lib/tzinfo/countries/NE.rb +5 -11
  158. data/lib/tzinfo/countries/NF.rb +5 -11
  159. data/lib/tzinfo/countries/NG.rb +5 -11
  160. data/lib/tzinfo/countries/NI.rb +5 -11
  161. data/lib/tzinfo/countries/NL.rb +5 -11
  162. data/lib/tzinfo/countries/NO.rb +5 -11
  163. data/lib/tzinfo/countries/NP.rb +5 -11
  164. data/lib/tzinfo/countries/NR.rb +5 -11
  165. data/lib/tzinfo/countries/NU.rb +5 -11
  166. data/lib/tzinfo/countries/NZ.rb +6 -12
  167. data/lib/tzinfo/countries/OM.rb +5 -11
  168. data/lib/tzinfo/countries/PA.rb +5 -11
  169. data/lib/tzinfo/countries/PE.rb +5 -11
  170. data/lib/tzinfo/countries/PF.rb +7 -13
  171. data/lib/tzinfo/countries/PG.rb +5 -11
  172. data/lib/tzinfo/countries/PH.rb +5 -11
  173. data/lib/tzinfo/countries/PK.rb +5 -11
  174. data/lib/tzinfo/countries/PL.rb +5 -11
  175. data/lib/tzinfo/countries/PM.rb +5 -11
  176. data/lib/tzinfo/countries/PN.rb +5 -11
  177. data/lib/tzinfo/countries/PR.rb +5 -11
  178. data/lib/tzinfo/countries/PS.rb +5 -11
  179. data/lib/tzinfo/countries/PT.rb +7 -13
  180. data/lib/tzinfo/countries/PW.rb +5 -11
  181. data/lib/tzinfo/countries/PY.rb +5 -11
  182. data/lib/tzinfo/countries/QA.rb +5 -11
  183. data/lib/tzinfo/countries/RE.rb +5 -11
  184. data/lib/tzinfo/countries/RO.rb +5 -11
  185. data/lib/tzinfo/countries/RU.rb +18 -24
  186. data/lib/tzinfo/countries/RW.rb +5 -11
  187. data/lib/tzinfo/countries/SA.rb +5 -11
  188. data/lib/tzinfo/countries/SB.rb +5 -11
  189. data/lib/tzinfo/countries/SC.rb +5 -11
  190. data/lib/tzinfo/countries/SD.rb +5 -11
  191. data/lib/tzinfo/countries/SE.rb +5 -11
  192. data/lib/tzinfo/countries/SG.rb +5 -11
  193. data/lib/tzinfo/countries/SH.rb +5 -11
  194. data/lib/tzinfo/countries/SI.rb +5 -11
  195. data/lib/tzinfo/countries/SJ.rb +6 -12
  196. data/lib/tzinfo/countries/SK.rb +5 -11
  197. data/lib/tzinfo/countries/SL.rb +5 -11
  198. data/lib/tzinfo/countries/SM.rb +5 -11
  199. data/lib/tzinfo/countries/SN.rb +5 -11
  200. data/lib/tzinfo/countries/SO.rb +5 -11
  201. data/lib/tzinfo/countries/SR.rb +5 -11
  202. data/lib/tzinfo/countries/ST.rb +5 -11
  203. data/lib/tzinfo/countries/SV.rb +5 -11
  204. data/lib/tzinfo/countries/SY.rb +5 -11
  205. data/lib/tzinfo/countries/SZ.rb +5 -11
  206. data/lib/tzinfo/countries/TC.rb +5 -11
  207. data/lib/tzinfo/countries/TD.rb +5 -11
  208. data/lib/tzinfo/countries/TF.rb +5 -11
  209. data/lib/tzinfo/countries/TG.rb +5 -11
  210. data/lib/tzinfo/countries/TH.rb +5 -11
  211. data/lib/tzinfo/countries/TJ.rb +5 -11
  212. data/lib/tzinfo/countries/TK.rb +5 -11
  213. data/lib/tzinfo/countries/TL.rb +5 -11
  214. data/lib/tzinfo/countries/TM.rb +5 -11
  215. data/lib/tzinfo/countries/TN.rb +5 -11
  216. data/lib/tzinfo/countries/TO.rb +5 -11
  217. data/lib/tzinfo/countries/TR.rb +5 -11
  218. data/lib/tzinfo/countries/TT.rb +5 -11
  219. data/lib/tzinfo/countries/TV.rb +5 -11
  220. data/lib/tzinfo/countries/TW.rb +5 -11
  221. data/lib/tzinfo/countries/TZ.rb +5 -11
  222. data/lib/tzinfo/countries/UA.rb +8 -14
  223. data/lib/tzinfo/countries/UG.rb +5 -11
  224. data/lib/tzinfo/countries/UM.rb +7 -13
  225. data/lib/tzinfo/countries/US.rb +26 -32
  226. data/lib/tzinfo/countries/UY.rb +5 -11
  227. data/lib/tzinfo/countries/UZ.rb +6 -12
  228. data/lib/tzinfo/countries/VA.rb +5 -11
  229. data/lib/tzinfo/countries/VC.rb +5 -11
  230. data/lib/tzinfo/countries/VE.rb +5 -11
  231. data/lib/tzinfo/countries/VG.rb +5 -11
  232. data/lib/tzinfo/countries/VI.rb +5 -11
  233. data/lib/tzinfo/countries/VN.rb +5 -11
  234. data/lib/tzinfo/countries/VU.rb +5 -11
  235. data/lib/tzinfo/countries/WF.rb +5 -11
  236. data/lib/tzinfo/countries/WS.rb +5 -11
  237. data/lib/tzinfo/countries/YE.rb +5 -11
  238. data/lib/tzinfo/countries/YT.rb +5 -11
  239. data/lib/tzinfo/countries/ZA.rb +5 -11
  240. data/lib/tzinfo/countries/ZM.rb +5 -11
  241. data/lib/tzinfo/countries/ZW.rb +5 -11
  242. data/lib/tzinfo/country.rb +55 -25
  243. data/lib/tzinfo/definitions/Africa/Abidjan.rb +3 -9
  244. data/lib/tzinfo/definitions/Africa/Accra.rb +17 -23
  245. data/lib/tzinfo/definitions/Africa/Addis_Ababa.rb +4 -10
  246. data/lib/tzinfo/definitions/Africa/Algiers.rb +36 -42
  247. data/lib/tzinfo/definitions/Africa/Asmera.rb +5 -11
  248. data/lib/tzinfo/definitions/Africa/Bamako.rb +5 -11
  249. data/lib/tzinfo/definitions/Africa/Bangui.rb +3 -9
  250. data/lib/tzinfo/definitions/Africa/Banjul.rb +5 -11
  251. data/lib/tzinfo/definitions/Africa/Bissau.rb +4 -10
  252. data/lib/tzinfo/definitions/Africa/Blantyre.rb +3 -9
  253. data/lib/tzinfo/definitions/Africa/Brazzaville.rb +3 -9
  254. data/lib/tzinfo/definitions/Africa/Bujumbura.rb +3 -9
  255. data/lib/tzinfo/definitions/Africa/Cairo.rb +192 -198
  256. data/lib/tzinfo/definitions/Africa/Casablanca.rb +21 -27
  257. data/lib/tzinfo/definitions/Africa/Ceuta.rb +146 -152
  258. data/lib/tzinfo/definitions/Africa/Conakry.rb +5 -11
  259. data/lib/tzinfo/definitions/Africa/Dakar.rb +4 -10
  260. data/lib/tzinfo/definitions/Africa/Dar_es_Salaam.rb +5 -11
  261. data/lib/tzinfo/definitions/Africa/Djibouti.rb +3 -9
  262. data/lib/tzinfo/definitions/Africa/Douala.rb +3 -9
  263. data/lib/tzinfo/definitions/Africa/El_Aaiun.rb +4 -10
  264. data/lib/tzinfo/definitions/Africa/Freetown.rb +33 -39
  265. data/lib/tzinfo/definitions/Africa/Gaborone.rb +5 -11
  266. data/lib/tzinfo/definitions/Africa/Harare.rb +3 -9
  267. data/lib/tzinfo/definitions/Africa/Johannesburg.rb +8 -14
  268. data/lib/tzinfo/definitions/Africa/Kampala.rb +6 -12
  269. data/lib/tzinfo/definitions/Africa/Khartoum.rb +36 -42
  270. data/lib/tzinfo/definitions/Africa/Kigali.rb +3 -9
  271. data/lib/tzinfo/definitions/Africa/Kinshasa.rb +3 -9
  272. data/lib/tzinfo/definitions/Africa/Lagos.rb +3 -9
  273. data/lib/tzinfo/definitions/Africa/Libreville.rb +3 -9
  274. data/lib/tzinfo/definitions/Africa/Lome.rb +3 -9
  275. data/lib/tzinfo/definitions/Africa/Luanda.rb +4 -10
  276. data/lib/tzinfo/definitions/Africa/Lubumbashi.rb +3 -9
  277. data/lib/tzinfo/definitions/Africa/Lusaka.rb +3 -9
  278. data/lib/tzinfo/definitions/Africa/Malabo.rb +4 -10
  279. data/lib/tzinfo/definitions/Africa/Maputo.rb +3 -9
  280. data/lib/tzinfo/definitions/Africa/Maseru.rb +5 -11
  281. data/lib/tzinfo/definitions/Africa/Mbabane.rb +3 -9
  282. data/lib/tzinfo/definitions/Africa/Mogadishu.rb +5 -11
  283. data/lib/tzinfo/definitions/Africa/Monrovia.rb +5 -11
  284. data/lib/tzinfo/definitions/Africa/Nairobi.rb +6 -12
  285. data/lib/tzinfo/definitions/Africa/Ndjamena.rb +5 -11
  286. data/lib/tzinfo/definitions/Africa/Niamey.rb +5 -11
  287. data/lib/tzinfo/definitions/Africa/Nouakchott.rb +5 -11
  288. data/lib/tzinfo/definitions/Africa/Ouagadougou.rb +3 -9
  289. data/lib/tzinfo/definitions/Africa/Porto__m__Novo.rb +4 -10
  290. data/lib/tzinfo/definitions/Africa/Sao_Tome.rb +4 -10
  291. data/lib/tzinfo/definitions/Africa/Timbuktu.rb +1 -4
  292. data/lib/tzinfo/definitions/Africa/Tripoli.rb +31 -37
  293. data/lib/tzinfo/definitions/Africa/Tunis.rb +30 -36
  294. data/lib/tzinfo/definitions/Africa/Windhoek.rb +111 -116
  295. data/lib/tzinfo/definitions/America/Adak.rb +164 -170
  296. data/lib/tzinfo/definitions/America/Anchorage.rb +164 -170
  297. data/lib/tzinfo/definitions/America/Anguilla.rb +3 -9
  298. data/lib/tzinfo/definitions/America/Antigua.rb +4 -10
  299. data/lib/tzinfo/definitions/America/Araguaina.rb +54 -60
  300. data/lib/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +59 -65
  301. data/lib/tzinfo/definitions/America/Argentina/Catamarca.rb +61 -67
  302. data/lib/tzinfo/definitions/America/Argentina/ComodRivadavia.rb +1 -4
  303. data/lib/tzinfo/definitions/America/Argentina/Cordoba.rb +59 -65
  304. data/lib/tzinfo/definitions/America/Argentina/Jujuy.rb +60 -66
  305. data/lib/tzinfo/definitions/America/Argentina/La_Rioja.rb +62 -68
  306. data/lib/tzinfo/definitions/America/Argentina/Mendoza.rb +61 -67
  307. data/lib/tzinfo/definitions/America/Argentina/Rio_Gallegos.rb +61 -67
  308. data/lib/tzinfo/definitions/America/Argentina/San_Juan.rb +62 -68
  309. data/lib/tzinfo/definitions/America/Argentina/Tucuman.rb +61 -67
  310. data/lib/tzinfo/definitions/America/Argentina/Ushuaia.rb +61 -67
  311. data/lib/tzinfo/definitions/America/Aruba.rb +4 -10
  312. data/lib/tzinfo/definitions/America/Asuncion.rb +146 -152
  313. data/lib/tzinfo/definitions/America/Atka.rb +1 -4
  314. data/lib/tzinfo/definitions/America/Bahia.rb +62 -68
  315. data/lib/tzinfo/definitions/America/Barbados.rb +12 -18
  316. data/lib/tzinfo/definitions/America/Belem.rb +32 -38
  317. data/lib/tzinfo/definitions/America/Belize.rb +57 -63
  318. data/lib/tzinfo/definitions/America/Boa_Vista.rb +37 -43
  319. data/lib/tzinfo/definitions/America/Bogota.rb +6 -12
  320. data/lib/tzinfo/definitions/America/Boise.rb +167 -173
  321. data/lib/tzinfo/definitions/America/Buenos_Aires.rb +1 -4
  322. data/lib/tzinfo/definitions/America/Cambridge_Bay.rb +143 -149
  323. data/lib/tzinfo/definitions/America/Campo_Grande.rb +145 -151
  324. data/lib/tzinfo/definitions/America/Cancun.rb +104 -110
  325. data/lib/tzinfo/definitions/America/Caracas.rb +5 -11
  326. data/lib/tzinfo/definitions/America/Catamarca.rb +1 -4
  327. data/lib/tzinfo/definitions/America/Cayenne.rb +4 -10
  328. data/lib/tzinfo/definitions/America/Cayman.rb +4 -10
  329. data/lib/tzinfo/definitions/America/Chicago.rb +256 -262
  330. data/lib/tzinfo/definitions/America/Chihuahua.rb +109 -115
  331. data/lib/tzinfo/definitions/America/Coral_Harbour.rb +10 -16
  332. data/lib/tzinfo/definitions/America/Cordoba.rb +1 -4
  333. data/lib/tzinfo/definitions/America/Costa_Rica.rb +12 -18
  334. data/lib/tzinfo/definitions/America/Cuiaba.rb +145 -151
  335. data/lib/tzinfo/definitions/America/Curacao.rb +4 -10
  336. data/lib/tzinfo/definitions/America/Danmarkshavn.rb +36 -42
  337. data/lib/tzinfo/definitions/America/Dawson.rb +143 -149
  338. data/lib/tzinfo/definitions/America/Dawson_Creek.rb +60 -66
  339. data/lib/tzinfo/definitions/America/Denver.rb +178 -184
  340. data/lib/tzinfo/definitions/America/Detroit.rb +158 -164
  341. data/lib/tzinfo/definitions/America/Dominica.rb +3 -9
  342. data/lib/tzinfo/definitions/America/Edmonton.rb +170 -176
  343. data/lib/tzinfo/definitions/America/Eirunepe.rb +36 -42
  344. data/lib/tzinfo/definitions/America/El_Salvador.rb +7 -13
  345. data/lib/tzinfo/definitions/America/Ensenada.rb +1 -4
  346. data/lib/tzinfo/definitions/America/Fort_Wayne.rb +1 -4
  347. data/lib/tzinfo/definitions/America/Fortaleza.rb +45 -51
  348. data/lib/tzinfo/definitions/America/Glace_Bay.rb +160 -166
  349. data/lib/tzinfo/definitions/America/Godthab.rb +134 -140
  350. data/lib/tzinfo/definitions/America/Goose_Bay.rb +225 -231
  351. data/lib/tzinfo/definitions/America/Grand_Turk.rb +137 -143
  352. data/lib/tzinfo/definitions/America/Grenada.rb +3 -9
  353. data/lib/tzinfo/definitions/America/Guadeloupe.rb +3 -9
  354. data/lib/tzinfo/definitions/America/Guatemala.rb +9 -15
  355. data/lib/tzinfo/definitions/America/Guayaquil.rb +4 -10
  356. data/lib/tzinfo/definitions/America/Guyana.rb +6 -12
  357. data/lib/tzinfo/definitions/America/Halifax.rb +248 -254
  358. data/lib/tzinfo/definitions/America/Havana.rb +175 -181
  359. data/lib/tzinfo/definitions/America/Hermosillo.rb +18 -24
  360. data/lib/tzinfo/definitions/America/Indiana/Indianapolis.rb +121 -127
  361. data/lib/tzinfo/definitions/America/Indiana/Knox.rb +172 -178
  362. data/lib/tzinfo/definitions/America/Indiana/Marengo.rb +123 -129
  363. data/lib/tzinfo/definitions/America/Indiana/Vevay.rb +100 -106
  364. data/lib/tzinfo/definitions/America/Indianapolis.rb +1 -4
  365. data/lib/tzinfo/definitions/America/Inuvik.rb +143 -149
  366. data/lib/tzinfo/definitions/America/Iqaluit.rb +142 -148
  367. data/lib/tzinfo/definitions/America/Jamaica.rb +24 -30
  368. data/lib/tzinfo/definitions/America/Jujuy.rb +1 -4
  369. data/lib/tzinfo/definitions/America/Juneau.rb +163 -169
  370. data/lib/tzinfo/definitions/America/Kentucky/Louisville.rb +198 -204
  371. data/lib/tzinfo/definitions/America/Kentucky/Monticello.rb +166 -172
  372. data/lib/tzinfo/definitions/America/Knox_IN.rb +1 -4
  373. data/lib/tzinfo/definitions/America/La_Paz.rb +5 -11
  374. data/lib/tzinfo/definitions/America/Lima.rb +18 -24
  375. data/lib/tzinfo/definitions/America/Los_Angeles.rb +204 -210
  376. data/lib/tzinfo/definitions/America/Louisville.rb +1 -4
  377. data/lib/tzinfo/definitions/America/Maceio.rb +49 -55
  378. data/lib/tzinfo/definitions/America/Managua.rb +16 -22
  379. data/lib/tzinfo/definitions/America/Manaus.rb +36 -42
  380. data/lib/tzinfo/definitions/America/Martinique.rb +6 -12
  381. data/lib/tzinfo/definitions/America/Mazatlan.rb +110 -116
  382. data/lib/tzinfo/definitions/America/Mendoza.rb +1 -4
  383. data/lib/tzinfo/definitions/America/Menominee.rb +160 -166
  384. data/lib/tzinfo/definitions/America/Merida.rb +104 -110
  385. data/lib/tzinfo/definitions/America/Mexico_City.rb +116 -122
  386. data/lib/tzinfo/definitions/America/Miquelon.rb +122 -128
  387. data/lib/tzinfo/definitions/America/Monterrey.rb +106 -112
  388. data/lib/tzinfo/definitions/America/Montevideo.rb +68 -74
  389. data/lib/tzinfo/definitions/America/Montreal.rb +253 -259
  390. data/lib/tzinfo/definitions/America/Montserrat.rb +3 -9
  391. data/lib/tzinfo/definitions/America/Nassau.rb +166 -172
  392. data/lib/tzinfo/definitions/America/New_York.rb +256 -262
  393. data/lib/tzinfo/definitions/America/Nipigon.rb +151 -157
  394. data/lib/tzinfo/definitions/America/Nome.rb +164 -170
  395. data/lib/tzinfo/definitions/America/Noronha.rb +45 -51
  396. data/lib/tzinfo/definitions/America/North_Dakota/Center.rb +166 -172
  397. data/lib/tzinfo/definitions/America/Panama.rb +4 -10
  398. data/lib/tzinfo/definitions/America/Pangnirtung.rb +142 -148
  399. data/lib/tzinfo/definitions/America/Paramaribo.rb +7 -13
  400. data/lib/tzinfo/definitions/America/Phoenix.rb +15 -21
  401. data/lib/tzinfo/definitions/America/Port__m__au__m__Prince.rb +36 -42
  402. data/lib/tzinfo/definitions/America/Port_of_Spain.rb +3 -9
  403. data/lib/tzinfo/definitions/America/Porto_Acre.rb +1 -4
  404. data/lib/tzinfo/definitions/America/Porto_Velho.rb +32 -38
  405. data/lib/tzinfo/definitions/America/Puerto_Rico.rb +5 -11
  406. data/lib/tzinfo/definitions/America/Rainy_River.rb +151 -157
  407. data/lib/tzinfo/definitions/America/Rankin_Inlet.rb +142 -148
  408. data/lib/tzinfo/definitions/America/Recife.rb +45 -51
  409. data/lib/tzinfo/definitions/America/Regina.rb +54 -60
  410. data/lib/tzinfo/definitions/America/Rio_Branco.rb +32 -38
  411. data/lib/tzinfo/definitions/America/Rosario.rb +1 -4
  412. data/lib/tzinfo/definitions/America/Santiago.rb +175 -181
  413. data/lib/tzinfo/definitions/America/Santo_Domingo.rb +19 -25
  414. data/lib/tzinfo/definitions/America/Sao_Paulo.rb +146 -152
  415. data/lib/tzinfo/definitions/America/Scoresbysund.rb +134 -140
  416. data/lib/tzinfo/definitions/America/Shiprock.rb +1 -4
  417. data/lib/tzinfo/definitions/America/St_Johns.rb +259 -265
  418. data/lib/tzinfo/definitions/America/St_Kitts.rb +3 -9
  419. data/lib/tzinfo/definitions/America/St_Lucia.rb +4 -10
  420. data/lib/tzinfo/definitions/America/St_Thomas.rb +3 -9
  421. data/lib/tzinfo/definitions/America/St_Vincent.rb +4 -10
  422. data/lib/tzinfo/definitions/America/Swift_Current.rb +24 -30
  423. data/lib/tzinfo/definitions/America/Tegucigalpa.rb +7 -13
  424. data/lib/tzinfo/definitions/America/Thule.rb +112 -118
  425. data/lib/tzinfo/definitions/America/Thunder_Bay.rb +159 -165
  426. data/lib/tzinfo/definitions/America/Tijuana.rb +171 -177
  427. data/lib/tzinfo/definitions/America/Toronto.rb +252 -258
  428. data/lib/tzinfo/definitions/America/Tortola.rb +3 -9
  429. data/lib/tzinfo/definitions/America/Vancouver.rb +206 -212
  430. data/lib/tzinfo/definitions/America/Virgin.rb +1 -4
  431. data/lib/tzinfo/definitions/America/Whitehorse.rb +143 -149
  432. data/lib/tzinfo/definitions/America/Winnipeg.rb +202 -208
  433. data/lib/tzinfo/definitions/America/Yakutat.rb +163 -169
  434. data/lib/tzinfo/definitions/America/Yellowknife.rb +142 -148
  435. data/lib/tzinfo/definitions/Antarctica/Casey.rb +3 -9
  436. data/lib/tzinfo/definitions/Antarctica/Davis.rb +5 -11
  437. data/lib/tzinfo/definitions/Antarctica/DumontDUrville.rb +5 -11
  438. data/lib/tzinfo/definitions/Antarctica/Mawson.rb +3 -9
  439. data/lib/tzinfo/definitions/Antarctica/McMurdo.rb +145 -151
  440. data/lib/tzinfo/definitions/Antarctica/Palmer.rb +147 -153
  441. data/lib/tzinfo/definitions/Antarctica/Rothera.rb +3 -9
  442. data/lib/tzinfo/definitions/Antarctica/South_Pole.rb +1 -4
  443. data/lib/tzinfo/definitions/Antarctica/Syowa.rb +3 -9
  444. data/lib/tzinfo/definitions/Antarctica/Vostok.rb +3 -9
  445. data/lib/tzinfo/definitions/Arctic/Longyearbyen.rb +1 -4
  446. data/lib/tzinfo/definitions/Asia/Aden.rb +3 -9
  447. data/lib/tzinfo/definitions/Asia/Almaty.rb +53 -59
  448. data/lib/tzinfo/definitions/Asia/Amman.rb +136 -142
  449. data/lib/tzinfo/definitions/Asia/Anadyr.rb +134 -140
  450. data/lib/tzinfo/definitions/Asia/Aqtau.rb +53 -59
  451. data/lib/tzinfo/definitions/Asia/Aqtobe.rb +53 -59
  452. data/lib/tzinfo/definitions/Asia/Ashgabat.rb +28 -34
  453. data/lib/tzinfo/definitions/Asia/Ashkhabad.rb +1 -4
  454. data/lib/tzinfo/definitions/Asia/Baghdad.rb +131 -137
  455. data/lib/tzinfo/definitions/Asia/Bahrain.rb +4 -10
  456. data/lib/tzinfo/definitions/Asia/Baku.rb +130 -136
  457. data/lib/tzinfo/definitions/Asia/Bangkok.rb +4 -10
  458. data/lib/tzinfo/definitions/Asia/Beirut.rb +158 -164
  459. data/lib/tzinfo/definitions/Asia/Bishkek.rb +132 -138
  460. data/lib/tzinfo/definitions/Asia/Brunei.rb +4 -10
  461. data/lib/tzinfo/definitions/Asia/Calcutta.rb +7 -13
  462. data/lib/tzinfo/definitions/Asia/Choibalsan.rb +125 -131
  463. data/lib/tzinfo/definitions/Asia/Chongqing.rb +16 -22
  464. data/lib/tzinfo/definitions/Asia/Chungking.rb +1 -4
  465. data/lib/tzinfo/definitions/Asia/Colombo.rb +9 -15
  466. data/lib/tzinfo/definitions/Asia/Dacca.rb +1 -4
  467. data/lib/tzinfo/definitions/Asia/Damascus.rb +168 -174
  468. data/lib/tzinfo/definitions/Asia/Dhaka.rb +8 -14
  469. data/lib/tzinfo/definitions/Asia/Dili.rb +7 -13
  470. data/lib/tzinfo/definitions/Asia/Dubai.rb +3 -9
  471. data/lib/tzinfo/definitions/Asia/Dushanbe.rb +26 -32
  472. data/lib/tzinfo/definitions/Asia/Gaza.rb +162 -168
  473. data/lib/tzinfo/definitions/Asia/Harbin.rb +19 -25
  474. data/lib/tzinfo/definitions/Asia/Hong_Kong.rb +71 -77
  475. data/lib/tzinfo/definitions/Asia/Hovd.rb +125 -131
  476. data/lib/tzinfo/definitions/Asia/Irkutsk.rb +135 -141
  477. data/lib/tzinfo/definitions/Asia/Istanbul.rb +1 -4
  478. data/lib/tzinfo/definitions/Asia/Jakarta.rb +10 -16
  479. data/lib/tzinfo/definitions/Asia/Jayapura.rb +5 -11
  480. data/lib/tzinfo/definitions/Asia/Jerusalem.rb +145 -151
  481. data/lib/tzinfo/definitions/Asia/Kabul.rb +4 -10
  482. data/lib/tzinfo/definitions/Asia/Kamchatka.rb +134 -140
  483. data/lib/tzinfo/definitions/Asia/Karachi.rb +9 -15
  484. data/lib/tzinfo/definitions/Asia/Kashgar.rb +17 -23
  485. data/lib/tzinfo/definitions/Asia/Katmandu.rb +4 -10
  486. data/lib/tzinfo/definitions/Asia/Krasnoyarsk.rb +134 -140
  487. data/lib/tzinfo/definitions/Asia/Kuala_Lumpur.rb +10 -16
  488. data/lib/tzinfo/definitions/Asia/Kuching.rb +21 -27
  489. data/lib/tzinfo/definitions/Asia/Kuwait.rb +3 -9
  490. data/lib/tzinfo/definitions/Asia/Macao.rb +1 -4
  491. data/lib/tzinfo/definitions/Asia/Macau.rb +44 -50
  492. data/lib/tzinfo/definitions/Asia/Magadan.rb +134 -140
  493. data/lib/tzinfo/definitions/Asia/Makassar.rb +6 -12
  494. data/lib/tzinfo/definitions/Asia/Manila.rb +12 -18
  495. data/lib/tzinfo/definitions/Asia/Muscat.rb +3 -9
  496. data/lib/tzinfo/definitions/Asia/Nicosia.rb +145 -151
  497. data/lib/tzinfo/definitions/Asia/Novosibirsk.rb +135 -141
  498. data/lib/tzinfo/definitions/Asia/Omsk.rb +134 -140
  499. data/lib/tzinfo/definitions/Asia/Oral.rb +53 -59
  500. data/lib/tzinfo/definitions/Asia/Phnom_Penh.rb +6 -12
  501. data/lib/tzinfo/definitions/Asia/Pontianak.rb +10 -16
  502. data/lib/tzinfo/definitions/Asia/Pyongyang.rb +8 -14
  503. data/lib/tzinfo/definitions/Asia/Qatar.rb +4 -10
  504. data/lib/tzinfo/definitions/Asia/Qyzylorda.rb +54 -60
  505. data/lib/tzinfo/definitions/Asia/Rangoon.rb +6 -12
  506. data/lib/tzinfo/definitions/Asia/Riyadh.rb +3 -9
  507. data/lib/tzinfo/definitions/Asia/Riyadh87.rb +339 -345
  508. data/lib/tzinfo/definitions/Asia/Riyadh88.rb +340 -346
  509. data/lib/tzinfo/definitions/Asia/Riyadh89.rb +340 -346
  510. data/lib/tzinfo/definitions/Asia/Saigon.rb +6 -12
  511. data/lib/tzinfo/definitions/Asia/Sakhalin.rb +135 -141
  512. data/lib/tzinfo/definitions/Asia/Samarkand.rb +31 -37
  513. data/lib/tzinfo/definitions/Asia/Seoul.rb +15 -21
  514. data/lib/tzinfo/definitions/Asia/Shanghai.rb +20 -26
  515. data/lib/tzinfo/definitions/Asia/Singapore.rb +11 -17
  516. data/lib/tzinfo/definitions/Asia/Taipei.rb +43 -49
  517. data/lib/tzinfo/definitions/Asia/Tashkent.rb +31 -37
  518. data/lib/tzinfo/definitions/Asia/Tbilisi.rb +137 -143
  519. data/lib/tzinfo/definitions/Asia/Tehran.rb +106 -112
  520. data/lib/tzinfo/definitions/Asia/Tel_Aviv.rb +1 -4
  521. data/lib/tzinfo/definitions/Asia/Thimbu.rb +1 -4
  522. data/lib/tzinfo/definitions/Asia/Thimphu.rb +4 -10
  523. data/lib/tzinfo/definitions/Asia/Tokyo.rb +13 -19
  524. data/lib/tzinfo/definitions/Asia/Ujung_Pandang.rb +1 -4
  525. data/lib/tzinfo/definitions/Asia/Ulaanbaatar.rb +125 -131
  526. data/lib/tzinfo/definitions/Asia/Ulan_Bator.rb +1 -4
  527. data/lib/tzinfo/definitions/Asia/Urumqi.rb +16 -22
  528. data/lib/tzinfo/definitions/Asia/Vientiane.rb +6 -12
  529. data/lib/tzinfo/definitions/Asia/Vladivostok.rb +134 -140
  530. data/lib/tzinfo/definitions/Asia/Yakutsk.rb +134 -140
  531. data/lib/tzinfo/definitions/Asia/Yekaterinburg.rb +134 -140
  532. data/lib/tzinfo/definitions/Asia/Yerevan.rb +133 -139
  533. data/lib/tzinfo/definitions/Atlantic/Azores.rb +238 -244
  534. data/lib/tzinfo/definitions/Atlantic/Bermuda.rb +146 -152
  535. data/lib/tzinfo/definitions/Atlantic/Canary.rb +136 -142
  536. data/lib/tzinfo/definitions/Atlantic/Cape_Verde.rb +6 -12
  537. data/lib/tzinfo/definitions/Atlantic/Faeroe.rb +133 -139
  538. data/lib/tzinfo/definitions/Atlantic/Jan_Mayen.rb +1 -4
  539. data/lib/tzinfo/definitions/Atlantic/Madeira.rb +238 -244
  540. data/lib/tzinfo/definitions/Atlantic/Reykjavik.rb +67 -73
  541. data/lib/tzinfo/definitions/Atlantic/South_Georgia.rb +3 -9
  542. data/lib/tzinfo/definitions/Atlantic/St_Helena.rb +4 -10
  543. data/lib/tzinfo/definitions/Atlantic/Stanley.rb +142 -147
  544. data/lib/tzinfo/definitions/Australia/ACT.rb +1 -4
  545. data/lib/tzinfo/definitions/Australia/Adelaide.rb +161 -167
  546. data/lib/tzinfo/definitions/Australia/Brisbane.rb +20 -26
  547. data/lib/tzinfo/definitions/Australia/Broken_Hill.rb +163 -169
  548. data/lib/tzinfo/definitions/Australia/Canberra.rb +1 -4
  549. data/lib/tzinfo/definitions/Australia/Currie.rb +161 -167
  550. data/lib/tzinfo/definitions/Australia/Darwin.rb +12 -18
  551. data/lib/tzinfo/definitions/Australia/Hobart.rb +169 -175
  552. data/lib/tzinfo/definitions/Australia/LHI.rb +1 -4
  553. data/lib/tzinfo/definitions/Australia/Lindeman.rb +25 -31
  554. data/lib/tzinfo/definitions/Australia/Lord_Howe.rb +132 -138
  555. data/lib/tzinfo/definitions/Australia/Melbourne.rb +160 -166
  556. data/lib/tzinfo/definitions/Australia/NSW.rb +1 -4
  557. data/lib/tzinfo/definitions/Australia/North.rb +1 -4
  558. data/lib/tzinfo/definitions/Australia/Perth.rb +16 -22
  559. data/lib/tzinfo/definitions/Australia/Queensland.rb +1 -4
  560. data/lib/tzinfo/definitions/Australia/South.rb +1 -4
  561. data/lib/tzinfo/definitions/Australia/Sydney.rb +160 -166
  562. data/lib/tzinfo/definitions/Australia/Tasmania.rb +1 -4
  563. data/lib/tzinfo/definitions/Australia/Victoria.rb +1 -4
  564. data/lib/tzinfo/definitions/Australia/West.rb +1 -4
  565. data/lib/tzinfo/definitions/Australia/Yancowinna.rb +1 -4
  566. data/lib/tzinfo/definitions/Brazil/Acre.rb +1 -4
  567. data/lib/tzinfo/definitions/Brazil/DeNoronha.rb +1 -4
  568. data/lib/tzinfo/definitions/Brazil/East.rb +1 -4
  569. data/lib/tzinfo/definitions/Brazil/West.rb +1 -4
  570. data/lib/tzinfo/definitions/CET.rb +151 -157
  571. data/lib/tzinfo/definitions/CST6CDT.rb +1 -4
  572. data/lib/tzinfo/definitions/Canada/Atlantic.rb +1 -4
  573. data/lib/tzinfo/definitions/Canada/Central.rb +1 -4
  574. data/lib/tzinfo/definitions/Canada/East__m__Saskatchewan.rb +1 -4
  575. data/lib/tzinfo/definitions/Canada/Eastern.rb +1 -4
  576. data/lib/tzinfo/definitions/Canada/Mountain.rb +1 -4
  577. data/lib/tzinfo/definitions/Canada/Newfoundland.rb +1 -4
  578. data/lib/tzinfo/definitions/Canada/Pacific.rb +1 -4
  579. data/lib/tzinfo/definitions/Canada/Saskatchewan.rb +1 -4
  580. data/lib/tzinfo/definitions/Canada/Yukon.rb +1 -4
  581. data/lib/tzinfo/definitions/Chile/Continental.rb +1 -4
  582. data/lib/tzinfo/definitions/Chile/EasterIsland.rb +1 -4
  583. data/lib/tzinfo/definitions/Cuba.rb +1 -4
  584. data/lib/tzinfo/definitions/EET.rb +139 -145
  585. data/lib/tzinfo/definitions/EST.rb +1 -4
  586. data/lib/tzinfo/definitions/EST5EDT.rb +1 -4
  587. data/lib/tzinfo/definitions/Egypt.rb +1 -4
  588. data/lib/tzinfo/definitions/Eire.rb +1 -4
  589. data/lib/tzinfo/definitions/Etc/GMT.rb +2 -8
  590. data/lib/tzinfo/definitions/Etc/GMT0.rb +1 -4
  591. data/lib/tzinfo/definitions/Etc/GMT__m__0.rb +1 -4
  592. data/lib/tzinfo/definitions/Etc/GMT__m__1.rb +2 -8
  593. data/lib/tzinfo/definitions/Etc/GMT__m__10.rb +2 -8
  594. data/lib/tzinfo/definitions/Etc/GMT__m__11.rb +2 -8
  595. data/lib/tzinfo/definitions/Etc/GMT__m__12.rb +2 -8
  596. data/lib/tzinfo/definitions/Etc/GMT__m__13.rb +2 -8
  597. data/lib/tzinfo/definitions/Etc/GMT__m__14.rb +2 -8
  598. data/lib/tzinfo/definitions/Etc/GMT__m__2.rb +2 -8
  599. data/lib/tzinfo/definitions/Etc/GMT__m__3.rb +2 -8
  600. data/lib/tzinfo/definitions/Etc/GMT__m__4.rb +2 -8
  601. data/lib/tzinfo/definitions/Etc/GMT__m__5.rb +2 -8
  602. data/lib/tzinfo/definitions/Etc/GMT__m__6.rb +2 -8
  603. data/lib/tzinfo/definitions/Etc/GMT__m__7.rb +2 -8
  604. data/lib/tzinfo/definitions/Etc/GMT__m__8.rb +2 -8
  605. data/lib/tzinfo/definitions/Etc/GMT__m__9.rb +2 -8
  606. data/lib/tzinfo/definitions/Etc/GMT__p__0.rb +1 -4
  607. data/lib/tzinfo/definitions/Etc/GMT__p__1.rb +2 -8
  608. data/lib/tzinfo/definitions/Etc/GMT__p__10.rb +2 -8
  609. data/lib/tzinfo/definitions/Etc/GMT__p__11.rb +2 -8
  610. data/lib/tzinfo/definitions/Etc/GMT__p__12.rb +2 -8
  611. data/lib/tzinfo/definitions/Etc/GMT__p__2.rb +2 -8
  612. data/lib/tzinfo/definitions/Etc/GMT__p__3.rb +2 -8
  613. data/lib/tzinfo/definitions/Etc/GMT__p__4.rb +2 -8
  614. data/lib/tzinfo/definitions/Etc/GMT__p__5.rb +2 -8
  615. data/lib/tzinfo/definitions/Etc/GMT__p__6.rb +2 -8
  616. data/lib/tzinfo/definitions/Etc/GMT__p__7.rb +2 -8
  617. data/lib/tzinfo/definitions/Etc/GMT__p__8.rb +2 -8
  618. data/lib/tzinfo/definitions/Etc/GMT__p__9.rb +2 -8
  619. data/lib/tzinfo/definitions/Etc/Greenwich.rb +1 -4
  620. data/lib/tzinfo/definitions/Etc/UCT.rb +2 -8
  621. data/lib/tzinfo/definitions/Etc/UTC.rb +2 -8
  622. data/lib/tzinfo/definitions/Etc/Universal.rb +1 -4
  623. data/lib/tzinfo/definitions/Etc/Zulu.rb +1 -4
  624. data/lib/tzinfo/definitions/Europe/Amsterdam.rb +197 -203
  625. data/lib/tzinfo/definitions/Europe/Andorra.rb +125 -131
  626. data/lib/tzinfo/definitions/Europe/Athens.rb +156 -162
  627. data/lib/tzinfo/definitions/Europe/Belfast.rb +1 -4
  628. data/lib/tzinfo/definitions/Europe/Belgrade.rb +136 -142
  629. data/lib/tzinfo/definitions/Europe/Berlin.rb +161 -167
  630. data/lib/tzinfo/definitions/Europe/Bratislava.rb +1 -4
  631. data/lib/tzinfo/definitions/Europe/Brussels.rb +203 -209
  632. data/lib/tzinfo/definitions/Europe/Bucharest.rb +156 -162
  633. data/lib/tzinfo/definitions/Europe/Budapest.rb +170 -176
  634. data/lib/tzinfo/definitions/Europe/Chisinau.rb +159 -165
  635. data/lib/tzinfo/definitions/Europe/Copenhagen.rb +152 -158
  636. data/lib/tzinfo/definitions/Europe/Dublin.rb +246 -252
  637. data/lib/tzinfo/definitions/Europe/Gibraltar.rb +216 -222
  638. data/lib/tzinfo/definitions/Europe/Helsinki.rb +136 -142
  639. data/lib/tzinfo/definitions/Europe/Istanbul.rb +190 -196
  640. data/lib/tzinfo/definitions/Europe/Kaliningrad.rb +148 -154
  641. data/lib/tzinfo/definitions/Europe/Kiev.rb +138 -144
  642. data/lib/tzinfo/definitions/Europe/Lisbon.rb +239 -245
  643. data/lib/tzinfo/definitions/Europe/Ljubljana.rb +1 -4
  644. data/lib/tzinfo/definitions/Europe/London.rb +260 -266
  645. data/lib/tzinfo/definitions/Europe/Luxembourg.rb +200 -206
  646. data/lib/tzinfo/definitions/Europe/Madrid.rb +182 -188
  647. data/lib/tzinfo/definitions/Europe/Malta.rb +187 -193
  648. data/lib/tzinfo/definitions/Europe/Mariehamn.rb +1 -4
  649. data/lib/tzinfo/definitions/Europe/Minsk.rb +136 -142
  650. data/lib/tzinfo/definitions/Europe/Monaco.rb +203 -209
  651. data/lib/tzinfo/definitions/Europe/Moscow.rb +147 -153
  652. data/lib/tzinfo/definitions/Europe/Nicosia.rb +1 -4
  653. data/lib/tzinfo/definitions/Europe/Oslo.rb +158 -164
  654. data/lib/tzinfo/definitions/Europe/Paris.rb +201 -207
  655. data/lib/tzinfo/definitions/Europe/Prague.rb +159 -165
  656. data/lib/tzinfo/definitions/Europe/Riga.rb +145 -151
  657. data/lib/tzinfo/definitions/Europe/Rome.rb +189 -195
  658. data/lib/tzinfo/definitions/Europe/Samara.rb +134 -140
  659. data/lib/tzinfo/definitions/Europe/San_Marino.rb +1 -4
  660. data/lib/tzinfo/definitions/Europe/Sarajevo.rb +1 -4
  661. data/lib/tzinfo/definitions/Europe/Simferopol.rb +140 -146
  662. data/lib/tzinfo/definitions/Europe/Skopje.rb +1 -4
  663. data/lib/tzinfo/definitions/Europe/Sofia.rb +146 -152
  664. data/lib/tzinfo/definitions/Europe/Stockholm.rb +138 -144
  665. data/lib/tzinfo/definitions/Europe/Tallinn.rb +141 -147
  666. data/lib/tzinfo/definitions/Europe/Tirane.rb +151 -157
  667. data/lib/tzinfo/definitions/Europe/Tiraspol.rb +1 -4
  668. data/lib/tzinfo/definitions/Europe/Uzhgorod.rb +142 -148
  669. data/lib/tzinfo/definitions/Europe/Vaduz.rb +133 -139
  670. data/lib/tzinfo/definitions/Europe/Vatican.rb +1 -4
  671. data/lib/tzinfo/definitions/Europe/Vienna.rb +159 -165
  672. data/lib/tzinfo/definitions/Europe/Vilnius.rb +137 -143
  673. data/lib/tzinfo/definitions/Europe/Warsaw.rb +184 -190
  674. data/lib/tzinfo/definitions/Europe/Zagreb.rb +1 -4
  675. data/lib/tzinfo/definitions/Europe/Zaporozhye.rb +139 -145
  676. data/lib/tzinfo/definitions/Europe/Zurich.rb +140 -146
  677. data/lib/tzinfo/definitions/GB.rb +1 -4
  678. data/lib/tzinfo/definitions/GB__m__Eire.rb +1 -4
  679. data/lib/tzinfo/definitions/GMT.rb +1 -4
  680. data/lib/tzinfo/definitions/GMT0.rb +1 -4
  681. data/lib/tzinfo/definitions/GMT__m__0.rb +1 -4
  682. data/lib/tzinfo/definitions/GMT__p__0.rb +1 -4
  683. data/lib/tzinfo/definitions/Greenwich.rb +1 -4
  684. data/lib/tzinfo/definitions/HST.rb +1 -4
  685. data/lib/tzinfo/definitions/Hongkong.rb +1 -4
  686. data/lib/tzinfo/definitions/Iceland.rb +1 -4
  687. data/lib/tzinfo/definitions/Indian/Antananarivo.rb +5 -11
  688. data/lib/tzinfo/definitions/Indian/Chagos.rb +4 -10
  689. data/lib/tzinfo/definitions/Indian/Christmas.rb +3 -9
  690. data/lib/tzinfo/definitions/Indian/Cocos.rb +3 -9
  691. data/lib/tzinfo/definitions/Indian/Comoro.rb +3 -9
  692. data/lib/tzinfo/definitions/Indian/Kerguelen.rb +3 -9
  693. data/lib/tzinfo/definitions/Indian/Mahe.rb +3 -9
  694. data/lib/tzinfo/definitions/Indian/Maldives.rb +4 -10
  695. data/lib/tzinfo/definitions/Indian/Mauritius.rb +3 -9
  696. data/lib/tzinfo/definitions/Indian/Mayotte.rb +3 -9
  697. data/lib/tzinfo/definitions/Indian/Reunion.rb +3 -9
  698. data/lib/tzinfo/definitions/Iran.rb +1 -4
  699. data/lib/tzinfo/definitions/Israel.rb +1 -4
  700. data/lib/tzinfo/definitions/Jamaica.rb +1 -4
  701. data/lib/tzinfo/definitions/Japan.rb +1 -4
  702. data/lib/tzinfo/definitions/Kwajalein.rb +1 -4
  703. data/lib/tzinfo/definitions/Libya.rb +1 -4
  704. data/lib/tzinfo/definitions/MET.rb +151 -157
  705. data/lib/tzinfo/definitions/MST.rb +1 -4
  706. data/lib/tzinfo/definitions/MST7MDT.rb +1 -4
  707. data/lib/tzinfo/definitions/Mexico/BajaNorte.rb +1 -4
  708. data/lib/tzinfo/definitions/Mexico/BajaSur.rb +1 -4
  709. data/lib/tzinfo/definitions/Mexico/General.rb +1 -4
  710. data/lib/tzinfo/definitions/Mideast/Riyadh87.rb +1 -4
  711. data/lib/tzinfo/definitions/Mideast/Riyadh88.rb +1 -4
  712. data/lib/tzinfo/definitions/Mideast/Riyadh89.rb +1 -4
  713. data/lib/tzinfo/definitions/NZ.rb +1 -4
  714. data/lib/tzinfo/definitions/NZ__m__CHAT.rb +1 -4
  715. data/lib/tzinfo/definitions/Navajo.rb +1 -4
  716. data/lib/tzinfo/definitions/PRC.rb +1 -4
  717. data/lib/tzinfo/definitions/PST8PDT.rb +1 -4
  718. data/lib/tzinfo/definitions/Pacific/Apia.rb +5 -11
  719. data/lib/tzinfo/definitions/Pacific/Auckland.rb +173 -179
  720. data/lib/tzinfo/definitions/Pacific/Chatham.rb +145 -151
  721. data/lib/tzinfo/definitions/Pacific/Easter.rb +163 -169
  722. data/lib/tzinfo/definitions/Pacific/Efate.rb +23 -29
  723. data/lib/tzinfo/definitions/Pacific/Enderbury.rb +5 -11
  724. data/lib/tzinfo/definitions/Pacific/Fakaofo.rb +3 -9
  725. data/lib/tzinfo/definitions/Pacific/Fiji.rb +7 -13
  726. data/lib/tzinfo/definitions/Pacific/Funafuti.rb +3 -9
  727. data/lib/tzinfo/definitions/Pacific/Galapagos.rb +4 -10
  728. data/lib/tzinfo/definitions/Pacific/Gambier.rb +3 -9
  729. data/lib/tzinfo/definitions/Pacific/Guadalcanal.rb +3 -9
  730. data/lib/tzinfo/definitions/Pacific/Guam.rb +5 -11
  731. data/lib/tzinfo/definitions/Pacific/Honolulu.rb +7 -13
  732. data/lib/tzinfo/definitions/Pacific/Johnston.rb +2 -8
  733. data/lib/tzinfo/definitions/Pacific/Kiritimati.rb +5 -11
  734. data/lib/tzinfo/definitions/Pacific/Kosrae.rb +5 -11
  735. data/lib/tzinfo/definitions/Pacific/Kwajalein.rb +5 -11
  736. data/lib/tzinfo/definitions/Pacific/Majuro.rb +4 -10
  737. data/lib/tzinfo/definitions/Pacific/Marquesas.rb +3 -9
  738. data/lib/tzinfo/definitions/Pacific/Midway.rb +7 -13
  739. data/lib/tzinfo/definitions/Pacific/Nauru.rb +6 -12
  740. data/lib/tzinfo/definitions/Pacific/Niue.rb +5 -11
  741. data/lib/tzinfo/definitions/Pacific/Norfolk.rb +4 -10
  742. data/lib/tzinfo/definitions/Pacific/Noumea.rb +9 -15
  743. data/lib/tzinfo/definitions/Pacific/Pago_Pago.rb +7 -13
  744. data/lib/tzinfo/definitions/Pacific/Palau.rb +3 -9
  745. data/lib/tzinfo/definitions/Pacific/Pitcairn.rb +4 -10
  746. data/lib/tzinfo/definitions/Pacific/Ponape.rb +3 -9
  747. data/lib/tzinfo/definitions/Pacific/Port_Moresby.rb +4 -10
  748. data/lib/tzinfo/definitions/Pacific/Rarotonga.rb +29 -35
  749. data/lib/tzinfo/definitions/Pacific/Saipan.rb +6 -12
  750. data/lib/tzinfo/definitions/Pacific/Samoa.rb +1 -4
  751. data/lib/tzinfo/definitions/Pacific/Tahiti.rb +3 -9
  752. data/lib/tzinfo/definitions/Pacific/Tarawa.rb +3 -9
  753. data/lib/tzinfo/definitions/Pacific/Tongatapu.rb +11 -17
  754. data/lib/tzinfo/definitions/Pacific/Truk.rb +3 -9
  755. data/lib/tzinfo/definitions/Pacific/Wake.rb +3 -9
  756. data/lib/tzinfo/definitions/Pacific/Wallis.rb +3 -9
  757. data/lib/tzinfo/definitions/Pacific/Yap.rb +1 -4
  758. data/lib/tzinfo/definitions/Poland.rb +1 -4
  759. data/lib/tzinfo/definitions/Portugal.rb +1 -4
  760. data/lib/tzinfo/definitions/ROC.rb +1 -4
  761. data/lib/tzinfo/definitions/ROK.rb +1 -4
  762. data/lib/tzinfo/definitions/Singapore.rb +1 -4
  763. data/lib/tzinfo/definitions/SystemV/AST4.rb +1 -4
  764. data/lib/tzinfo/definitions/SystemV/AST4ADT.rb +1 -4
  765. data/lib/tzinfo/definitions/SystemV/CST6.rb +1 -4
  766. data/lib/tzinfo/definitions/SystemV/CST6CDT.rb +1 -4
  767. data/lib/tzinfo/definitions/SystemV/EST5.rb +1 -4
  768. data/lib/tzinfo/definitions/SystemV/EST5EDT.rb +1 -4
  769. data/lib/tzinfo/definitions/SystemV/HST10.rb +1 -4
  770. data/lib/tzinfo/definitions/SystemV/MST7.rb +1 -4
  771. data/lib/tzinfo/definitions/SystemV/MST7MDT.rb +1 -4
  772. data/lib/tzinfo/definitions/SystemV/PST8.rb +1 -4
  773. data/lib/tzinfo/definitions/SystemV/PST8PDT.rb +1 -4
  774. data/lib/tzinfo/definitions/SystemV/YST9.rb +1 -4
  775. data/lib/tzinfo/definitions/SystemV/YST9YDT.rb +1 -4
  776. data/lib/tzinfo/definitions/Turkey.rb +1 -4
  777. data/lib/tzinfo/definitions/UCT.rb +1 -4
  778. data/lib/tzinfo/definitions/US/Alaska.rb +1 -4
  779. data/lib/tzinfo/definitions/US/Aleutian.rb +1 -4
  780. data/lib/tzinfo/definitions/US/Arizona.rb +1 -4
  781. data/lib/tzinfo/definitions/US/Central.rb +1 -4
  782. data/lib/tzinfo/definitions/US/East__m__Indiana.rb +1 -4
  783. data/lib/tzinfo/definitions/US/Eastern.rb +1 -4
  784. data/lib/tzinfo/definitions/US/Hawaii.rb +1 -4
  785. data/lib/tzinfo/definitions/US/Indiana__m__Starke.rb +1 -4
  786. data/lib/tzinfo/definitions/US/Michigan.rb +1 -4
  787. data/lib/tzinfo/definitions/US/Mountain.rb +1 -4
  788. data/lib/tzinfo/definitions/US/Pacific.rb +1 -4
  789. data/lib/tzinfo/definitions/US/Pacific__m__New.rb +1 -4
  790. data/lib/tzinfo/definitions/US/Samoa.rb +1 -4
  791. data/lib/tzinfo/definitions/UTC.rb +1 -4
  792. data/lib/tzinfo/definitions/Universal.rb +1 -4
  793. data/lib/tzinfo/definitions/WET.rb +139 -145
  794. data/lib/tzinfo/definitions/W__m__SU.rb +1 -4
  795. data/lib/tzinfo/definitions/Zulu.rb +1 -4
  796. data/lib/tzinfo/timezone.rb +98 -24
  797. data/lib/tzinfo/tzdataparser.rb +24 -25
  798. metadata +2 -2
@@ -2,17 +2,11 @@ require 'tzinfo/country'
2
2
  module TZInfo #:nodoc:
3
3
  module Countries #:nodoc:
4
4
  class ZA < Country #:nodoc:
5
- def initialize
6
- super
7
- set_code('ZA')
8
- set_name('South Africa')
9
- add_zone('Africa/Johannesburg')
10
- zones_added
11
- end
12
- @@instance = new
13
- def self.instance
14
- @@instance
15
- end
5
+ setup
6
+ set_code('ZA')
7
+ set_name('South Africa')
8
+ add_zone('Africa/Johannesburg')
9
+ zones_added
16
10
  end
17
11
  end
18
12
  end
@@ -2,17 +2,11 @@ require 'tzinfo/country'
2
2
  module TZInfo #:nodoc:
3
3
  module Countries #:nodoc:
4
4
  class ZM < Country #:nodoc:
5
- def initialize
6
- super
7
- set_code('ZM')
8
- set_name('Zambia')
9
- add_zone('Africa/Lusaka')
10
- zones_added
11
- end
12
- @@instance = new
13
- def self.instance
14
- @@instance
15
- end
5
+ setup
6
+ set_code('ZM')
7
+ set_name('Zambia')
8
+ add_zone('Africa/Lusaka')
9
+ zones_added
16
10
  end
17
11
  end
18
12
  end
@@ -2,17 +2,11 @@ require 'tzinfo/country'
2
2
  module TZInfo #:nodoc:
3
3
  module Countries #:nodoc:
4
4
  class ZW < Country #:nodoc:
5
- def initialize
6
- super
7
- set_code('ZW')
8
- set_name('Zimbabwe')
9
- add_zone('Africa/Harare')
10
- zones_added
11
- end
12
- @@instance = new
13
- def self.instance
14
- @@instance
15
- end
5
+ setup
6
+ set_code('ZW')
7
+ set_name('Zimbabwe')
8
+ add_zone('Africa/Harare')
9
+ zones_added
16
10
  end
17
11
  end
18
12
  end
@@ -8,9 +8,6 @@ module TZInfo
8
8
  # puts us.zone_identifiers
9
9
  # puts us.zones
10
10
  class Country
11
- # Array of Timezone identifiers for the country.
12
- attr_reader :zone_names
13
-
14
11
  # Gets a Country by its ISO 3166 code. Raising an exception if it couldn't
15
12
  # be found.
16
13
  def self.get(identifier)
@@ -19,6 +16,15 @@ module TZInfo
19
16
  Countries.const_get(identifier).instance
20
17
  end
21
18
 
19
+ # If identifier is nil calls super(), else calls get(identifier).
20
+ def self.new(identifier = nil)
21
+ if identifier
22
+ get(identifier)
23
+ else
24
+ super()
25
+ end
26
+ end
27
+
22
28
  # Returns an Array of all the valid country codes.
23
29
  def self.all_codes
24
30
  require 'tzinfo/countries/Index'
@@ -34,20 +40,22 @@ module TZInfo
34
40
 
35
41
  # Initializes the Country.
36
42
  def initialize
37
- super
38
- @zone_names = []
39
- @code = nil
40
- @name = nil
43
+
41
44
  end
42
45
 
43
46
  # The country code.
44
47
  def code
45
- @code
48
+ 'Unknown'
46
49
  end
47
50
 
48
51
  # The name of the country.
49
52
  def name
50
- @name
53
+ 'Unknown'
54
+ end
55
+
56
+ # Array of Timezone identifiers for the country.
57
+ def zone_names
58
+ []
51
59
  end
52
60
 
53
61
  # Array of Timezone identifiers for the country.
@@ -57,26 +65,48 @@ module TZInfo
57
65
 
58
66
  # An array of all the Timezones for this country.
59
67
  def zones
60
- @zone_names.collect {|zone_name|
68
+ zone_names.collect {|zone_name|
61
69
  Timezone.get(zone_name)
62
70
  }
63
71
  end
64
72
 
65
73
  protected
66
- def add_zone(zone_name)
67
- @zone_names << zone_name
68
- end
69
-
70
- def zones_added
71
- @zone_names.freeze
72
- end
73
-
74
- def set_code(code)
75
- @code = code
76
- end
77
-
78
- def set_name(name)
79
- @name = name
80
- end
74
+ def self.setup
75
+ class_eval <<CODE
76
+ @@zone_names = []
77
+ def self.add_zone(zone_name)
78
+ @@zone_names << zone_name
79
+ end
80
+
81
+ def self.zones_added
82
+ @@zone_names.freeze
83
+ end
84
+
85
+ def self.set_code(code)
86
+ @@code = code
87
+ end
88
+
89
+ def self.set_name(name)
90
+ @@name = name
91
+ end
92
+
93
+ def zone_names
94
+ @@zone_names
95
+ end
96
+
97
+ def code
98
+ @@code
99
+ end
100
+
101
+ def name
102
+ @@name
103
+ end
104
+
105
+ @@instance = new
106
+ def self.instance
107
+ @@instance
108
+ end
109
+ CODE
110
+ end
81
111
  end
82
112
  end
@@ -3,16 +3,10 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Abidjan < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Abidjan')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,0,16,8),-968,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1912,1,1,0,16,8),nil,0,0,'GMT'))
11
- end
12
- @@instance = new
13
- def self.instance
14
- @@instance
15
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,0,16,8),-968,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1912,1,1,0,16,8),nil,0,0,:'GMT'))
16
10
  end
17
11
  end
18
12
  end
@@ -3,30 +3,24 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Accra < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Accra')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1918,1,1,0,0,52),-52,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1918,1,1,0,0,52),DateTime.new(1936,9,1,0,0,0),0,0,''))
11
- add_period(TimezonePeriod.new(DateTime.new(1936,9,1,0,0,0),DateTime.new(1936,12,30,23,40,0),0,1200,'GHST'))
12
- add_period(TimezonePeriod.new(DateTime.new(1936,12,30,23,40,0),DateTime.new(1937,9,1,0,0,0),0,0,'GMT'))
13
- add_period(TimezonePeriod.new(DateTime.new(1937,9,1,0,0,0),DateTime.new(1937,12,30,23,40,0),0,1200,'GHST'))
14
- add_period(TimezonePeriod.new(DateTime.new(1937,12,30,23,40,0),DateTime.new(1938,9,1,0,0,0),0,0,'GMT'))
15
- add_period(TimezonePeriod.new(DateTime.new(1938,9,1,0,0,0),DateTime.new(1938,12,30,23,40,0),0,1200,'GHST'))
16
- add_period(TimezonePeriod.new(DateTime.new(1938,12,30,23,40,0),DateTime.new(1939,9,1,0,0,0),0,0,'GMT'))
17
- add_period(TimezonePeriod.new(DateTime.new(1939,9,1,0,0,0),DateTime.new(1939,12,30,23,40,0),0,1200,'GHST'))
18
- add_period(TimezonePeriod.new(DateTime.new(1939,12,30,23,40,0),DateTime.new(1940,9,1,0,0,0),0,0,'GMT'))
19
- add_period(TimezonePeriod.new(DateTime.new(1940,9,1,0,0,0),DateTime.new(1940,12,30,23,40,0),0,1200,'GHST'))
20
- add_period(TimezonePeriod.new(DateTime.new(1940,12,30,23,40,0),DateTime.new(1941,9,1,0,0,0),0,0,'GMT'))
21
- add_period(TimezonePeriod.new(DateTime.new(1941,9,1,0,0,0),DateTime.new(1941,12,30,23,40,0),0,1200,'GHST'))
22
- add_period(TimezonePeriod.new(DateTime.new(1941,12,30,23,40,0),DateTime.new(1942,9,1,0,0,0),0,0,'GMT'))
23
- add_period(TimezonePeriod.new(DateTime.new(1942,9,1,0,0,0),DateTime.new(1942,12,30,23,40,0),0,1200,'GHST'))
24
- add_period(TimezonePeriod.new(DateTime.new(1942,12,30,23,40,0),DateTime.new(2045,8,19,20,49,31),0,0,'GMT'))
25
- end
26
- @@instance = new
27
- def self.instance
28
- @@instance
29
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1918,1,1,0,0,52),-52,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1918,1,1,0,0,52),DateTime.new(1936,9,1,0,0,0),0,0,:'Unknown'))
10
+ add_period(TimezonePeriod.new(DateTime.new(1936,9,1,0,0,0),DateTime.new(1936,12,30,23,40,0),0,1200,:'GHST'))
11
+ add_period(TimezonePeriod.new(DateTime.new(1936,12,30,23,40,0),DateTime.new(1937,9,1,0,0,0),0,0,:'GMT'))
12
+ add_period(TimezonePeriod.new(DateTime.new(1937,9,1,0,0,0),DateTime.new(1937,12,30,23,40,0),0,1200,:'GHST'))
13
+ add_period(TimezonePeriod.new(DateTime.new(1937,12,30,23,40,0),DateTime.new(1938,9,1,0,0,0),0,0,:'GMT'))
14
+ add_period(TimezonePeriod.new(DateTime.new(1938,9,1,0,0,0),DateTime.new(1938,12,30,23,40,0),0,1200,:'GHST'))
15
+ add_period(TimezonePeriod.new(DateTime.new(1938,12,30,23,40,0),DateTime.new(1939,9,1,0,0,0),0,0,:'GMT'))
16
+ add_period(TimezonePeriod.new(DateTime.new(1939,9,1,0,0,0),DateTime.new(1939,12,30,23,40,0),0,1200,:'GHST'))
17
+ add_period(TimezonePeriod.new(DateTime.new(1939,12,30,23,40,0),DateTime.new(1940,9,1,0,0,0),0,0,:'GMT'))
18
+ add_period(TimezonePeriod.new(DateTime.new(1940,9,1,0,0,0),DateTime.new(1940,12,30,23,40,0),0,1200,:'GHST'))
19
+ add_period(TimezonePeriod.new(DateTime.new(1940,12,30,23,40,0),DateTime.new(1941,9,1,0,0,0),0,0,:'GMT'))
20
+ add_period(TimezonePeriod.new(DateTime.new(1941,9,1,0,0,0),DateTime.new(1941,12,30,23,40,0),0,1200,:'GHST'))
21
+ add_period(TimezonePeriod.new(DateTime.new(1941,12,30,23,40,0),DateTime.new(1942,9,1,0,0,0),0,0,:'GMT'))
22
+ add_period(TimezonePeriod.new(DateTime.new(1942,9,1,0,0,0),DateTime.new(1942,12,30,23,40,0),0,1200,:'GHST'))
23
+ add_period(TimezonePeriod.new(DateTime.new(1942,12,30,23,40,0),DateTime.new(2045,9,3,22,38,11),0,0,:'GMT'))
30
24
  end
31
25
  end
32
26
  end
@@ -3,17 +3,11 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Addis_Ababa < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Addis_Ababa')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1869,12,31,21,25,12),9288,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1869,12,31,21,25,12),DateTime.new(1936,5,4,21,24,40),9320,0,'ADMT'))
11
- add_period(TimezonePeriod.new(DateTime.new(1936,5,4,21,24,40),nil,10800,0,'EAT'))
12
- end
13
- @@instance = new
14
- def self.instance
15
- @@instance
16
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1869,12,31,21,25,12),9288,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1869,12,31,21,25,12),DateTime.new(1936,5,4,21,24,40),9320,0,:'ADMT'))
10
+ add_period(TimezonePeriod.new(DateTime.new(1936,5,4,21,24,40),nil,10800,0,:'EAT'))
17
11
  end
18
12
  end
19
13
  end
@@ -3,49 +3,43 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Algiers < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Algiers')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1891,3,14,23,48,48),732,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1891,3,14,23,48,48),DateTime.new(1911,3,10,23,50,39),561,0,'PMT'))
11
- add_period(TimezonePeriod.new(DateTime.new(1911,3,10,23,50,39),DateTime.new(1916,6,14,23,0,0),0,0,'WET'))
12
- add_period(TimezonePeriod.new(DateTime.new(1916,6,14,23,0,0),DateTime.new(1916,10,1,23,0,0),0,3600,'WEST'))
13
- add_period(TimezonePeriod.new(DateTime.new(1916,10,1,23,0,0),DateTime.new(1917,3,24,23,0,0),0,0,'WET'))
14
- add_period(TimezonePeriod.new(DateTime.new(1917,3,24,23,0,0),DateTime.new(1917,10,7,23,0,0),0,3600,'WEST'))
15
- add_period(TimezonePeriod.new(DateTime.new(1917,10,7,23,0,0),DateTime.new(1918,3,9,23,0,0),0,0,'WET'))
16
- add_period(TimezonePeriod.new(DateTime.new(1918,3,9,23,0,0),DateTime.new(1918,10,6,23,0,0),0,3600,'WEST'))
17
- add_period(TimezonePeriod.new(DateTime.new(1918,10,6,23,0,0),DateTime.new(1919,3,1,23,0,0),0,0,'WET'))
18
- add_period(TimezonePeriod.new(DateTime.new(1919,3,1,23,0,0),DateTime.new(1919,10,5,23,0,0),0,3600,'WEST'))
19
- add_period(TimezonePeriod.new(DateTime.new(1919,10,5,23,0,0),DateTime.new(1920,2,14,23,0,0),0,0,'WET'))
20
- add_period(TimezonePeriod.new(DateTime.new(1920,2,14,23,0,0),DateTime.new(1920,10,23,23,0,0),0,3600,'WEST'))
21
- add_period(TimezonePeriod.new(DateTime.new(1920,10,23,23,0,0),DateTime.new(1921,3,14,23,0,0),0,0,'WET'))
22
- add_period(TimezonePeriod.new(DateTime.new(1921,3,14,23,0,0),DateTime.new(1921,6,21,23,0,0),0,3600,'WEST'))
23
- add_period(TimezonePeriod.new(DateTime.new(1921,6,21,23,0,0),DateTime.new(1939,9,11,23,0,0),0,0,'WET'))
24
- add_period(TimezonePeriod.new(DateTime.new(1939,9,11,23,0,0),DateTime.new(1939,11,19,0,0,0),0,3600,'WEST'))
25
- add_period(TimezonePeriod.new(DateTime.new(1939,11,19,0,0,0),DateTime.new(1940,2,25,2,0,0),0,0,'WET'))
26
- add_period(TimezonePeriod.new(DateTime.new(1940,2,25,2,0,0),DateTime.new(1944,4,3,1,0,0),3600,0,'CET'))
27
- add_period(TimezonePeriod.new(DateTime.new(1944,4,3,1,0,0),DateTime.new(1944,10,8,0,0,0),3600,3600,'CEST'))
28
- add_period(TimezonePeriod.new(DateTime.new(1944,10,8,0,0,0),DateTime.new(1945,4,2,1,0,0),3600,0,'CET'))
29
- add_period(TimezonePeriod.new(DateTime.new(1945,4,2,1,0,0),DateTime.new(1945,9,15,23,0,0),3600,3600,'CEST'))
30
- add_period(TimezonePeriod.new(DateTime.new(1945,9,15,23,0,0),DateTime.new(1946,10,6,23,0,0),3600,0,'CET'))
31
- add_period(TimezonePeriod.new(DateTime.new(1946,10,6,23,0,0),DateTime.new(1956,1,29,0,0,0),0,0,'WET'))
32
- add_period(TimezonePeriod.new(DateTime.new(1956,1,29,0,0,0),DateTime.new(1963,4,13,23,0,0),3600,0,'CET'))
33
- add_period(TimezonePeriod.new(DateTime.new(1963,4,13,23,0,0),DateTime.new(1971,4,25,23,0,0),0,0,'WET'))
34
- add_period(TimezonePeriod.new(DateTime.new(1971,4,25,23,0,0),DateTime.new(1971,9,26,23,0,0),0,3600,'WEST'))
35
- add_period(TimezonePeriod.new(DateTime.new(1971,9,26,23,0,0),DateTime.new(1977,5,6,0,0,0),0,0,'WET'))
36
- add_period(TimezonePeriod.new(DateTime.new(1977,5,6,0,0,0),DateTime.new(1977,10,20,23,0,0),0,3600,'WEST'))
37
- add_period(TimezonePeriod.new(DateTime.new(1977,10,20,23,0,0),DateTime.new(1978,3,24,0,0,0),3600,0,'CET'))
38
- add_period(TimezonePeriod.new(DateTime.new(1978,3,24,0,0,0),DateTime.new(1978,9,22,1,0,0),3600,3600,'CEST'))
39
- add_period(TimezonePeriod.new(DateTime.new(1978,9,22,1,0,0),DateTime.new(1979,10,25,23,0,0),3600,0,'CET'))
40
- add_period(TimezonePeriod.new(DateTime.new(1979,10,25,23,0,0),DateTime.new(1980,4,25,0,0,0),0,0,'WET'))
41
- add_period(TimezonePeriod.new(DateTime.new(1980,4,25,0,0,0),DateTime.new(1980,10,31,1,0,0),0,3600,'WEST'))
42
- add_period(TimezonePeriod.new(DateTime.new(1980,10,31,1,0,0),DateTime.new(1981,5,1,0,0,0),0,0,'WET'))
43
- add_period(TimezonePeriod.new(DateTime.new(1981,5,1,0,0,0),nil,3600,0,'CET'))
44
- end
45
- @@instance = new
46
- def self.instance
47
- @@instance
48
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1891,3,14,23,48,48),732,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1891,3,14,23,48,48),DateTime.new(1911,3,10,23,50,39),561,0,:'PMT'))
10
+ add_period(TimezonePeriod.new(DateTime.new(1911,3,10,23,50,39),DateTime.new(1916,6,14,23,0,0),0,0,:'WET'))
11
+ add_period(TimezonePeriod.new(DateTime.new(1916,6,14,23,0,0),DateTime.new(1916,10,1,23,0,0),0,3600,:'WEST'))
12
+ add_period(TimezonePeriod.new(DateTime.new(1916,10,1,23,0,0),DateTime.new(1917,3,24,23,0,0),0,0,:'WET'))
13
+ add_period(TimezonePeriod.new(DateTime.new(1917,3,24,23,0,0),DateTime.new(1917,10,7,23,0,0),0,3600,:'WEST'))
14
+ add_period(TimezonePeriod.new(DateTime.new(1917,10,7,23,0,0),DateTime.new(1918,3,9,23,0,0),0,0,:'WET'))
15
+ add_period(TimezonePeriod.new(DateTime.new(1918,3,9,23,0,0),DateTime.new(1918,10,6,23,0,0),0,3600,:'WEST'))
16
+ add_period(TimezonePeriod.new(DateTime.new(1918,10,6,23,0,0),DateTime.new(1919,3,1,23,0,0),0,0,:'WET'))
17
+ add_period(TimezonePeriod.new(DateTime.new(1919,3,1,23,0,0),DateTime.new(1919,10,5,23,0,0),0,3600,:'WEST'))
18
+ add_period(TimezonePeriod.new(DateTime.new(1919,10,5,23,0,0),DateTime.new(1920,2,14,23,0,0),0,0,:'WET'))
19
+ add_period(TimezonePeriod.new(DateTime.new(1920,2,14,23,0,0),DateTime.new(1920,10,23,23,0,0),0,3600,:'WEST'))
20
+ add_period(TimezonePeriod.new(DateTime.new(1920,10,23,23,0,0),DateTime.new(1921,3,14,23,0,0),0,0,:'WET'))
21
+ add_period(TimezonePeriod.new(DateTime.new(1921,3,14,23,0,0),DateTime.new(1921,6,21,23,0,0),0,3600,:'WEST'))
22
+ add_period(TimezonePeriod.new(DateTime.new(1921,6,21,23,0,0),DateTime.new(1939,9,11,23,0,0),0,0,:'WET'))
23
+ add_period(TimezonePeriod.new(DateTime.new(1939,9,11,23,0,0),DateTime.new(1939,11,19,0,0,0),0,3600,:'WEST'))
24
+ add_period(TimezonePeriod.new(DateTime.new(1939,11,19,0,0,0),DateTime.new(1940,2,25,2,0,0),0,0,:'WET'))
25
+ add_period(TimezonePeriod.new(DateTime.new(1940,2,25,2,0,0),DateTime.new(1944,4,3,1,0,0),3600,0,:'CET'))
26
+ add_period(TimezonePeriod.new(DateTime.new(1944,4,3,1,0,0),DateTime.new(1944,10,8,0,0,0),3600,3600,:'CEST'))
27
+ add_period(TimezonePeriod.new(DateTime.new(1944,10,8,0,0,0),DateTime.new(1945,4,2,1,0,0),3600,0,:'CET'))
28
+ add_period(TimezonePeriod.new(DateTime.new(1945,4,2,1,0,0),DateTime.new(1945,9,15,23,0,0),3600,3600,:'CEST'))
29
+ add_period(TimezonePeriod.new(DateTime.new(1945,9,15,23,0,0),DateTime.new(1946,10,6,23,0,0),3600,0,:'CET'))
30
+ add_period(TimezonePeriod.new(DateTime.new(1946,10,6,23,0,0),DateTime.new(1956,1,29,0,0,0),0,0,:'WET'))
31
+ add_period(TimezonePeriod.new(DateTime.new(1956,1,29,0,0,0),DateTime.new(1963,4,13,23,0,0),3600,0,:'CET'))
32
+ add_period(TimezonePeriod.new(DateTime.new(1963,4,13,23,0,0),DateTime.new(1971,4,25,23,0,0),0,0,:'WET'))
33
+ add_period(TimezonePeriod.new(DateTime.new(1971,4,25,23,0,0),DateTime.new(1971,9,26,23,0,0),0,3600,:'WEST'))
34
+ add_period(TimezonePeriod.new(DateTime.new(1971,9,26,23,0,0),DateTime.new(1977,5,6,0,0,0),0,0,:'WET'))
35
+ add_period(TimezonePeriod.new(DateTime.new(1977,5,6,0,0,0),DateTime.new(1977,10,20,23,0,0),0,3600,:'WEST'))
36
+ add_period(TimezonePeriod.new(DateTime.new(1977,10,20,23,0,0),DateTime.new(1978,3,24,0,0,0),3600,0,:'CET'))
37
+ add_period(TimezonePeriod.new(DateTime.new(1978,3,24,0,0,0),DateTime.new(1978,9,22,1,0,0),3600,3600,:'CEST'))
38
+ add_period(TimezonePeriod.new(DateTime.new(1978,9,22,1,0,0),DateTime.new(1979,10,25,23,0,0),3600,0,:'CET'))
39
+ add_period(TimezonePeriod.new(DateTime.new(1979,10,25,23,0,0),DateTime.new(1980,4,25,0,0,0),0,0,:'WET'))
40
+ add_period(TimezonePeriod.new(DateTime.new(1980,4,25,0,0,0),DateTime.new(1980,10,31,1,0,0),0,3600,:'WEST'))
41
+ add_period(TimezonePeriod.new(DateTime.new(1980,10,31,1,0,0),DateTime.new(1981,5,1,0,0,0),0,0,:'WET'))
42
+ add_period(TimezonePeriod.new(DateTime.new(1981,5,1,0,0,0),nil,3600,0,:'CET'))
49
43
  end
50
44
  end
51
45
  end
@@ -3,18 +3,12 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Asmera < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Asmera')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1869,12,31,21,24,28),9332,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1869,12,31,21,24,28),DateTime.new(1889,12,31,21,24,28),9332,0,'AMT'))
11
- add_period(TimezonePeriod.new(DateTime.new(1889,12,31,21,24,28),DateTime.new(1936,5,4,21,24,40),9320,0,'ADMT'))
12
- add_period(TimezonePeriod.new(DateTime.new(1936,5,4,21,24,40),nil,10800,0,'EAT'))
13
- end
14
- @@instance = new
15
- def self.instance
16
- @@instance
17
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1869,12,31,21,24,28),9332,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1869,12,31,21,24,28),DateTime.new(1889,12,31,21,24,28),9332,0,:'AMT'))
10
+ add_period(TimezonePeriod.new(DateTime.new(1889,12,31,21,24,28),DateTime.new(1936,5,4,21,24,40),9320,0,:'ADMT'))
11
+ add_period(TimezonePeriod.new(DateTime.new(1936,5,4,21,24,40),nil,10800,0,:'EAT'))
18
12
  end
19
13
  end
20
14
  end
@@ -3,18 +3,12 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Bamako < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Bamako')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,0,32,0),-1920,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1912,1,1,0,32,0),DateTime.new(1934,2,26,0,0,0),0,0,'GMT'))
11
- add_period(TimezonePeriod.new(DateTime.new(1934,2,26,0,0,0),DateTime.new(1960,6,20,1,0,0),-3600,0,'WAT'))
12
- add_period(TimezonePeriod.new(DateTime.new(1960,6,20,1,0,0),nil,0,0,'GMT'))
13
- end
14
- @@instance = new
15
- def self.instance
16
- @@instance
17
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,0,32,0),-1920,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1912,1,1,0,32,0),DateTime.new(1934,2,26,0,0,0),0,0,:'GMT'))
10
+ add_period(TimezonePeriod.new(DateTime.new(1934,2,26,0,0,0),DateTime.new(1960,6,20,1,0,0),-3600,0,:'WAT'))
11
+ add_period(TimezonePeriod.new(DateTime.new(1960,6,20,1,0,0),nil,0,0,:'GMT'))
18
12
  end
19
13
  end
20
14
  end
@@ -3,16 +3,10 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Bangui < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Bangui')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1911,12,31,22,45,40),4460,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1911,12,31,22,45,40),nil,3600,0,'WAT'))
11
- end
12
- @@instance = new
13
- def self.instance
14
- @@instance
15
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1911,12,31,22,45,40),4460,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1911,12,31,22,45,40),nil,3600,0,:'WAT'))
16
10
  end
17
11
  end
18
12
  end
@@ -3,18 +3,12 @@ module TZInfo
3
3
  module Definitions #:nodoc:
4
4
  module Africa #:nodoc:
5
5
  class Banjul < Timezone #:nodoc:
6
- def initialize
7
- super
6
+ setup
8
7
  set_identifier('Africa/Banjul')
9
- add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,1,6,36),-3996,0,'LMT'))
10
- add_period(TimezonePeriod.new(DateTime.new(1912,1,1,1,6,36),DateTime.new(1935,1,1,1,6,36),-3996,0,'BMT'))
11
- add_period(TimezonePeriod.new(DateTime.new(1935,1,1,1,6,36),DateTime.new(1964,1,1,1,0,0),-3600,0,'WAT'))
12
- add_period(TimezonePeriod.new(DateTime.new(1964,1,1,1,0,0),nil,0,0,'GMT'))
13
- end
14
- @@instance = new
15
- def self.instance
16
- @@instance
17
- end
8
+ add_period(TimezonePeriod.new(nil,DateTime.new(1912,1,1,1,6,36),-3996,0,:'LMT'))
9
+ add_period(TimezonePeriod.new(DateTime.new(1912,1,1,1,6,36),DateTime.new(1935,1,1,1,6,36),-3996,0,:'BMT'))
10
+ add_period(TimezonePeriod.new(DateTime.new(1935,1,1,1,6,36),DateTime.new(1964,1,1,1,0,0),-3600,0,:'WAT'))
11
+ add_period(TimezonePeriod.new(DateTime.new(1964,1,1,1,0,0),nil,0,0,:'GMT'))
18
12
  end
19
13
  end
20
14
  end