time_crisis 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/time_crisis.rb +5 -12
  3. data/lib/time_crisis/ext.rb +60 -0
  4. data/lib/time_crisis/support/conversions.rb +4 -0
  5. data/lib/time_crisis/tzinfo.rb +3 -0
  6. data/lib/time_crisis/tzinfo/LICENSE +21 -0
  7. data/lib/time_crisis/tzinfo/data_timezone.rb +27 -0
  8. data/lib/time_crisis/tzinfo/data_timezone_info.rb +208 -0
  9. data/lib/time_crisis/tzinfo/definitions/Africa/Algiers.rb +55 -0
  10. data/lib/time_crisis/tzinfo/definitions/Africa/Cairo.rb +219 -0
  11. data/lib/time_crisis/tzinfo/definitions/Africa/Casablanca.rb +42 -0
  12. data/lib/time_crisis/tzinfo/definitions/Africa/Harare.rb +18 -0
  13. data/lib/time_crisis/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
  14. data/lib/time_crisis/tzinfo/definitions/Africa/Monrovia.rb +22 -0
  15. data/lib/time_crisis/tzinfo/definitions/Africa/Nairobi.rb +23 -0
  16. data/lib/time_crisis/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +84 -0
  17. data/lib/time_crisis/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
  18. data/lib/time_crisis/tzinfo/definitions/America/Bogota.rb +23 -0
  19. data/lib/time_crisis/tzinfo/definitions/America/Caracas.rb +23 -0
  20. data/lib/time_crisis/tzinfo/definitions/America/Chicago.rb +283 -0
  21. data/lib/time_crisis/tzinfo/definitions/America/Chihuahua.rb +136 -0
  22. data/lib/time_crisis/tzinfo/definitions/America/Denver.rb +204 -0
  23. data/lib/time_crisis/tzinfo/definitions/America/Godthab.rb +161 -0
  24. data/lib/time_crisis/tzinfo/definitions/America/Guatemala.rb +27 -0
  25. data/lib/time_crisis/tzinfo/definitions/America/Halifax.rb +274 -0
  26. data/lib/time_crisis/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
  27. data/lib/time_crisis/tzinfo/definitions/America/Juneau.rb +194 -0
  28. data/lib/time_crisis/tzinfo/definitions/America/La_Paz.rb +22 -0
  29. data/lib/time_crisis/tzinfo/definitions/America/Lima.rb +35 -0
  30. data/lib/time_crisis/tzinfo/definitions/America/Los_Angeles.rb +232 -0
  31. data/lib/time_crisis/tzinfo/definitions/America/Mazatlan.rb +139 -0
  32. data/lib/time_crisis/tzinfo/definitions/America/Mexico_City.rb +144 -0
  33. data/lib/time_crisis/tzinfo/definitions/America/Monterrey.rb +131 -0
  34. data/lib/time_crisis/tzinfo/definitions/America/New_York.rb +282 -0
  35. data/lib/time_crisis/tzinfo/definitions/America/Phoenix.rb +30 -0
  36. data/lib/time_crisis/tzinfo/definitions/America/Regina.rb +74 -0
  37. data/lib/time_crisis/tzinfo/definitions/America/Santiago.rb +205 -0
  38. data/lib/time_crisis/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
  39. data/lib/time_crisis/tzinfo/definitions/America/St_Johns.rb +288 -0
  40. data/lib/time_crisis/tzinfo/definitions/America/Tijuana.rb +196 -0
  41. data/lib/time_crisis/tzinfo/definitions/Asia/Almaty.rb +67 -0
  42. data/lib/time_crisis/tzinfo/definitions/Asia/Baghdad.rb +73 -0
  43. data/lib/time_crisis/tzinfo/definitions/Asia/Baku.rb +161 -0
  44. data/lib/time_crisis/tzinfo/definitions/Asia/Bangkok.rb +20 -0
  45. data/lib/time_crisis/tzinfo/definitions/Asia/Chongqing.rb +33 -0
  46. data/lib/time_crisis/tzinfo/definitions/Asia/Colombo.rb +30 -0
  47. data/lib/time_crisis/tzinfo/definitions/Asia/Dhaka.rb +29 -0
  48. data/lib/time_crisis/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
  49. data/lib/time_crisis/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
  50. data/lib/time_crisis/tzinfo/definitions/Asia/Jakarta.rb +30 -0
  51. data/lib/time_crisis/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
  52. data/lib/time_crisis/tzinfo/definitions/Asia/Kabul.rb +20 -0
  53. data/lib/time_crisis/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
  54. data/lib/time_crisis/tzinfo/definitions/Asia/Karachi.rb +114 -0
  55. data/lib/time_crisis/tzinfo/definitions/Asia/Kathmandu.rb +20 -0
  56. data/lib/time_crisis/tzinfo/definitions/Asia/Kolkata.rb +25 -0
  57. data/lib/time_crisis/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
  58. data/lib/time_crisis/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
  59. data/lib/time_crisis/tzinfo/definitions/Asia/Kuwait.rb +18 -0
  60. data/lib/time_crisis/tzinfo/definitions/Asia/Magadan.rb +163 -0
  61. data/lib/time_crisis/tzinfo/definitions/Asia/Muscat.rb +18 -0
  62. data/lib/time_crisis/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
  63. data/lib/time_crisis/tzinfo/definitions/Asia/Rangoon.rb +24 -0
  64. data/lib/time_crisis/tzinfo/definitions/Asia/Riyadh.rb +18 -0
  65. data/lib/time_crisis/tzinfo/definitions/Asia/Seoul.rb +34 -0
  66. data/lib/time_crisis/tzinfo/definitions/Asia/Shanghai.rb +35 -0
  67. data/lib/time_crisis/tzinfo/definitions/Asia/Singapore.rb +33 -0
  68. data/lib/time_crisis/tzinfo/definitions/Asia/Taipei.rb +59 -0
  69. data/lib/time_crisis/tzinfo/definitions/Asia/Tashkent.rb +47 -0
  70. data/lib/time_crisis/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
  71. data/lib/time_crisis/tzinfo/definitions/Asia/Tehran.rb +121 -0
  72. data/lib/time_crisis/tzinfo/definitions/Asia/Tokyo.rb +30 -0
  73. data/lib/time_crisis/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
  74. data/lib/time_crisis/tzinfo/definitions/Asia/Urumqi.rb +33 -0
  75. data/lib/time_crisis/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
  76. data/lib/time_crisis/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
  77. data/lib/time_crisis/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
  78. data/lib/time_crisis/tzinfo/definitions/Asia/Yerevan.rb +165 -0
  79. data/lib/time_crisis/tzinfo/definitions/Atlantic/Azores.rb +270 -0
  80. data/lib/time_crisis/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
  81. data/lib/time_crisis/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
  82. data/lib/time_crisis/tzinfo/definitions/Australia/Adelaide.rb +187 -0
  83. data/lib/time_crisis/tzinfo/definitions/Australia/Brisbane.rb +35 -0
  84. data/lib/time_crisis/tzinfo/definitions/Australia/Darwin.rb +29 -0
  85. data/lib/time_crisis/tzinfo/definitions/Australia/Hobart.rb +193 -0
  86. data/lib/time_crisis/tzinfo/definitions/Australia/Melbourne.rb +185 -0
  87. data/lib/time_crisis/tzinfo/definitions/Australia/Perth.rb +37 -0
  88. data/lib/time_crisis/tzinfo/definitions/Australia/Sydney.rb +185 -0
  89. data/lib/time_crisis/tzinfo/definitions/Etc/UTC.rb +16 -0
  90. data/lib/time_crisis/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
  91. data/lib/time_crisis/tzinfo/definitions/Europe/Athens.rb +185 -0
  92. data/lib/time_crisis/tzinfo/definitions/Europe/Belgrade.rb +163 -0
  93. data/lib/time_crisis/tzinfo/definitions/Europe/Berlin.rb +188 -0
  94. data/lib/time_crisis/tzinfo/definitions/Europe/Bratislava.rb +13 -0
  95. data/lib/time_crisis/tzinfo/definitions/Europe/Brussels.rb +232 -0
  96. data/lib/time_crisis/tzinfo/definitions/Europe/Bucharest.rb +181 -0
  97. data/lib/time_crisis/tzinfo/definitions/Europe/Budapest.rb +197 -0
  98. data/lib/time_crisis/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
  99. data/lib/time_crisis/tzinfo/definitions/Europe/Dublin.rb +276 -0
  100. data/lib/time_crisis/tzinfo/definitions/Europe/Helsinki.rb +163 -0
  101. data/lib/time_crisis/tzinfo/definitions/Europe/Istanbul.rb +218 -0
  102. data/lib/time_crisis/tzinfo/definitions/Europe/Kiev.rb +168 -0
  103. data/lib/time_crisis/tzinfo/definitions/Europe/Lisbon.rb +268 -0
  104. data/lib/time_crisis/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
  105. data/lib/time_crisis/tzinfo/definitions/Europe/London.rb +288 -0
  106. data/lib/time_crisis/tzinfo/definitions/Europe/Madrid.rb +211 -0
  107. data/lib/time_crisis/tzinfo/definitions/Europe/Minsk.rb +170 -0
  108. data/lib/time_crisis/tzinfo/definitions/Europe/Moscow.rb +181 -0
  109. data/lib/time_crisis/tzinfo/definitions/Europe/Paris.rb +232 -0
  110. data/lib/time_crisis/tzinfo/definitions/Europe/Prague.rb +187 -0
  111. data/lib/time_crisis/tzinfo/definitions/Europe/Riga.rb +176 -0
  112. data/lib/time_crisis/tzinfo/definitions/Europe/Rome.rb +215 -0
  113. data/lib/time_crisis/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
  114. data/lib/time_crisis/tzinfo/definitions/Europe/Skopje.rb +13 -0
  115. data/lib/time_crisis/tzinfo/definitions/Europe/Sofia.rb +173 -0
  116. data/lib/time_crisis/tzinfo/definitions/Europe/Stockholm.rb +165 -0
  117. data/lib/time_crisis/tzinfo/definitions/Europe/Tallinn.rb +172 -0
  118. data/lib/time_crisis/tzinfo/definitions/Europe/Vienna.rb +183 -0
  119. data/lib/time_crisis/tzinfo/definitions/Europe/Vilnius.rb +170 -0
  120. data/lib/time_crisis/tzinfo/definitions/Europe/Warsaw.rb +212 -0
  121. data/lib/time_crisis/tzinfo/definitions/Europe/Zagreb.rb +13 -0
  122. data/lib/time_crisis/tzinfo/definitions/Pacific/Auckland.rb +202 -0
  123. data/lib/time_crisis/tzinfo/definitions/Pacific/Fiji.rb +23 -0
  124. data/lib/time_crisis/tzinfo/definitions/Pacific/Guam.rb +22 -0
  125. data/lib/time_crisis/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
  126. data/lib/time_crisis/tzinfo/definitions/Pacific/Majuro.rb +20 -0
  127. data/lib/time_crisis/tzinfo/definitions/Pacific/Midway.rb +25 -0
  128. data/lib/time_crisis/tzinfo/definitions/Pacific/Noumea.rb +25 -0
  129. data/lib/time_crisis/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
  130. data/lib/time_crisis/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
  131. data/lib/time_crisis/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
  132. data/lib/time_crisis/tzinfo/info_timezone.rb +32 -0
  133. data/lib/time_crisis/tzinfo/linked_timezone.rb +32 -0
  134. data/lib/time_crisis/tzinfo/linked_timezone_info.rb +24 -0
  135. data/lib/time_crisis/tzinfo/offset_rationals.rb +79 -0
  136. data/lib/time_crisis/tzinfo/ruby_core_support.rb +33 -0
  137. data/lib/time_crisis/tzinfo/time_or_datetime.rb +309 -0
  138. data/lib/time_crisis/tzinfo/timezone.rb +486 -0
  139. data/lib/time_crisis/tzinfo/timezone_definition.rb +36 -0
  140. data/lib/time_crisis/tzinfo/timezone_info.rb +20 -0
  141. data/lib/time_crisis/tzinfo/timezone_offset_info.rb +75 -0
  142. data/lib/time_crisis/tzinfo/timezone_period.rb +179 -0
  143. data/lib/time_crisis/tzinfo/timezone_transition_info.rb +109 -0
  144. data/time_crisis.gemspec +142 -2
  145. metadata +142 -2
