activesupport 2.0.5 → 2.1.0

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

Potentially problematic release.


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

Files changed (236) hide show
  1. data/CHANGELOG +183 -5
  2. data/lib/active_support.rb +6 -2
  3. data/lib/active_support/base64.rb +5 -0
  4. data/lib/active_support/basic_object.rb +23 -4
  5. data/lib/active_support/buffered_logger.rb +17 -3
  6. data/lib/active_support/cache.rb +145 -0
  7. data/lib/active_support/cache/compressed_mem_cache_store.rb +15 -0
  8. data/lib/active_support/cache/drb_store.rb +15 -0
  9. data/lib/active_support/cache/file_store.rb +70 -0
  10. data/lib/active_support/cache/mem_cache_store.rb +100 -0
  11. data/lib/active_support/cache/memory_store.rb +38 -0
  12. data/lib/active_support/callbacks.rb +275 -0
  13. data/lib/active_support/core_ext/array/access.rb +2 -4
  14. data/lib/active_support/core_ext/array/conversions.rb +89 -5
  15. data/lib/active_support/core_ext/array/extract_options.rb +2 -1
  16. data/lib/active_support/core_ext/array/grouping.rb +3 -8
  17. data/lib/active_support/core_ext/array/random_access.rb +1 -1
  18. data/lib/active_support/core_ext/base64.rb +4 -0
  19. data/lib/active_support/core_ext/base64/encoding.rb +13 -0
  20. data/lib/active_support/core_ext/benchmark.rb +12 -0
  21. data/lib/active_support/core_ext/bigdecimal.rb +4 -0
  22. data/lib/active_support/core_ext/bigdecimal/conversions.rb +39 -4
  23. data/lib/active_support/core_ext/blank.rb +5 -2
  24. data/lib/active_support/core_ext/class/attribute_accessors.rb +7 -1
  25. data/lib/active_support/core_ext/class/delegating_attributes.rb +7 -1
  26. data/lib/active_support/core_ext/class/inheritable_attributes.rb +1 -1
  27. data/lib/active_support/core_ext/class/removal.rb +26 -0
  28. data/lib/active_support/core_ext/date/calculations.rb +28 -1
  29. data/lib/active_support/core_ext/date/conversions.rb +1 -0
  30. data/lib/active_support/core_ext/date_time.rb +2 -0
  31. data/lib/active_support/core_ext/date_time/calculations.rb +37 -2
  32. data/lib/active_support/core_ext/date_time/conversions.rb +27 -14
  33. data/lib/active_support/core_ext/enumerable.rb +16 -9
  34. data/lib/active_support/core_ext/exception.rb +8 -0
  35. data/lib/active_support/core_ext/file.rb +6 -6
  36. data/lib/active_support/core_ext/hash/conversions.rb +26 -8
  37. data/lib/active_support/core_ext/hash/indifferent_access.rb +35 -0
  38. data/lib/active_support/core_ext/hash/reverse_merge.rb +4 -1
  39. data/lib/active_support/core_ext/integer/even_odd.rb +10 -5
  40. data/lib/active_support/core_ext/integer/inflections.rb +0 -1
  41. data/lib/active_support/core_ext/kernel/daemonizing.rb +2 -10
  42. data/lib/active_support/core_ext/kernel/reporting.rb +8 -0
  43. data/lib/active_support/core_ext/module/attr_internal.rb +4 -3
  44. data/lib/active_support/core_ext/module/attribute_accessors.rb +11 -1
  45. data/lib/active_support/core_ext/module/delegation.rb +5 -3
  46. data/lib/active_support/core_ext/module/inclusion.rb +19 -0
  47. data/lib/active_support/core_ext/module/introspection.rb +50 -16
  48. data/lib/active_support/core_ext/module/loading.rb +10 -0
  49. data/lib/active_support/core_ext/numeric.rb +3 -1
  50. data/lib/active_support/core_ext/numeric/conversions.rb +19 -0
  51. data/lib/active_support/core_ext/object/instance_variables.rb +52 -0
  52. data/lib/active_support/core_ext/object/misc.rb +1 -1
  53. data/lib/active_support/core_ext/process.rb +1 -0
  54. data/lib/active_support/core_ext/process/daemon.rb +25 -0
  55. data/lib/active_support/core_ext/range/conversions.rb +5 -1
  56. data/lib/active_support/core_ext/range/include_range.rb +8 -0
  57. data/lib/active_support/core_ext/range/overlaps.rb +3 -0
  58. data/lib/active_support/core_ext/string.rb +5 -10
  59. data/lib/active_support/core_ext/string/access.rb +72 -48
  60. data/lib/active_support/core_ext/string/conversions.rb +4 -4
  61. data/lib/active_support/core_ext/string/filters.rb +26 -0
  62. data/lib/active_support/core_ext/string/inflections.rb +56 -64
  63. data/lib/active_support/core_ext/string/iterators.rb +4 -0
  64. data/lib/active_support/core_ext/string/starts_ends_with.rb +12 -4
  65. data/lib/active_support/core_ext/string/unicode.rb +14 -7
  66. data/lib/active_support/core_ext/symbol.rb +1 -1
  67. data/lib/active_support/core_ext/time.rb +2 -0
  68. data/lib/active_support/core_ext/time/calculations.rb +75 -23
  69. data/lib/active_support/core_ext/time/conversions.rb +22 -35
  70. data/lib/active_support/core_ext/time/zones.rb +86 -0
  71. data/lib/active_support/dependencies.rb +92 -80
  72. data/lib/active_support/deprecation.rb +2 -16
  73. data/lib/active_support/duration.rb +4 -4
  74. data/lib/active_support/gzip.rb +25 -0
  75. data/lib/active_support/inflector.rb +92 -69
  76. data/lib/active_support/json.rb +17 -25
  77. data/lib/active_support/json/decoding.rb +1 -1
  78. data/lib/active_support/json/encoders/date.rb +11 -2
  79. data/lib/active_support/json/encoders/date_time.rb +11 -2
  80. data/lib/active_support/json/encoders/enumerable.rb +2 -2
  81. data/lib/active_support/json/encoders/hash.rb +3 -6
  82. data/lib/active_support/json/encoders/object.rb +1 -1
  83. data/lib/active_support/json/encoders/string.rb +8 -2
  84. data/lib/active_support/json/encoders/time.rb +11 -2
  85. data/lib/active_support/json/encoding.rb +0 -1
  86. data/lib/active_support/multibyte/chars.rb +8 -6
  87. data/lib/active_support/multibyte/handlers/utf8_handler.rb +11 -11
  88. data/lib/active_support/ordered_hash.rb +43 -0
  89. data/lib/active_support/ordered_options.rb +0 -38
  90. data/lib/active_support/test_case.rb +10 -2
  91. data/lib/active_support/testing/default.rb +3 -6
  92. data/lib/active_support/testing/setup_and_teardown.rb +93 -0
  93. data/lib/active_support/time_with_zone.rb +283 -0
  94. data/lib/active_support/values/time_zone.rb +336 -123
  95. data/lib/active_support/vendor.rb +12 -0
  96. data/lib/active_support/vendor/memcache-client-1.5.0/memcache.rb +849 -0
  97. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo.rb +33 -0
  98. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/data_timezone.rb +47 -0
  99. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/data_timezone_info.rb +226 -0
  100. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Algiers.rb +55 -0
  101. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Cairo.rb +219 -0
  102. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Casablanca.rb +38 -0
  103. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Harare.rb +18 -0
  104. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
  105. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Monrovia.rb +22 -0
  106. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Africa/Nairobi.rb +23 -0
  107. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +166 -0
  108. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Argentina/San_Juan.rb +170 -0
  109. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Bogota.rb +23 -0
  110. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Caracas.rb +23 -0
  111. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Chicago.rb +283 -0
  112. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Chihuahua.rb +136 -0
  113. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Denver.rb +204 -0
  114. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Godthab.rb +161 -0
  115. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Guatemala.rb +27 -0
  116. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Halifax.rb +274 -0
  117. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
  118. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Juneau.rb +194 -0
  119. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/La_Paz.rb +22 -0
  120. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Lima.rb +35 -0
  121. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Los_Angeles.rb +232 -0
  122. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Mazatlan.rb +139 -0
  123. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Mexico_City.rb +144 -0
  124. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Monterrey.rb +131 -0
  125. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/New_York.rb +282 -0
  126. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Phoenix.rb +30 -0
  127. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Regina.rb +74 -0
  128. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Santiago.rb +205 -0
  129. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/St_Johns.rb +288 -0
  130. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/America/Tijuana.rb +196 -0
  131. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Almaty.rb +67 -0
  132. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Baghdad.rb +73 -0
  133. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Baku.rb +161 -0
  134. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Bangkok.rb +20 -0
  135. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Chongqing.rb +33 -0
  136. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Dhaka.rb +27 -0
  137. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
  138. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
  139. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Jakarta.rb +30 -0
  140. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
  141. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Kabul.rb +20 -0
  142. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
  143. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Karachi.rb +28 -0
  144. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Katmandu.rb +20 -0
  145. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Kolkata.rb +25 -0
  146. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
  147. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
  148. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Kuwait.rb +18 -0
  149. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Magadan.rb +163 -0
  150. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Muscat.rb +18 -0
  151. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
  152. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Rangoon.rb +24 -0
  153. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Riyadh.rb +18 -0
  154. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Seoul.rb +34 -0
  155. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Shanghai.rb +35 -0
  156. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Singapore.rb +33 -0
  157. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Taipei.rb +59 -0
  158. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Tashkent.rb +47 -0
  159. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
  160. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Tehran.rb +121 -0
  161. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Tokyo.rb +30 -0
  162. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
  163. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Urumqi.rb +33 -0
  164. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
  165. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
  166. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
  167. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Asia/Yerevan.rb +165 -0
  168. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Atlantic/Azores.rb +270 -0
  169. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
  170. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
  171. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Adelaide.rb +187 -0
  172. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Brisbane.rb +35 -0
  173. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Darwin.rb +29 -0
  174. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Hobart.rb +193 -0
  175. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Melbourne.rb +185 -0
  176. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Perth.rb +37 -0
  177. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Australia/Sydney.rb +185 -0
  178. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Etc/UTC.rb +16 -0
  179. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
  180. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Athens.rb +185 -0
  181. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Belgrade.rb +163 -0
  182. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Berlin.rb +188 -0
  183. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Bratislava.rb +13 -0
  184. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Brussels.rb +232 -0
  185. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Bucharest.rb +181 -0
  186. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Budapest.rb +197 -0
  187. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
  188. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Dublin.rb +276 -0
  189. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Helsinki.rb +163 -0
  190. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Istanbul.rb +218 -0
  191. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Kiev.rb +168 -0
  192. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Lisbon.rb +268 -0
  193. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
  194. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/London.rb +288 -0
  195. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Madrid.rb +211 -0
  196. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Minsk.rb +170 -0
  197. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Moscow.rb +181 -0
  198. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Paris.rb +232 -0
  199. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Prague.rb +187 -0
  200. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Riga.rb +176 -0
  201. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Rome.rb +215 -0
  202. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
  203. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Skopje.rb +13 -0
  204. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Sofia.rb +173 -0
  205. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Stockholm.rb +165 -0
  206. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Tallinn.rb +172 -0
  207. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Vienna.rb +183 -0
  208. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Vilnius.rb +170 -0
  209. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Warsaw.rb +212 -0
  210. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Europe/Zagreb.rb +13 -0
  211. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Auckland.rb +202 -0
  212. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Fiji.rb +23 -0
  213. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Guam.rb +22 -0
  214. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
  215. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Majuro.rb +20 -0
  216. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Midway.rb +25 -0
  217. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Noumea.rb +25 -0
  218. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
  219. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
  220. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
  221. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/info_timezone.rb +52 -0
  222. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/linked_timezone.rb +51 -0
  223. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/linked_timezone_info.rb +44 -0
  224. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/offset_rationals.rb +95 -0
  225. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/time_or_datetime.rb +292 -0
  226. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone.rb +508 -0
  227. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone_definition.rb +56 -0
  228. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone_info.rb +40 -0
  229. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone_offset_info.rb +94 -0
  230. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone_period.rb +198 -0
  231. data/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone_transition_info.rb +138 -0
  232. data/lib/active_support/version.rb +2 -2
  233. data/lib/active_support/whiny_nil.rb +30 -10
  234. metadata +175 -5
  235. data/lib/active_support/core_ext/rexml.rb +0 -38
  236. data/lib/active_support/testing.rb +0 -1
@@ -0,0 +1,20 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Bangkok
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Bangkok' do |tz|
10
+ tz.offset :o0, 24124, 0, :LMT
11
+ tz.offset :o1, 24124, 0, :BMT
12
+ tz.offset :o2, 25200, 0, :ICT
13
+
14
+ tz.transition 1879, 12, :o1, 52006648769, 21600
15
+ tz.transition 1920, 3, :o2, 52324168769, 21600
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,33 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Chongqing
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Chongqing' do |tz|
10
+ tz.offset :o0, 25580, 0, :LMT
11
+ tz.offset :o1, 25200, 0, :LONT
12
+ tz.offset :o2, 28800, 0, :CST
13
+ tz.offset :o3, 28800, 3600, :CDT
14
+
15
+ tz.transition 1927, 12, :o1, 10477063601, 4320
16
+ tz.transition 1980, 4, :o2, 325962000
17
+ tz.transition 1986, 5, :o3, 515520000
18
+ tz.transition 1986, 9, :o2, 527007600
19
+ tz.transition 1987, 4, :o3, 545155200
20
+ tz.transition 1987, 9, :o2, 558457200
21
+ tz.transition 1988, 4, :o3, 576604800
22
+ tz.transition 1988, 9, :o2, 589906800
23
+ tz.transition 1989, 4, :o3, 608659200
24
+ tz.transition 1989, 9, :o2, 621961200
25
+ tz.transition 1990, 4, :o3, 640108800
26
+ tz.transition 1990, 9, :o2, 653410800
27
+ tz.transition 1991, 4, :o3, 671558400
28
+ tz.transition 1991, 9, :o2, 684860400
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,27 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Dhaka
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Dhaka' do |tz|
10
+ tz.offset :o0, 21700, 0, :LMT
11
+ tz.offset :o1, 21200, 0, :HMT
12
+ tz.offset :o2, 23400, 0, :BURT
13
+ tz.offset :o3, 19800, 0, :IST
14
+ tz.offset :o4, 21600, 0, :DACT
15
+ tz.offset :o5, 21600, 0, :BDT
16
+
17
+ tz.transition 1889, 12, :o1, 2083422167, 864
18
+ tz.transition 1941, 9, :o2, 524937943, 216
19
+ tz.transition 1942, 5, :o3, 116663723, 48
20
+ tz.transition 1942, 8, :o2, 116668957, 48
21
+ tz.transition 1951, 9, :o4, 116828123, 48
22
+ tz.transition 1971, 3, :o5, 38772000
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,87 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Hong_Kong
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Hong_Kong' do |tz|
10
+ tz.offset :o0, 27396, 0, :LMT
11
+ tz.offset :o1, 28800, 0, :HKT
12
+ tz.offset :o2, 28800, 3600, :HKST
13
+
14
+ tz.transition 1904, 10, :o1, 5800279639, 2400
15
+ tz.transition 1946, 4, :o2, 38910885, 16
16
+ tz.transition 1946, 11, :o1, 116743453, 48
17
+ tz.transition 1947, 4, :o2, 38916613, 16
18
+ tz.transition 1947, 12, :o1, 116762365, 48
19
+ tz.transition 1948, 5, :o2, 38922773, 16
20
+ tz.transition 1948, 10, :o1, 116777053, 48
21
+ tz.transition 1949, 4, :o2, 38928149, 16
22
+ tz.transition 1949, 10, :o1, 116794525, 48
23
+ tz.transition 1950, 4, :o2, 38933973, 16
24
+ tz.transition 1950, 10, :o1, 116811997, 48
25
+ tz.transition 1951, 3, :o2, 38939797, 16
26
+ tz.transition 1951, 10, :o1, 116829469, 48
27
+ tz.transition 1952, 4, :o2, 38945733, 16
28
+ tz.transition 1952, 10, :o1, 116846941, 48
29
+ tz.transition 1953, 4, :o2, 38951557, 16
30
+ tz.transition 1953, 10, :o1, 116864749, 48
31
+ tz.transition 1954, 3, :o2, 38957157, 16
32
+ tz.transition 1954, 10, :o1, 116882221, 48
33
+ tz.transition 1955, 3, :o2, 38962981, 16
34
+ tz.transition 1955, 11, :o1, 116900029, 48
35
+ tz.transition 1956, 3, :o2, 38968805, 16
36
+ tz.transition 1956, 11, :o1, 116917501, 48
37
+ tz.transition 1957, 3, :o2, 38974741, 16
38
+ tz.transition 1957, 11, :o1, 116934973, 48
39
+ tz.transition 1958, 3, :o2, 38980565, 16
40
+ tz.transition 1958, 11, :o1, 116952445, 48
41
+ tz.transition 1959, 3, :o2, 38986389, 16
42
+ tz.transition 1959, 10, :o1, 116969917, 48
43
+ tz.transition 1960, 3, :o2, 38992213, 16
44
+ tz.transition 1960, 11, :o1, 116987725, 48
45
+ tz.transition 1961, 3, :o2, 38998037, 16
46
+ tz.transition 1961, 11, :o1, 117005197, 48
47
+ tz.transition 1962, 3, :o2, 39003861, 16
48
+ tz.transition 1962, 11, :o1, 117022669, 48
49
+ tz.transition 1963, 3, :o2, 39009797, 16
50
+ tz.transition 1963, 11, :o1, 117040141, 48
51
+ tz.transition 1964, 3, :o2, 39015621, 16
52
+ tz.transition 1964, 10, :o1, 117057613, 48
53
+ tz.transition 1965, 4, :o2, 39021893, 16
54
+ tz.transition 1965, 10, :o1, 117074413, 48
55
+ tz.transition 1966, 4, :o2, 39027717, 16
56
+ tz.transition 1966, 10, :o1, 117091885, 48
57
+ tz.transition 1967, 4, :o2, 39033541, 16
58
+ tz.transition 1967, 10, :o1, 117109693, 48
59
+ tz.transition 1968, 4, :o2, 39039477, 16
60
+ tz.transition 1968, 10, :o1, 117127165, 48
61
+ tz.transition 1969, 4, :o2, 39045301, 16
62
+ tz.transition 1969, 10, :o1, 117144637, 48
63
+ tz.transition 1970, 4, :o2, 9315000
64
+ tz.transition 1970, 10, :o1, 25036200
65
+ tz.transition 1971, 4, :o2, 40764600
66
+ tz.transition 1971, 10, :o1, 56485800
67
+ tz.transition 1972, 4, :o2, 72214200
68
+ tz.transition 1972, 10, :o1, 88540200
69
+ tz.transition 1973, 4, :o2, 104268600
70
+ tz.transition 1973, 10, :o1, 119989800
71
+ tz.transition 1974, 4, :o2, 135718200
72
+ tz.transition 1974, 10, :o1, 151439400
73
+ tz.transition 1975, 4, :o2, 167167800
74
+ tz.transition 1975, 10, :o1, 182889000
75
+ tz.transition 1976, 4, :o2, 198617400
76
+ tz.transition 1976, 10, :o1, 214338600
77
+ tz.transition 1977, 4, :o2, 230067000
78
+ tz.transition 1977, 10, :o1, 245788200
79
+ tz.transition 1979, 5, :o2, 295385400
80
+ tz.transition 1979, 10, :o1, 309292200
81
+ tz.transition 1980, 5, :o2, 326835000
82
+ tz.transition 1980, 10, :o1, 340741800
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,165 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Irkutsk
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Irkutsk' do |tz|
10
+ tz.offset :o0, 25040, 0, :LMT
11
+ tz.offset :o1, 25040, 0, :IMT
12
+ tz.offset :o2, 25200, 0, :IRKT
13
+ tz.offset :o3, 28800, 0, :IRKT
14
+ tz.offset :o4, 28800, 3600, :IRKST
15
+ tz.offset :o5, 25200, 3600, :IRKST
16
+
17
+ tz.transition 1879, 12, :o1, 2600332427, 1080
18
+ tz.transition 1920, 1, :o2, 2616136067, 1080
19
+ tz.transition 1930, 6, :o3, 58227557, 24
20
+ tz.transition 1981, 3, :o4, 354902400
21
+ tz.transition 1981, 9, :o3, 370710000
22
+ tz.transition 1982, 3, :o4, 386438400
23
+ tz.transition 1982, 9, :o3, 402246000
24
+ tz.transition 1983, 3, :o4, 417974400
25
+ tz.transition 1983, 9, :o3, 433782000
26
+ tz.transition 1984, 3, :o4, 449596800
27
+ tz.transition 1984, 9, :o3, 465328800
28
+ tz.transition 1985, 3, :o4, 481053600
29
+ tz.transition 1985, 9, :o3, 496778400
30
+ tz.transition 1986, 3, :o4, 512503200
31
+ tz.transition 1986, 9, :o3, 528228000
32
+ tz.transition 1987, 3, :o4, 543952800
33
+ tz.transition 1987, 9, :o3, 559677600
34
+ tz.transition 1988, 3, :o4, 575402400
35
+ tz.transition 1988, 9, :o3, 591127200
36
+ tz.transition 1989, 3, :o4, 606852000
37
+ tz.transition 1989, 9, :o3, 622576800
38
+ tz.transition 1990, 3, :o4, 638301600
39
+ tz.transition 1990, 9, :o3, 654631200
40
+ tz.transition 1991, 3, :o5, 670356000
41
+ tz.transition 1991, 9, :o2, 686084400
42
+ tz.transition 1992, 1, :o3, 695761200
43
+ tz.transition 1992, 3, :o4, 701794800
44
+ tz.transition 1992, 9, :o3, 717516000
45
+ tz.transition 1993, 3, :o4, 733255200
46
+ tz.transition 1993, 9, :o3, 748980000
47
+ tz.transition 1994, 3, :o4, 764704800
48
+ tz.transition 1994, 9, :o3, 780429600
49
+ tz.transition 1995, 3, :o4, 796154400
50
+ tz.transition 1995, 9, :o3, 811879200
51
+ tz.transition 1996, 3, :o4, 828208800
52
+ tz.transition 1996, 10, :o3, 846352800
53
+ tz.transition 1997, 3, :o4, 859658400
54
+ tz.transition 1997, 10, :o3, 877802400
55
+ tz.transition 1998, 3, :o4, 891108000
56
+ tz.transition 1998, 10, :o3, 909252000
57
+ tz.transition 1999, 3, :o4, 922557600
58
+ tz.transition 1999, 10, :o3, 941306400
59
+ tz.transition 2000, 3, :o4, 954007200
60
+ tz.transition 2000, 10, :o3, 972756000
61
+ tz.transition 2001, 3, :o4, 985456800
62
+ tz.transition 2001, 10, :o3, 1004205600
63
+ tz.transition 2002, 3, :o4, 1017511200
64
+ tz.transition 2002, 10, :o3, 1035655200
65
+ tz.transition 2003, 3, :o4, 1048960800
66
+ tz.transition 2003, 10, :o3, 1067104800
67
+ tz.transition 2004, 3, :o4, 1080410400
68
+ tz.transition 2004, 10, :o3, 1099159200
69
+ tz.transition 2005, 3, :o4, 1111860000
70
+ tz.transition 2005, 10, :o3, 1130608800
71
+ tz.transition 2006, 3, :o4, 1143309600
72
+ tz.transition 2006, 10, :o3, 1162058400
73
+ tz.transition 2007, 3, :o4, 1174759200
74
+ tz.transition 2007, 10, :o3, 1193508000
75
+ tz.transition 2008, 3, :o4, 1206813600
76
+ tz.transition 2008, 10, :o3, 1224957600
77
+ tz.transition 2009, 3, :o4, 1238263200
78
+ tz.transition 2009, 10, :o3, 1256407200
79
+ tz.transition 2010, 3, :o4, 1269712800
80
+ tz.transition 2010, 10, :o3, 1288461600
81
+ tz.transition 2011, 3, :o4, 1301162400
82
+ tz.transition 2011, 10, :o3, 1319911200
83
+ tz.transition 2012, 3, :o4, 1332612000
84
+ tz.transition 2012, 10, :o3, 1351360800
85
+ tz.transition 2013, 3, :o4, 1364666400
86
+ tz.transition 2013, 10, :o3, 1382810400
87
+ tz.transition 2014, 3, :o4, 1396116000
88
+ tz.transition 2014, 10, :o3, 1414260000
89
+ tz.transition 2015, 3, :o4, 1427565600
90
+ tz.transition 2015, 10, :o3, 1445709600
91
+ tz.transition 2016, 3, :o4, 1459015200
92
+ tz.transition 2016, 10, :o3, 1477764000
93
+ tz.transition 2017, 3, :o4, 1490464800
94
+ tz.transition 2017, 10, :o3, 1509213600
95
+ tz.transition 2018, 3, :o4, 1521914400
96
+ tz.transition 2018, 10, :o3, 1540663200
97
+ tz.transition 2019, 3, :o4, 1553968800
98
+ tz.transition 2019, 10, :o3, 1572112800
99
+ tz.transition 2020, 3, :o4, 1585418400
100
+ tz.transition 2020, 10, :o3, 1603562400
101
+ tz.transition 2021, 3, :o4, 1616868000
102
+ tz.transition 2021, 10, :o3, 1635616800
103
+ tz.transition 2022, 3, :o4, 1648317600
104
+ tz.transition 2022, 10, :o3, 1667066400
105
+ tz.transition 2023, 3, :o4, 1679767200
106
+ tz.transition 2023, 10, :o3, 1698516000
107
+ tz.transition 2024, 3, :o4, 1711821600
108
+ tz.transition 2024, 10, :o3, 1729965600
109
+ tz.transition 2025, 3, :o4, 1743271200
110
+ tz.transition 2025, 10, :o3, 1761415200
111
+ tz.transition 2026, 3, :o4, 1774720800
112
+ tz.transition 2026, 10, :o3, 1792864800
113
+ tz.transition 2027, 3, :o4, 1806170400
114
+ tz.transition 2027, 10, :o3, 1824919200
115
+ tz.transition 2028, 3, :o4, 1837620000
116
+ tz.transition 2028, 10, :o3, 1856368800
117
+ tz.transition 2029, 3, :o4, 1869069600
118
+ tz.transition 2029, 10, :o3, 1887818400
119
+ tz.transition 2030, 3, :o4, 1901124000
120
+ tz.transition 2030, 10, :o3, 1919268000
121
+ tz.transition 2031, 3, :o4, 1932573600
122
+ tz.transition 2031, 10, :o3, 1950717600
123
+ tz.transition 2032, 3, :o4, 1964023200
124
+ tz.transition 2032, 10, :o3, 1982772000
125
+ tz.transition 2033, 3, :o4, 1995472800
126
+ tz.transition 2033, 10, :o3, 2014221600
127
+ tz.transition 2034, 3, :o4, 2026922400
128
+ tz.transition 2034, 10, :o3, 2045671200
129
+ tz.transition 2035, 3, :o4, 2058372000
130
+ tz.transition 2035, 10, :o3, 2077120800
131
+ tz.transition 2036, 3, :o4, 2090426400
132
+ tz.transition 2036, 10, :o3, 2108570400
133
+ tz.transition 2037, 3, :o4, 2121876000
134
+ tz.transition 2037, 10, :o3, 2140020000
135
+ tz.transition 2038, 3, :o4, 9862041, 4
136
+ tz.transition 2038, 10, :o3, 9862909, 4
137
+ tz.transition 2039, 3, :o4, 9863497, 4
138
+ tz.transition 2039, 10, :o3, 9864365, 4
139
+ tz.transition 2040, 3, :o4, 9864953, 4
140
+ tz.transition 2040, 10, :o3, 9865821, 4
141
+ tz.transition 2041, 3, :o4, 9866437, 4
142
+ tz.transition 2041, 10, :o3, 9867277, 4
143
+ tz.transition 2042, 3, :o4, 9867893, 4
144
+ tz.transition 2042, 10, :o3, 9868733, 4
145
+ tz.transition 2043, 3, :o4, 9869349, 4
146
+ tz.transition 2043, 10, :o3, 9870189, 4
147
+ tz.transition 2044, 3, :o4, 9870805, 4
148
+ tz.transition 2044, 10, :o3, 9871673, 4
149
+ tz.transition 2045, 3, :o4, 9872261, 4
150
+ tz.transition 2045, 10, :o3, 9873129, 4
151
+ tz.transition 2046, 3, :o4, 9873717, 4
152
+ tz.transition 2046, 10, :o3, 9874585, 4
153
+ tz.transition 2047, 3, :o4, 9875201, 4
154
+ tz.transition 2047, 10, :o3, 9876041, 4
155
+ tz.transition 2048, 3, :o4, 9876657, 4
156
+ tz.transition 2048, 10, :o3, 9877497, 4
157
+ tz.transition 2049, 3, :o4, 9878113, 4
158
+ tz.transition 2049, 10, :o3, 9878981, 4
159
+ tz.transition 2050, 3, :o4, 9879569, 4
160
+ tz.transition 2050, 10, :o3, 9880437, 4
161
+ end
162
+ end
163
+ end
164
+ end
165
+ end
@@ -0,0 +1,30 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Jakarta
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Jakarta' do |tz|
10
+ tz.offset :o0, 25632, 0, :LMT
11
+ tz.offset :o1, 25632, 0, :JMT
12
+ tz.offset :o2, 26400, 0, :JAVT
13
+ tz.offset :o3, 27000, 0, :WIT
14
+ tz.offset :o4, 32400, 0, :JST
15
+ tz.offset :o5, 28800, 0, :WIT
16
+ tz.offset :o6, 25200, 0, :WIT
17
+
18
+ tz.transition 1867, 8, :o1, 720956461, 300
19
+ tz.transition 1923, 12, :o2, 87256267, 36
20
+ tz.transition 1932, 10, :o3, 87372439, 36
21
+ tz.transition 1942, 3, :o4, 38887059, 16
22
+ tz.transition 1945, 9, :o3, 19453769, 8
23
+ tz.transition 1948, 4, :o5, 38922755, 16
24
+ tz.transition 1950, 4, :o3, 14600413, 6
25
+ tz.transition 1963, 12, :o6, 39014323, 16
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,163 @@
1
+ require 'tzinfo/timezone_definition'
2
+
3
+ module TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Jerusalem
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Jerusalem' do |tz|
10
+ tz.offset :o0, 8456, 0, :LMT
11
+ tz.offset :o1, 8440, 0, :JMT
12
+ tz.offset :o2, 7200, 0, :IST
13
+ tz.offset :o3, 7200, 3600, :IDT
14
+ tz.offset :o4, 7200, 7200, :IDDT
15
+
16
+ tz.transition 1879, 12, :o1, 26003326343, 10800
17
+ tz.transition 1917, 12, :o2, 5230643909, 2160
18
+ tz.transition 1940, 5, :o3, 29157377, 12
19
+ tz.transition 1942, 10, :o2, 19445315, 8
20
+ tz.transition 1943, 4, :o3, 4861631, 2
21
+ tz.transition 1943, 10, :o2, 19448235, 8
22
+ tz.transition 1944, 3, :o3, 29174177, 12
23
+ tz.transition 1944, 10, :o2, 19451163, 8
24
+ tz.transition 1945, 4, :o3, 29178737, 12
25
+ tz.transition 1945, 10, :o2, 58362251, 24
26
+ tz.transition 1946, 4, :o3, 4863853, 2
27
+ tz.transition 1946, 10, :o2, 19457003, 8
28
+ tz.transition 1948, 5, :o4, 29192333, 12
29
+ tz.transition 1948, 8, :o3, 7298386, 3
30
+ tz.transition 1948, 10, :o2, 58388555, 24
31
+ tz.transition 1949, 4, :o3, 29196449, 12
32
+ tz.transition 1949, 10, :o2, 58397315, 24
33
+ tz.transition 1950, 4, :o3, 29200649, 12
34
+ tz.transition 1950, 9, :o2, 4867079, 2
35
+ tz.transition 1951, 3, :o3, 29204849, 12
36
+ tz.transition 1951, 11, :o2, 4867923, 2
37
+ tz.transition 1952, 4, :o3, 4868245, 2
38
+ tz.transition 1952, 10, :o2, 4868609, 2
39
+ tz.transition 1953, 4, :o3, 4868959, 2
40
+ tz.transition 1953, 9, :o2, 4869267, 2
41
+ tz.transition 1954, 6, :o3, 29218877, 12
42
+ tz.transition 1954, 9, :o2, 19479979, 8
43
+ tz.transition 1955, 6, :o3, 4870539, 2
44
+ tz.transition 1955, 9, :o2, 19482891, 8
45
+ tz.transition 1956, 6, :o3, 29227529, 12
46
+ tz.transition 1956, 9, :o2, 4871493, 2
47
+ tz.transition 1957, 4, :o3, 4871915, 2
48
+ tz.transition 1957, 9, :o2, 19488827, 8
49
+ tz.transition 1974, 7, :o3, 142380000
50
+ tz.transition 1974, 10, :o2, 150843600
51
+ tz.transition 1975, 4, :o3, 167176800
52
+ tz.transition 1975, 8, :o2, 178664400
53
+ tz.transition 1985, 4, :o3, 482277600
54
+ tz.transition 1985, 9, :o2, 495579600
55
+ tz.transition 1986, 5, :o3, 516751200
56
+ tz.transition 1986, 9, :o2, 526424400
57
+ tz.transition 1987, 4, :o3, 545436000
58
+ tz.transition 1987, 9, :o2, 558478800
59
+ tz.transition 1988, 4, :o3, 576540000
60
+ tz.transition 1988, 9, :o2, 589237200
61
+ tz.transition 1989, 4, :o3, 609890400
62
+ tz.transition 1989, 9, :o2, 620773200
63
+ tz.transition 1990, 3, :o3, 638316000
64
+ tz.transition 1990, 8, :o2, 651618000
65
+ tz.transition 1991, 3, :o3, 669765600
66
+ tz.transition 1991, 8, :o2, 683672400
67
+ tz.transition 1992, 3, :o3, 701820000
68
+ tz.transition 1992, 9, :o2, 715726800
69
+ tz.transition 1993, 4, :o3, 733701600
70
+ tz.transition 1993, 9, :o2, 747176400
71
+ tz.transition 1994, 3, :o3, 765151200
72
+ tz.transition 1994, 8, :o2, 778021200
73
+ tz.transition 1995, 3, :o3, 796600800
74
+ tz.transition 1995, 9, :o2, 810075600
75
+ tz.transition 1996, 3, :o3, 826840800
76
+ tz.transition 1996, 9, :o2, 842821200
77
+ tz.transition 1997, 3, :o3, 858895200
78
+ tz.transition 1997, 9, :o2, 874184400
79
+ tz.transition 1998, 3, :o3, 890344800
80
+ tz.transition 1998, 9, :o2, 905029200
81
+ tz.transition 1999, 4, :o3, 923011200
82
+ tz.transition 1999, 9, :o2, 936313200
83
+ tz.transition 2000, 4, :o3, 955670400
84
+ tz.transition 2000, 10, :o2, 970783200
85
+ tz.transition 2001, 4, :o3, 986770800
86
+ tz.transition 2001, 9, :o2, 1001282400
87
+ tz.transition 2002, 3, :o3, 1017356400
88
+ tz.transition 2002, 10, :o2, 1033941600
89
+ tz.transition 2003, 3, :o3, 1048806000
90
+ tz.transition 2003, 10, :o2, 1065132000
91
+ tz.transition 2004, 4, :o3, 1081292400
92
+ tz.transition 2004, 9, :o2, 1095804000
93
+ tz.transition 2005, 4, :o3, 1112313600
94
+ tz.transition 2005, 10, :o2, 1128812400
95
+ tz.transition 2006, 3, :o3, 1143763200
96
+ tz.transition 2006, 9, :o2, 1159657200
97
+ tz.transition 2007, 3, :o3, 1175212800
98
+ tz.transition 2007, 9, :o2, 1189897200
99
+ tz.transition 2008, 3, :o3, 1206662400
100
+ tz.transition 2008, 10, :o2, 1223161200
101
+ tz.transition 2009, 3, :o3, 1238112000
102
+ tz.transition 2009, 9, :o2, 1254006000
103
+ tz.transition 2010, 3, :o3, 1269561600
104
+ tz.transition 2010, 9, :o2, 1284246000
105
+ tz.transition 2011, 4, :o3, 1301616000
106
+ tz.transition 2011, 10, :o2, 1317510000
107
+ tz.transition 2012, 3, :o3, 1333065600
108
+ tz.transition 2012, 9, :o2, 1348354800
109
+ tz.transition 2013, 3, :o3, 1364515200
110
+ tz.transition 2013, 9, :o2, 1378594800
111
+ tz.transition 2014, 3, :o3, 1395964800
112
+ tz.transition 2014, 9, :o2, 1411858800
113
+ tz.transition 2015, 3, :o3, 1427414400
114
+ tz.transition 2015, 9, :o2, 1442703600
115
+ tz.transition 2016, 4, :o3, 1459468800
116
+ tz.transition 2016, 10, :o2, 1475967600
117
+ tz.transition 2017, 3, :o3, 1490918400
118
+ tz.transition 2017, 9, :o2, 1506207600
119
+ tz.transition 2018, 3, :o3, 1522368000
120
+ tz.transition 2018, 9, :o2, 1537052400
121
+ tz.transition 2019, 3, :o3, 1553817600
122
+ tz.transition 2019, 10, :o2, 1570316400
123
+ tz.transition 2020, 3, :o3, 1585267200
124
+ tz.transition 2020, 9, :o2, 1601161200
125
+ tz.transition 2021, 3, :o3, 1616716800
126
+ tz.transition 2021, 9, :o2, 1631401200
127
+ tz.transition 2022, 4, :o3, 1648771200
128
+ tz.transition 2022, 10, :o2, 1664665200
129
+ tz.transition 2023, 3, :o3, 1680220800
130
+ tz.transition 2023, 9, :o2, 1695510000
131
+ tz.transition 2024, 3, :o3, 1711670400
132
+ tz.transition 2024, 10, :o2, 1728169200
133
+ tz.transition 2025, 3, :o3, 1743120000
134
+ tz.transition 2025, 9, :o2, 1759014000
135
+ tz.transition 2026, 3, :o3, 1774569600
136
+ tz.transition 2026, 9, :o2, 1789858800
137
+ tz.transition 2027, 3, :o3, 1806019200
138
+ tz.transition 2027, 10, :o2, 1823122800
139
+ tz.transition 2028, 3, :o3, 1838073600
140
+ tz.transition 2028, 9, :o2, 1853362800
141
+ tz.transition 2029, 3, :o3, 1869523200
142
+ tz.transition 2029, 9, :o2, 1884207600
143
+ tz.transition 2030, 3, :o3, 1900972800
144
+ tz.transition 2030, 10, :o2, 1917471600
145
+ tz.transition 2031, 3, :o3, 1932422400
146
+ tz.transition 2031, 9, :o2, 1947711600
147
+ tz.transition 2032, 3, :o3, 1963872000
148
+ tz.transition 2032, 9, :o2, 1978556400
149
+ tz.transition 2033, 4, :o3, 1995926400
150
+ tz.transition 2033, 10, :o2, 2011820400
151
+ tz.transition 2034, 3, :o3, 2027376000
152
+ tz.transition 2034, 9, :o2, 2042060400
153
+ tz.transition 2035, 3, :o3, 2058825600
154
+ tz.transition 2035, 10, :o2, 2075324400
155
+ tz.transition 2036, 3, :o3, 2090275200
156
+ tz.transition 2036, 9, :o2, 2106169200
157
+ tz.transition 2037, 3, :o3, 2121724800
158
+ tz.transition 2037, 9, :o2, 2136409200
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end