@@ -0,0 +1,42 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Africa
6
+ module Casablanca
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Africa/Casablanca' do |tz|
10
+ tz.offset :o0, -1820, 0, :LMT
11
+ tz.offset :o1, 0, 0, :WET
12
+ tz.offset :o2, 0, 3600, :WEST
13
+ tz.offset :o3, 3600, 0, :CET
14
+
15
+ tz.transition 1913, 10, :o1, 10454687371, 4320
16
+ tz.transition 1939, 9, :o2, 4859037, 2
17
+ tz.transition 1939, 11, :o1, 58310075, 24
18
+ tz.transition 1940, 2, :o2, 4859369, 2
19
+ tz.transition 1945, 11, :o1, 58362659, 24
20
+ tz.transition 1950, 6, :o2, 4866887, 2
21
+ tz.transition 1950, 10, :o1, 58406003, 24
22
+ tz.transition 1967, 6, :o2, 2439645, 1
23
+ tz.transition 1967, 9, :o1, 58554347, 24
24
+ tz.transition 1974, 6, :o2, 141264000
25
+ tz.transition 1974, 8, :o1, 147222000
26
+ tz.transition 1976, 5, :o2, 199756800
27
+ tz.transition 1976, 7, :o1, 207702000
28
+ tz.transition 1977, 5, :o2, 231292800
29
+ tz.transition 1977, 9, :o1, 244249200
30
+ tz.transition 1978, 6, :o2, 265507200
31
+ tz.transition 1978, 8, :o1, 271033200
32
+ tz.transition 1984, 3, :o3, 448243200
33
+ tz.transition 1985, 12, :o1, 504918000
34
+ tz.transition 2008, 6, :o2, 1212278400
35
+ tz.transition 2008, 8, :o1, 1220223600
36
+ tz.transition 2009, 6, :o2, 1243814400
37
+ tz.transition 2009, 8, :o1, 1250809200
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,18 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Africa
6
+ module Harare
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Africa/Harare' do |tz|
10
+ tz.offset :o0, 7452, 0, :LMT
11
+ tz.offset :o1, 7200, 0, :CAT
12
+
13
+ tz.transition 1903, 2, :o1, 1932939531, 800
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,25 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Africa
6
+ module Johannesburg
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Africa/Johannesburg' do |tz|
10
+ tz.offset :o0, 6720, 0, :LMT
11
+ tz.offset :o1, 5400, 0, :SAST
12
+ tz.offset :o2, 7200, 0, :SAST
13
+ tz.offset :o3, 7200, 3600, :SAST
14
+
15
+ tz.transition 1892, 2, :o1, 108546139, 45
16
+ tz.transition 1903, 2, :o2, 38658791, 16
17
+ tz.transition 1942, 9, :o3, 4861245, 2
18
+ tz.transition 1943, 3, :o2, 58339307, 24
19
+ tz.transition 1943, 9, :o3, 4861973, 2
20
+ tz.transition 1944, 3, :o2, 58348043, 24
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,22 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Africa
6
+ module Monrovia
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Africa/Monrovia' do |tz|
10
+ tz.offset :o0, -2588, 0, :LMT
11
+ tz.offset :o1, -2588, 0, :MMT
12
+ tz.offset :o2, -2670, 0, :LRT
13
+ tz.offset :o3, 0, 0, :GMT
14
+
15
+ tz.transition 1882, 1, :o1, 52022445047, 21600
16
+ tz.transition 1919, 3, :o2, 52315600247, 21600
17
+ tz.transition 1972, 5, :o3, 73529070
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,23 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Africa
6
+ module Nairobi
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Africa/Nairobi' do |tz|
10
+ tz.offset :o0, 8836, 0, :LMT
11
+ tz.offset :o1, 10800, 0, :EAT
12
+ tz.offset :o2, 9000, 0, :BEAT
13
+ tz.offset :o3, 9885, 0, :BEAUT
14
+
15
+ tz.transition 1928, 6, :o1, 52389253391, 21600
16
+ tz.transition 1929, 12, :o2, 19407819, 8
17
+ tz.transition 1939, 12, :o3, 116622211, 48
18
+ tz.transition 1959, 12, :o1, 14036742061, 5760
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,84 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Argentina
7
+ module Buenos_Aires
8
+ include TimezoneDefinition
9
+
10
+ timezone 'America/Argentina/Buenos_Aires' do |tz|
11
+ tz.offset :o0, -14028, 0, :LMT
12
+ tz.offset :o1, -15408, 0, :CMT
13
+ tz.offset :o2, -14400, 0, :ART
14
+ tz.offset :o3, -14400, 3600, :ARST
15
+ tz.offset :o4, -10800, 0, :ART
16
+ tz.offset :o5, -10800, 3600, :ARST
17
+
18
+ tz.transition 1894, 10, :o1, 17374555169, 7200
19
+ tz.transition 1920, 5, :o2, 1453467407, 600
20
+ tz.transition 1930, 12, :o3, 7278935, 3
21
+ tz.transition 1931, 4, :o2, 19411461, 8
22
+ tz.transition 1931, 10, :o3, 7279889, 3
23
+ tz.transition 1932, 3, :o2, 19414141, 8
24
+ tz.transition 1932, 11, :o3, 7281038, 3
25
+ tz.transition 1933, 3, :o2, 19417061, 8
26
+ tz.transition 1933, 11, :o3, 7282133, 3
27
+ tz.transition 1934, 3, :o2, 19419981, 8
28
+ tz.transition 1934, 11, :o3, 7283228, 3
29
+ tz.transition 1935, 3, :o2, 19422901, 8
30
+ tz.transition 1935, 11, :o3, 7284323, 3
31
+ tz.transition 1936, 3, :o2, 19425829, 8
32
+ tz.transition 1936, 11, :o3, 7285421, 3
33
+ tz.transition 1937, 3, :o2, 19428749, 8
34
+ tz.transition 1937, 11, :o3, 7286516, 3
35
+ tz.transition 1938, 3, :o2, 19431669, 8
36
+ tz.transition 1938, 11, :o3, 7287611, 3
37
+ tz.transition 1939, 3, :o2, 19434589, 8
38
+ tz.transition 1939, 11, :o3, 7288706, 3
39
+ tz.transition 1940, 3, :o2, 19437517, 8
40
+ tz.transition 1940, 7, :o3, 7289435, 3
41
+ tz.transition 1941, 6, :o2, 19441285, 8
42
+ tz.transition 1941, 10, :o3, 7290848, 3
43
+ tz.transition 1943, 8, :o2, 19447501, 8
44
+ tz.transition 1943, 10, :o3, 7293038, 3
45
+ tz.transition 1946, 3, :o2, 19455045, 8
46
+ tz.transition 1946, 10, :o3, 7296284, 3
47
+ tz.transition 1963, 10, :o2, 19506429, 8
48
+ tz.transition 1963, 12, :o3, 7315136, 3
49
+ tz.transition 1964, 3, :o2, 19507645, 8
50
+ tz.transition 1964, 10, :o3, 7316051, 3
51
+ tz.transition 1965, 3, :o2, 19510565, 8
52
+ tz.transition 1965, 10, :o3, 7317146, 3
53
+ tz.transition 1966, 3, :o2, 19513485, 8
54
+ tz.transition 1966, 10, :o3, 7318241, 3
55
+ tz.transition 1967, 4, :o2, 19516661, 8
56
+ tz.transition 1967, 10, :o3, 7319294, 3
57
+ tz.transition 1968, 4, :o2, 19519629, 8
58
+ tz.transition 1968, 10, :o3, 7320407, 3
59
+ tz.transition 1969, 4, :o2, 19522541, 8
60
+ tz.transition 1969, 10, :o4, 7321499, 3
61
+ tz.transition 1974, 1, :o5, 128142000
62
+ tz.transition 1974, 5, :o4, 136605600
63
+ tz.transition 1988, 12, :o5, 596948400
64
+ tz.transition 1989, 3, :o4, 605066400
65
+ tz.transition 1989, 10, :o5, 624423600
66
+ tz.transition 1990, 3, :o4, 636516000
67
+ tz.transition 1990, 10, :o5, 656478000
68
+ tz.transition 1991, 3, :o4, 667965600
69
+ tz.transition 1991, 10, :o5, 687927600
70
+ tz.transition 1992, 3, :o4, 699415200
71
+ tz.transition 1992, 10, :o5, 719377200
72
+ tz.transition 1993, 3, :o4, 731469600
73
+ tz.transition 1999, 10, :o3, 938919600
74
+ tz.transition 2000, 3, :o4, 952052400
75
+ tz.transition 2007, 12, :o5, 1198983600
76
+ tz.transition 2008, 3, :o4, 1205632800
77
+ tz.transition 2008, 10, :o5, 1224385200
78
+ tz.transition 2009, 3, :o4, 1237082400
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,86 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Argentina
7
+ module San_Juan
8
+ include TimezoneDefinition
9
+
10
+ timezone 'America/Argentina/San_Juan' do |tz|
11
+ tz.offset :o0, -16444, 0, :LMT
12
+ tz.offset :o1, -15408, 0, :CMT
13
+ tz.offset :o2, -14400, 0, :ART
14
+ tz.offset :o3, -14400, 3600, :ARST
15
+ tz.offset :o4, -10800, 0, :ART
16
+ tz.offset :o5, -10800, 3600, :ARST
17
+ tz.offset :o6, -14400, 0, :WART
18
+
19
+ tz.transition 1894, 10, :o1, 52123666111, 21600
20
+ tz.transition 1920, 5, :o2, 1453467407, 600
21
+ tz.transition 1930, 12, :o3, 7278935, 3
22
+ tz.transition 1931, 4, :o2, 19411461, 8
23
+ tz.transition 1931, 10, :o3, 7279889, 3
24
+ tz.transition 1932, 3, :o2, 19414141, 8
25
+ tz.transition 1932, 11, :o3, 7281038, 3
26
+ tz.transition 1933, 3, :o2, 19417061, 8
27
+ tz.transition 1933, 11, :o3, 7282133, 3
28
+ tz.transition 1934, 3, :o2, 19419981, 8
29
+ tz.transition 1934, 11, :o3, 7283228, 3
30
+ tz.transition 1935, 3, :o2, 19422901, 8
31
+ tz.transition 1935, 11, :o3, 7284323, 3
32
+ tz.transition 1936, 3, :o2, 19425829, 8
33
+ tz.transition 1936, 11, :o3, 7285421, 3
34
+ tz.transition 1937, 3, :o2, 19428749, 8
35
+ tz.transition 1937, 11, :o3, 7286516, 3
36
+ tz.transition 1938, 3, :o2, 19431669, 8
37
+ tz.transition 1938, 11, :o3, 7287611, 3
38
+ tz.transition 1939, 3, :o2, 19434589, 8
39
+ tz.transition 1939, 11, :o3, 7288706, 3
40
+ tz.transition 1940, 3, :o2, 19437517, 8
41
+ tz.transition 1940, 7, :o3, 7289435, 3
42
+ tz.transition 1941, 6, :o2, 19441285, 8
43
+ tz.transition 1941, 10, :o3, 7290848, 3
44
+ tz.transition 1943, 8, :o2, 19447501, 8
45
+ tz.transition 1943, 10, :o3, 7293038, 3
46
+ tz.transition 1946, 3, :o2, 19455045, 8
47
+ tz.transition 1946, 10, :o3, 7296284, 3
48
+ tz.transition 1963, 10, :o2, 19506429, 8
49
+ tz.transition 1963, 12, :o3, 7315136, 3
50
+ tz.transition 1964, 3, :o2, 19507645, 8
51
+ tz.transition 1964, 10, :o3, 7316051, 3
52
+ tz.transition 1965, 3, :o2, 19510565, 8
53
+ tz.transition 1965, 10, :o3, 7317146, 3
54
+ tz.transition 1966, 3, :o2, 19513485, 8
55
+ tz.transition 1966, 10, :o3, 7318241, 3
56
+ tz.transition 1967, 4, :o2, 19516661, 8
57
+ tz.transition 1967, 10, :o3, 7319294, 3
58
+ tz.transition 1968, 4, :o2, 19519629, 8
59
+ tz.transition 1968, 10, :o3, 7320407, 3
60
+ tz.transition 1969, 4, :o2, 19522541, 8
61
+ tz.transition 1969, 10, :o4, 7321499, 3
62
+ tz.transition 1974, 1, :o5, 128142000
63
+ tz.transition 1974, 5, :o4, 136605600
64
+ tz.transition 1988, 12, :o5, 596948400
65
+ tz.transition 1989, 3, :o4, 605066400
66
+ tz.transition 1989, 10, :o5, 624423600
67
+ tz.transition 1990, 3, :o4, 636516000
68
+ tz.transition 1990, 10, :o5, 656478000
69
+ tz.transition 1991, 3, :o6, 667792800
70
+ tz.transition 1991, 5, :o4, 673588800
71
+ tz.transition 1991, 10, :o5, 687927600
72
+ tz.transition 1992, 3, :o4, 699415200
73
+ tz.transition 1992, 10, :o5, 719377200
74
+ tz.transition 1993, 3, :o4, 731469600
75
+ tz.transition 1999, 10, :o3, 938919600
76
+ tz.transition 2000, 3, :o4, 952052400
77
+ tz.transition 2004, 5, :o6, 1085972400
78
+ tz.transition 2004, 7, :o4, 1090728000
79
+ tz.transition 2007, 12, :o5, 1198983600
80
+ tz.transition 2008, 3, :o4, 1205632800
81
+ end
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,23 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Bogota
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Bogota' do |tz|
10
+ tz.offset :o0, -17780, 0, :LMT
11
+ tz.offset :o1, -17780, 0, :BMT
12
+ tz.offset :o2, -18000, 0, :COT
13
+ tz.offset :o3, -18000, 3600, :COST
14
+
15
+ tz.transition 1884, 3, :o1, 10407954409, 4320
16
+ tz.transition 1914, 11, :o2, 10456385929, 4320
17
+ tz.transition 1992, 5, :o3, 704869200
18
+ tz.transition 1993, 4, :o2, 733896000
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Caracas
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Caracas' do |tz|
10
+ tz.offset :o0, -16064, 0, :LMT
11
+ tz.offset :o1, -16060, 0, :CMT
12
+ tz.offset :o2, -16200, 0, :VET
13
+ tz.offset :o3, -14400, 0, :VET
14
+
15
+ tz.transition 1890, 1, :o1, 1627673863, 675
16
+ tz.transition 1912, 2, :o2, 10452001043, 4320
17
+ tz.transition 1965, 1, :o3, 39020187, 16
18
+ tz.transition 2007, 12, :o2, 1197183600
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,283 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Chicago
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Chicago' do |tz|
10
+ tz.offset :o0, -21036, 0, :LMT
11
+ tz.offset :o1, -21600, 0, :CST
12
+ tz.offset :o2, -21600, 3600, :CDT
13
+ tz.offset :o3, -18000, 0, :EST
14
+ tz.offset :o4, -21600, 3600, :CWT
15
+ tz.offset :o5, -21600, 3600, :CPT
16
+
17
+ tz.transition 1883, 11, :o1, 9636533, 4
18
+ tz.transition 1918, 3, :o2, 14530103, 6
19
+ tz.transition 1918, 10, :o1, 58125451, 24
20
+ tz.transition 1919, 3, :o2, 14532287, 6
21
+ tz.transition 1919, 10, :o1, 58134187, 24
22
+ tz.transition 1920, 6, :o2, 14534933, 6
23
+ tz.transition 1920, 10, :o1, 58143091, 24
24
+ tz.transition 1921, 3, :o2, 14536655, 6
25
+ tz.transition 1921, 10, :o1, 58151827, 24
26
+ tz.transition 1922, 4, :o2, 14539049, 6
27
+ tz.transition 1922, 9, :o1, 58159723, 24
28
+ tz.transition 1923, 4, :o2, 14541233, 6
29
+ tz.transition 1923, 9, :o1, 58168627, 24
30
+ tz.transition 1924, 4, :o2, 14543417, 6
31
+ tz.transition 1924, 9, :o1, 58177363, 24
32
+ tz.transition 1925, 4, :o2, 14545601, 6
33
+ tz.transition 1925, 9, :o1, 58186099, 24
34
+ tz.transition 1926, 4, :o2, 14547785, 6
35
+ tz.transition 1926, 9, :o1, 58194835, 24
36
+ tz.transition 1927, 4, :o2, 14549969, 6
37
+ tz.transition 1927, 9, :o1, 58203571, 24
38
+ tz.transition 1928, 4, :o2, 14552195, 6
39
+ tz.transition 1928, 9, :o1, 58212475, 24
40
+ tz.transition 1929, 4, :o2, 14554379, 6
41
+ tz.transition 1929, 9, :o1, 58221211, 24
42
+ tz.transition 1930, 4, :o2, 14556563, 6
43
+ tz.transition 1930, 9, :o1, 58229947, 24
44
+ tz.transition 1931, 4, :o2, 14558747, 6
45
+ tz.transition 1931, 9, :o1, 58238683, 24
46
+ tz.transition 1932, 4, :o2, 14560931, 6
47
+ tz.transition 1932, 9, :o1, 58247419, 24
48
+ tz.transition 1933, 4, :o2, 14563157, 6
49
+ tz.transition 1933, 9, :o1, 58256155, 24
50
+ tz.transition 1934, 4, :o2, 14565341, 6
51
+ tz.transition 1934, 9, :o1, 58265059, 24
52
+ tz.transition 1935, 4, :o2, 14567525, 6
53
+ tz.transition 1935, 9, :o1, 58273795, 24
54
+ tz.transition 1936, 3, :o3, 14569373, 6
55
+ tz.transition 1936, 11, :o1, 58283707, 24
56
+ tz.transition 1937, 4, :o2, 14571893, 6
57
+ tz.transition 1937, 9, :o1, 58291267, 24
58
+ tz.transition 1938, 4, :o2, 14574077, 6
59
+ tz.transition 1938, 9, :o1, 58300003, 24
60
+ tz.transition 1939, 4, :o2, 14576303, 6
61
+ tz.transition 1939, 9, :o1, 58308739, 24
62
+ tz.transition 1940, 4, :o2, 14578487, 6
63
+ tz.transition 1940, 9, :o1, 58317643, 24
64
+ tz.transition 1941, 4, :o2, 14580671, 6
65
+ tz.transition 1941, 9, :o1, 58326379, 24
66
+ tz.transition 1942, 2, :o4, 14582399, 6
67
+ tz.transition 1945, 8, :o5, 58360379, 24
68
+ tz.transition 1945, 9, :o1, 58361491, 24
69
+ tz.transition 1946, 4, :o2, 14591633, 6
70
+ tz.transition 1946, 9, :o1, 58370227, 24
71
+ tz.transition 1947, 4, :o2, 14593817, 6
72
+ tz.transition 1947, 9, :o1, 58378963, 24
73
+ tz.transition 1948, 4, :o2, 14596001, 6
74
+ tz.transition 1948, 9, :o1, 58387699, 24
75
+ tz.transition 1949, 4, :o2, 14598185, 6
76
+ tz.transition 1949, 9, :o1, 58396435, 24
77
+ tz.transition 1950, 4, :o2, 14600411, 6
78
+ tz.transition 1950, 9, :o1, 58405171, 24
79
+ tz.transition 1951, 4, :o2, 14602595, 6
80
+ tz.transition 1951, 9, :o1, 58414075, 24
81
+ tz.transition 1952, 4, :o2, 14604779, 6
82
+ tz.transition 1952, 9, :o1, 58422811, 24
83
+ tz.transition 1953, 4, :o2, 14606963, 6
84
+ tz.transition 1953, 9, :o1, 58431547, 24
85
+ tz.transition 1954, 4, :o2, 14609147, 6
86
+ tz.transition 1954, 9, :o1, 58440283, 24
87
+ tz.transition 1955, 4, :o2, 14611331, 6
88
+ tz.transition 1955, 10, :o1, 58449859, 24
89
+ tz.transition 1956, 4, :o2, 14613557, 6
90
+ tz.transition 1956, 10, :o1, 58458595, 24
91
+ tz.transition 1957, 4, :o2, 14615741, 6
92
+ tz.transition 1957, 10, :o1, 58467331, 24
93
+ tz.transition 1958, 4, :o2, 14617925, 6
94
+ tz.transition 1958, 10, :o1, 58476067, 24
95
+ tz.transition 1959, 4, :o2, 14620109, 6
96
+ tz.transition 1959, 10, :o1, 58484803, 24
97
+ tz.transition 1960, 4, :o2, 14622293, 6
98
+ tz.transition 1960, 10, :o1, 58493707, 24
99
+ tz.transition 1961, 4, :o2, 14624519, 6
100
+ tz.transition 1961, 10, :o1, 58502443, 24
101
+ tz.transition 1962, 4, :o2, 14626703, 6
102
+ tz.transition 1962, 10, :o1, 58511179, 24
103
+ tz.transition 1963, 4, :o2, 14628887, 6
104
+ tz.transition 1963, 10, :o1, 58519915, 24
105
+ tz.transition 1964, 4, :o2, 14631071, 6
106
+ tz.transition 1964, 10, :o1, 58528651, 24
107
+ tz.transition 1965, 4, :o2, 14633255, 6
108
+ tz.transition 1965, 10, :o1, 58537555, 24
109
+ tz.transition 1966, 4, :o2, 14635439, 6
110
+ tz.transition 1966, 10, :o1, 58546291, 24
111
+ tz.transition 1967, 4, :o2, 14637665, 6
112
+ tz.transition 1967, 10, :o1, 58555027, 24
113
+ tz.transition 1968, 4, :o2, 14639849, 6
114
+ tz.transition 1968, 10, :o1, 58563763, 24
115
+ tz.transition 1969, 4, :o2, 14642033, 6
116
+ tz.transition 1969, 10, :o1, 58572499, 24
117
+ tz.transition 1970, 4, :o2, 9964800
118
+ tz.transition 1970, 10, :o1, 25686000
119
+ tz.transition 1971, 4, :o2, 41414400
120
+ tz.transition 1971, 10, :o1, 57740400
121
+ tz.transition 1972, 4, :o2, 73468800
122
+ tz.transition 1972, 10, :o1, 89190000
123
+ tz.transition 1973, 4, :o2, 104918400
124
+ tz.transition 1973, 10, :o1, 120639600
125
+ tz.transition 1974, 1, :o2, 126691200
126
+ tz.transition 1974, 10, :o1, 152089200
127
+ tz.transition 1975, 2, :o2, 162374400
128
+ tz.transition 1975, 10, :o1, 183538800
129
+ tz.transition 1976, 4, :o2, 199267200
130
+ tz.transition 1976, 10, :o1, 215593200
131
+ tz.transition 1977, 4, :o2, 230716800
132
+ tz.transition 1977, 10, :o1, 247042800
133
+ tz.transition 1978, 4, :o2, 262771200
134
+ tz.transition 1978, 10, :o1, 278492400
135
+ tz.transition 1979, 4, :o2, 294220800
136
+ tz.transition 1979, 10, :o1, 309942000
137
+ tz.transition 1980, 4, :o2, 325670400
138
+ tz.transition 1980, 10, :o1, 341391600
139
+ tz.transition 1981, 4, :o2, 357120000
140
+ tz.transition 1981, 10, :o1, 372841200
141
+ tz.transition 1982, 4, :o2, 388569600
142
+ tz.transition 1982, 10, :o1, 404895600
143
+ tz.transition 1983, 4, :o2, 420019200
144
+ tz.transition 1983, 10, :o1, 436345200
145
+ tz.transition 1984, 4, :o2, 452073600
146
+ tz.transition 1984, 10, :o1, 467794800
147
+ tz.transition 1985, 4, :o2, 483523200
148
+ tz.transition 1985, 10, :o1, 499244400
149
+ tz.transition 1986, 4, :o2, 514972800
150
+ tz.transition 1986, 10, :o1, 530694000
151
+ tz.transition 1987, 4, :o2, 544608000
152
+ tz.transition 1987, 10, :o1, 562143600
153
+ tz.transition 1988, 4, :o2, 576057600
154
+ tz.transition 1988, 10, :o1, 594198000
155
+ tz.transition 1989, 4, :o2, 607507200
156
+ tz.transition 1989, 10, :o1, 625647600
157
+ tz.transition 1990, 4, :o2, 638956800
158
+ tz.transition 1990, 10, :o1, 657097200
159
+ tz.transition 1991, 4, :o2, 671011200
160
+ tz.transition 1991, 10, :o1, 688546800
161
+ tz.transition 1992, 4, :o2, 702460800
162
+ tz.transition 1992, 10, :o1, 719996400
163
+ tz.transition 1993, 4, :o2, 733910400
164
+ tz.transition 1993, 10, :o1, 752050800
165
+ tz.transition 1994, 4, :o2, 765360000
166
+ tz.transition 1994, 10, :o1, 783500400
167
+ tz.transition 1995, 4, :o2, 796809600
168
+ tz.transition 1995, 10, :o1, 814950000
169
+ tz.transition 1996, 4, :o2, 828864000
170
+ tz.transition 1996, 10, :o1, 846399600
171
+ tz.transition 1997, 4, :o2, 860313600
172
+ tz.transition 1997, 10, :o1, 877849200
173
+ tz.transition 1998, 4, :o2, 891763200
174
+ tz.transition 1998, 10, :o1, 909298800
175
+ tz.transition 1999, 4, :o2, 923212800
176
+ tz.transition 1999, 10, :o1, 941353200
177
+ tz.transition 2000, 4, :o2, 954662400
178
+ tz.transition 2000, 10, :o1, 972802800
179
+ tz.transition 2001, 4, :o2, 986112000
180
+ tz.transition 2001, 10, :o1, 1004252400
181
+ tz.transition 2002, 4, :o2, 1018166400
182
+ tz.transition 2002, 10, :o1, 1035702000
183
+ tz.transition 2003, 4, :o2, 1049616000
184
+ tz.transition 2003, 10, :o1, 1067151600
185
+ tz.transition 2004, 4, :o2, 1081065600
186
+ tz.transition 2004, 10, :o1, 1099206000
187
+ tz.transition 2005, 4, :o2, 1112515200
188
+ tz.transition 2005, 10, :o1, 1130655600
189
+ tz.transition 2006, 4, :o2, 1143964800
190
+ tz.transition 2006, 10, :o1, 1162105200
191
+ tz.transition 2007, 3, :o2, 1173600000
192
+ tz.transition 2007, 11, :o1, 1194159600
193
+ tz.transition 2008, 3, :o2, 1205049600
194
+ tz.transition 2008, 11, :o1, 1225609200
195
+ tz.transition 2009, 3, :o2, 1236499200
196
+ tz.transition 2009, 11, :o1, 1257058800
197
+ tz.transition 2010, 3, :o2, 1268553600
198
+ tz.transition 2010, 11, :o1, 1289113200
199
+ tz.transition 2011, 3, :o2, 1300003200
200
+ tz.transition 2011, 11, :o1, 1320562800
201
+ tz.transition 2012, 3, :o2, 1331452800
202
+ tz.transition 2012, 11, :o1, 1352012400
203
+ tz.transition 2013, 3, :o2, 1362902400
204
+ tz.transition 2013, 11, :o1, 1383462000
205
+ tz.transition 2014, 3, :o2, 1394352000
206
+ tz.transition 2014, 11, :o1, 1414911600
207
+ tz.transition 2015, 3, :o2, 1425801600
208
+ tz.transition 2015, 11, :o1, 1446361200
209
+ tz.transition 2016, 3, :o2, 1457856000
210
+ tz.transition 2016, 11, :o1, 1478415600
211
+ tz.transition 2017, 3, :o2, 1489305600
212
+ tz.transition 2017, 11, :o1, 1509865200
213
+ tz.transition 2018, 3, :o2, 1520755200
214
+ tz.transition 2018, 11, :o1, 1541314800
215
+ tz.transition 2019, 3, :o2, 1552204800
216
+ tz.transition 2019, 11, :o1, 1572764400
217
+ tz.transition 2020, 3, :o2, 1583654400
218
+ tz.transition 2020, 11, :o1, 1604214000
219
+ tz.transition 2021, 3, :o2, 1615708800
220
+ tz.transition 2021, 11, :o1, 1636268400
221
+ tz.transition 2022, 3, :o2, 1647158400
222
+ tz.transition 2022, 11, :o1, 1667718000
223
+ tz.transition 2023, 3, :o2, 1678608000
224
+ tz.transition 2023, 11, :o1, 1699167600
225
+ tz.transition 2024, 3, :o2, 1710057600
226
+ tz.transition 2024, 11, :o1, 1730617200
227
+ tz.transition 2025, 3, :o2, 1741507200
228
+ tz.transition 2025, 11, :o1, 1762066800
229
+ tz.transition 2026, 3, :o2, 1772956800
230
+ tz.transition 2026, 11, :o1, 1793516400
231
+ tz.transition 2027, 3, :o2, 1805011200
232
+ tz.transition 2027, 11, :o1, 1825570800
233
+ tz.transition 2028, 3, :o2, 1836460800
234
+ tz.transition 2028, 11, :o1, 1857020400
235
+ tz.transition 2029, 3, :o2, 1867910400
236
+ tz.transition 2029, 11, :o1, 1888470000
237
+ tz.transition 2030, 3, :o2, 1899360000
238
+ tz.transition 2030, 11, :o1, 1919919600
239
+ tz.transition 2031, 3, :o2, 1930809600
240
+ tz.transition 2031, 11, :o1, 1951369200
241
+ tz.transition 2032, 3, :o2, 1962864000
242
+ tz.transition 2032, 11, :o1, 1983423600
243
+ tz.transition 2033, 3, :o2, 1994313600
244
+ tz.transition 2033, 11, :o1, 2014873200
245
+ tz.transition 2034, 3, :o2, 2025763200
246
+ tz.transition 2034, 11, :o1, 2046322800
247
+ tz.transition 2035, 3, :o2, 2057212800
248
+ tz.transition 2035, 11, :o1, 2077772400
249
+ tz.transition 2036, 3, :o2, 2088662400
250
+ tz.transition 2036, 11, :o1, 2109222000
251
+ tz.transition 2037, 3, :o2, 2120112000
252
+ tz.transition 2037, 11, :o1, 2140671600
253
+ tz.transition 2038, 3, :o2, 14792981, 6
254
+ tz.transition 2038, 11, :o1, 59177635, 24
255
+ tz.transition 2039, 3, :o2, 14795165, 6
256
+ tz.transition 2039, 11, :o1, 59186371, 24
257
+ tz.transition 2040, 3, :o2, 14797349, 6
258
+ tz.transition 2040, 11, :o1, 59195107, 24
259
+ tz.transition 2041, 3, :o2, 14799533, 6
260
+ tz.transition 2041, 11, :o1, 59203843, 24
261
+ tz.transition 2042, 3, :o2, 14801717, 6
262
+ tz.transition 2042, 11, :o1, 59212579, 24
263
+ tz.transition 2043, 3, :o2, 14803901, 6
264
+ tz.transition 2043, 11, :o1, 59221315, 24
265
+ tz.transition 2044, 3, :o2, 14806127, 6
266
+ tz.transition 2044, 11, :o1, 59230219, 24
267
+ tz.transition 2045, 3, :o2, 14808311, 6
268
+ tz.transition 2045, 11, :o1, 59238955, 24
269
+ tz.transition 2046, 3, :o2, 14810495, 6
270
+ tz.transition 2046, 11, :o1, 59247691, 24
271
+ tz.transition 2047, 3, :o2, 14812679, 6
272
+ tz.transition 2047, 11, :o1, 59256427, 24
273
+ tz.transition 2048, 3, :o2, 14814863, 6
274
+ tz.transition 2048, 11, :o1, 59265163, 24
275
+ tz.transition 2049, 3, :o2, 14817089, 6
276
+ tz.transition 2049, 11, :o1, 59274067, 24
277
+ tz.transition 2050, 3, :o2, 14819273, 6
278
+ tz.transition 2050, 11, :o1, 59282803, 24
279
+ end
280
+ end
281
+ end
282
+ end
283
+ end