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,30 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Phoenix
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Phoenix' do |tz|
10
+ tz.offset :o0, -26898, 0, :LMT
11
+ tz.offset :o1, -25200, 0, :MST
12
+ tz.offset :o2, -25200, 3600, :MDT
13
+ tz.offset :o3, -25200, 3600, :MWT
14
+
15
+ tz.transition 1883, 11, :o1, 57819199, 24
16
+ tz.transition 1918, 3, :o2, 19373471, 8
17
+ tz.transition 1918, 10, :o1, 14531363, 6
18
+ tz.transition 1919, 3, :o2, 19376383, 8
19
+ tz.transition 1919, 10, :o1, 14533547, 6
20
+ tz.transition 1942, 2, :o3, 19443199, 8
21
+ tz.transition 1944, 1, :o1, 3500770681, 1440
22
+ tz.transition 1944, 4, :o3, 3500901781, 1440
23
+ tz.transition 1944, 10, :o1, 3501165241, 1440
24
+ tz.transition 1967, 4, :o2, 19516887, 8
25
+ tz.transition 1967, 10, :o1, 14638757, 6
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,74 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Regina
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Regina' do |tz|
10
+ tz.offset :o0, -25116, 0, :LMT
11
+ tz.offset :o1, -25200, 0, :MST
12
+ tz.offset :o2, -25200, 3600, :MDT
13
+ tz.offset :o3, -25200, 3600, :MWT
14
+ tz.offset :o4, -25200, 3600, :MPT
15
+ tz.offset :o5, -21600, 0, :CST
16
+
17
+ tz.transition 1905, 9, :o1, 17403046493, 7200
18
+ tz.transition 1918, 4, :o2, 19373583, 8
19
+ tz.transition 1918, 10, :o1, 14531387, 6
20
+ tz.transition 1930, 5, :o2, 58226419, 24
21
+ tz.transition 1930, 10, :o1, 9705019, 4
22
+ tz.transition 1931, 5, :o2, 58235155, 24
23
+ tz.transition 1931, 10, :o1, 9706475, 4
24
+ tz.transition 1932, 5, :o2, 58243891, 24
25
+ tz.transition 1932, 10, :o1, 9707931, 4
26
+ tz.transition 1933, 5, :o2, 58252795, 24
27
+ tz.transition 1933, 10, :o1, 9709387, 4
28
+ tz.transition 1934, 5, :o2, 58261531, 24
29
+ tz.transition 1934, 10, :o1, 9710871, 4
30
+ tz.transition 1937, 4, :o2, 58287235, 24
31
+ tz.transition 1937, 10, :o1, 9715267, 4
32
+ tz.transition 1938, 4, :o2, 58295971, 24
33
+ tz.transition 1938, 10, :o1, 9716695, 4
34
+ tz.transition 1939, 4, :o2, 58304707, 24
35
+ tz.transition 1939, 10, :o1, 9718179, 4
36
+ tz.transition 1940, 4, :o2, 58313611, 24
37
+ tz.transition 1940, 10, :o1, 9719663, 4
38
+ tz.transition 1941, 4, :o2, 58322347, 24
39
+ tz.transition 1941, 10, :o1, 9721119, 4
40
+ tz.transition 1942, 2, :o3, 19443199, 8
41
+ tz.transition 1945, 8, :o4, 58360379, 24
42
+ tz.transition 1945, 9, :o1, 14590373, 6
43
+ tz.transition 1946, 4, :o2, 19455399, 8
44
+ tz.transition 1946, 10, :o1, 14592641, 6
45
+ tz.transition 1947, 4, :o2, 19458423, 8
46
+ tz.transition 1947, 9, :o1, 14594741, 6
47
+ tz.transition 1948, 4, :o2, 19461335, 8
48
+ tz.transition 1948, 9, :o1, 14596925, 6
49
+ tz.transition 1949, 4, :o2, 19464247, 8
50
+ tz.transition 1949, 9, :o1, 14599109, 6
51
+ tz.transition 1950, 4, :o2, 19467215, 8
52
+ tz.transition 1950, 9, :o1, 14601293, 6
53
+ tz.transition 1951, 4, :o2, 19470127, 8
54
+ tz.transition 1951, 9, :o1, 14603519, 6
55
+ tz.transition 1952, 4, :o2, 19473039, 8
56
+ tz.transition 1952, 9, :o1, 14605703, 6
57
+ tz.transition 1953, 4, :o2, 19475951, 8
58
+ tz.transition 1953, 9, :o1, 14607887, 6
59
+ tz.transition 1954, 4, :o2, 19478863, 8
60
+ tz.transition 1954, 9, :o1, 14610071, 6
61
+ tz.transition 1955, 4, :o2, 19481775, 8
62
+ tz.transition 1955, 9, :o1, 14612255, 6
63
+ tz.transition 1956, 4, :o2, 19484743, 8
64
+ tz.transition 1956, 9, :o1, 14614481, 6
65
+ tz.transition 1957, 4, :o2, 19487655, 8
66
+ tz.transition 1957, 9, :o1, 14616665, 6
67
+ tz.transition 1959, 4, :o2, 19493479, 8
68
+ tz.transition 1959, 10, :o1, 14621201, 6
69
+ tz.transition 1960, 4, :o5, 19496391, 8
70
+ end
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,205 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Santiago
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Santiago' do |tz|
10
+ tz.offset :o0, -16966, 0, :LMT
11
+ tz.offset :o1, -16966, 0, :SMT
12
+ tz.offset :o2, -18000, 0, :CLT
13
+ tz.offset :o3, -14400, 0, :CLT
14
+ tz.offset :o4, -18000, 3600, :CLST
15
+ tz.offset :o5, -14400, 3600, :CLST
16
+
17
+ tz.transition 1890, 1, :o1, 104171127683, 43200
18
+ tz.transition 1910, 1, :o2, 104486660483, 43200
19
+ tz.transition 1916, 7, :o1, 58105097, 24
20
+ tz.transition 1918, 9, :o3, 104623388483, 43200
21
+ tz.transition 1919, 7, :o1, 7266422, 3
22
+ tz.transition 1927, 9, :o4, 104765386883, 43200
23
+ tz.transition 1928, 4, :o2, 7276013, 3
24
+ tz.transition 1928, 9, :o4, 58211777, 24
25
+ tz.transition 1929, 4, :o2, 7277108, 3
26
+ tz.transition 1929, 9, :o4, 58220537, 24
27
+ tz.transition 1930, 4, :o2, 7278203, 3
28
+ tz.transition 1930, 9, :o4, 58229297, 24
29
+ tz.transition 1931, 4, :o2, 7279298, 3
30
+ tz.transition 1931, 9, :o4, 58238057, 24
31
+ tz.transition 1932, 4, :o2, 7280396, 3
32
+ tz.transition 1932, 9, :o4, 58246841, 24
33
+ tz.transition 1942, 6, :o2, 7291535, 3
34
+ tz.transition 1942, 8, :o4, 58333745, 24
35
+ tz.transition 1946, 9, :o2, 19456517, 8
36
+ tz.transition 1947, 5, :o3, 58375865, 24
37
+ tz.transition 1968, 11, :o5, 7320491, 3
38
+ tz.transition 1969, 3, :o3, 19522485, 8
39
+ tz.transition 1969, 11, :o5, 7321646, 3
40
+ tz.transition 1970, 3, :o3, 7527600
41
+ tz.transition 1970, 10, :o5, 24465600
42
+ tz.transition 1971, 3, :o3, 37767600
43
+ tz.transition 1971, 10, :o5, 55915200
44
+ tz.transition 1972, 3, :o3, 69217200
45
+ tz.transition 1972, 10, :o5, 87969600
46
+ tz.transition 1973, 3, :o3, 100666800
47
+ tz.transition 1973, 9, :o5, 118209600
48
+ tz.transition 1974, 3, :o3, 132116400
49
+ tz.transition 1974, 10, :o5, 150868800
50
+ tz.transition 1975, 3, :o3, 163566000
51
+ tz.transition 1975, 10, :o5, 182318400
52
+ tz.transition 1976, 3, :o3, 195620400
53
+ tz.transition 1976, 10, :o5, 213768000
54
+ tz.transition 1977, 3, :o3, 227070000
55
+ tz.transition 1977, 10, :o5, 245217600
56
+ tz.transition 1978, 3, :o3, 258519600
57
+ tz.transition 1978, 10, :o5, 277272000
58
+ tz.transition 1979, 3, :o3, 289969200
59
+ tz.transition 1979, 10, :o5, 308721600
60
+ tz.transition 1980, 3, :o3, 321418800
61
+ tz.transition 1980, 10, :o5, 340171200
62
+ tz.transition 1981, 3, :o3, 353473200
63
+ tz.transition 1981, 10, :o5, 371620800
64
+ tz.transition 1982, 3, :o3, 384922800
65
+ tz.transition 1982, 10, :o5, 403070400
66
+ tz.transition 1983, 3, :o3, 416372400
67
+ tz.transition 1983, 10, :o5, 434520000
68
+ tz.transition 1984, 3, :o3, 447822000
69
+ tz.transition 1984, 10, :o5, 466574400
70
+ tz.transition 1985, 3, :o3, 479271600
71
+ tz.transition 1985, 10, :o5, 498024000
72
+ tz.transition 1986, 3, :o3, 510721200
73
+ tz.transition 1986, 10, :o5, 529473600
74
+ tz.transition 1987, 4, :o3, 545194800
75
+ tz.transition 1987, 10, :o5, 560923200
76
+ tz.transition 1988, 3, :o3, 574225200
77
+ tz.transition 1988, 10, :o5, 591768000
78
+ tz.transition 1989, 3, :o3, 605674800
79
+ tz.transition 1989, 10, :o5, 624427200
80
+ tz.transition 1990, 3, :o3, 637729200
81
+ tz.transition 1990, 9, :o5, 653457600
82
+ tz.transition 1991, 3, :o3, 668574000
83
+ tz.transition 1991, 10, :o5, 687326400
84
+ tz.transition 1992, 3, :o3, 700628400
85
+ tz.transition 1992, 10, :o5, 718776000
86
+ tz.transition 1993, 3, :o3, 732078000
87
+ tz.transition 1993, 10, :o5, 750225600
88
+ tz.transition 1994, 3, :o3, 763527600
89
+ tz.transition 1994, 10, :o5, 781675200
90
+ tz.transition 1995, 3, :o3, 794977200
91
+ tz.transition 1995, 10, :o5, 813729600
92
+ tz.transition 1996, 3, :o3, 826426800
93
+ tz.transition 1996, 10, :o5, 845179200
94
+ tz.transition 1997, 3, :o3, 859690800
95
+ tz.transition 1997, 10, :o5, 876628800
96
+ tz.transition 1998, 3, :o3, 889930800
97
+ tz.transition 1998, 9, :o5, 906868800
98
+ tz.transition 1999, 4, :o3, 923194800
99
+ tz.transition 1999, 10, :o5, 939528000
100
+ tz.transition 2000, 3, :o3, 952830000
101
+ tz.transition 2000, 10, :o5, 971582400
102
+ tz.transition 2001, 3, :o3, 984279600
103
+ tz.transition 2001, 10, :o5, 1003032000
104
+ tz.transition 2002, 3, :o3, 1015729200
105
+ tz.transition 2002, 10, :o5, 1034481600
106
+ tz.transition 2003, 3, :o3, 1047178800
107
+ tz.transition 2003, 10, :o5, 1065931200
108
+ tz.transition 2004, 3, :o3, 1079233200
109
+ tz.transition 2004, 10, :o5, 1097380800
110
+ tz.transition 2005, 3, :o3, 1110682800
111
+ tz.transition 2005, 10, :o5, 1128830400
112
+ tz.transition 2006, 3, :o3, 1142132400
113
+ tz.transition 2006, 10, :o5, 1160884800
114
+ tz.transition 2007, 3, :o3, 1173582000
115
+ tz.transition 2007, 10, :o5, 1192334400
116
+ tz.transition 2008, 3, :o3, 1206846000
117
+ tz.transition 2008, 10, :o5, 1223784000
118
+ tz.transition 2009, 3, :o3, 1237086000
119
+ tz.transition 2009, 10, :o5, 1255233600
120
+ tz.transition 2010, 3, :o3, 1268535600
121
+ tz.transition 2010, 10, :o5, 1286683200
122
+ tz.transition 2011, 3, :o3, 1299985200
123
+ tz.transition 2011, 10, :o5, 1318132800
124
+ tz.transition 2012, 3, :o3, 1331434800
125
+ tz.transition 2012, 10, :o5, 1350187200
126
+ tz.transition 2013, 3, :o3, 1362884400
127
+ tz.transition 2013, 10, :o5, 1381636800
128
+ tz.transition 2014, 3, :o3, 1394334000
129
+ tz.transition 2014, 10, :o5, 1413086400
130
+ tz.transition 2015, 3, :o3, 1426388400
131
+ tz.transition 2015, 10, :o5, 1444536000
132
+ tz.transition 2016, 3, :o3, 1457838000
133
+ tz.transition 2016, 10, :o5, 1475985600
134
+ tz.transition 2017, 3, :o3, 1489287600
135
+ tz.transition 2017, 10, :o5, 1508040000
136
+ tz.transition 2018, 3, :o3, 1520737200
137
+ tz.transition 2018, 10, :o5, 1539489600
138
+ tz.transition 2019, 3, :o3, 1552186800
139
+ tz.transition 2019, 10, :o5, 1570939200
140
+ tz.transition 2020, 3, :o3, 1584241200
141
+ tz.transition 2020, 10, :o5, 1602388800
142
+ tz.transition 2021, 3, :o3, 1615690800
143
+ tz.transition 2021, 10, :o5, 1633838400
144
+ tz.transition 2022, 3, :o3, 1647140400
145
+ tz.transition 2022, 10, :o5, 1665288000
146
+ tz.transition 2023, 3, :o3, 1678590000
147
+ tz.transition 2023, 10, :o5, 1697342400
148
+ tz.transition 2024, 3, :o3, 1710039600
149
+ tz.transition 2024, 10, :o5, 1728792000
150
+ tz.transition 2025, 3, :o3, 1741489200
151
+ tz.transition 2025, 10, :o5, 1760241600
152
+ tz.transition 2026, 3, :o3, 1773543600
153
+ tz.transition 2026, 10, :o5, 1791691200
154
+ tz.transition 2027, 3, :o3, 1804993200
155
+ tz.transition 2027, 10, :o5, 1823140800
156
+ tz.transition 2028, 3, :o3, 1836442800
157
+ tz.transition 2028, 10, :o5, 1855195200
158
+ tz.transition 2029, 3, :o3, 1867892400
159
+ tz.transition 2029, 10, :o5, 1886644800
160
+ tz.transition 2030, 3, :o3, 1899342000
161
+ tz.transition 2030, 10, :o5, 1918094400
162
+ tz.transition 2031, 3, :o3, 1930791600
163
+ tz.transition 2031, 10, :o5, 1949544000
164
+ tz.transition 2032, 3, :o3, 1962846000
165
+ tz.transition 2032, 10, :o5, 1980993600
166
+ tz.transition 2033, 3, :o3, 1994295600
167
+ tz.transition 2033, 10, :o5, 2012443200
168
+ tz.transition 2034, 3, :o3, 2025745200
169
+ tz.transition 2034, 10, :o5, 2044497600
170
+ tz.transition 2035, 3, :o3, 2057194800
171
+ tz.transition 2035, 10, :o5, 2075947200
172
+ tz.transition 2036, 3, :o3, 2088644400
173
+ tz.transition 2036, 10, :o5, 2107396800
174
+ tz.transition 2037, 3, :o3, 2120698800
175
+ tz.transition 2037, 10, :o5, 2138846400
176
+ tz.transition 2038, 3, :o3, 19723973, 8
177
+ tz.transition 2038, 10, :o5, 7397120, 3
178
+ tz.transition 2039, 3, :o3, 19726885, 8
179
+ tz.transition 2039, 10, :o5, 7398212, 3
180
+ tz.transition 2040, 3, :o3, 19729797, 8
181
+ tz.transition 2040, 10, :o5, 7399325, 3
182
+ tz.transition 2041, 3, :o3, 19732709, 8
183
+ tz.transition 2041, 10, :o5, 7400417, 3
184
+ tz.transition 2042, 3, :o3, 19735621, 8
185
+ tz.transition 2042, 10, :o5, 7401509, 3
186
+ tz.transition 2043, 3, :o3, 19738589, 8
187
+ tz.transition 2043, 10, :o5, 7402601, 3
188
+ tz.transition 2044, 3, :o3, 19741501, 8
189
+ tz.transition 2044, 10, :o5, 7403693, 3
190
+ tz.transition 2045, 3, :o3, 19744413, 8
191
+ tz.transition 2045, 10, :o5, 7404806, 3
192
+ tz.transition 2046, 3, :o3, 19747325, 8
193
+ tz.transition 2046, 10, :o5, 7405898, 3
194
+ tz.transition 2047, 3, :o3, 19750237, 8
195
+ tz.transition 2047, 10, :o5, 7406990, 3
196
+ tz.transition 2048, 3, :o3, 19753205, 8
197
+ tz.transition 2048, 10, :o5, 7408082, 3
198
+ tz.transition 2049, 3, :o3, 19756117, 8
199
+ tz.transition 2049, 10, :o5, 7409174, 3
200
+ tz.transition 2050, 3, :o3, 19759029, 8
201
+ end
202
+ end
203
+ end
204
+ end
205
+ end
@@ -0,0 +1,171 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module America
6
+ module Sao_Paulo
7
+ include TimezoneDefinition
8
+
9
+ timezone 'America/Sao_Paulo' do |tz|
10
+ tz.offset :o0, -11188, 0, :LMT
11
+ tz.offset :o1, -10800, 0, :BRT
12
+ tz.offset :o2, -10800, 3600, :BRST
13
+
14
+ tz.transition 1914, 1, :o1, 52274886397, 21600
15
+ tz.transition 1931, 10, :o2, 29119417, 12
16
+ tz.transition 1932, 4, :o1, 29121583, 12
17
+ tz.transition 1932, 10, :o2, 19415869, 8
18
+ tz.transition 1933, 4, :o1, 29125963, 12
19
+ tz.transition 1949, 12, :o2, 19466013, 8
20
+ tz.transition 1950, 4, :o1, 19467101, 8
21
+ tz.transition 1950, 12, :o2, 19468933, 8
22
+ tz.transition 1951, 4, :o1, 29204851, 12
23
+ tz.transition 1951, 12, :o2, 19471853, 8
24
+ tz.transition 1952, 4, :o1, 29209243, 12
25
+ tz.transition 1952, 12, :o2, 19474781, 8
26
+ tz.transition 1953, 3, :o1, 29213251, 12
27
+ tz.transition 1963, 10, :o2, 19506605, 8
28
+ tz.transition 1964, 3, :o1, 29261467, 12
29
+ tz.transition 1965, 1, :o2, 19510333, 8
30
+ tz.transition 1965, 3, :o1, 29266207, 12
31
+ tz.transition 1965, 12, :o2, 19512765, 8
32
+ tz.transition 1966, 3, :o1, 29270227, 12
33
+ tz.transition 1966, 11, :o2, 19515445, 8
34
+ tz.transition 1967, 3, :o1, 29274607, 12
35
+ tz.transition 1967, 11, :o2, 19518365, 8
36
+ tz.transition 1968, 3, :o1, 29278999, 12
37
+ tz.transition 1985, 11, :o2, 499748400
38
+ tz.transition 1986, 3, :o1, 511236000
39
+ tz.transition 1986, 10, :o2, 530593200
40
+ tz.transition 1987, 2, :o1, 540266400
41
+ tz.transition 1987, 10, :o2, 562129200
42
+ tz.transition 1988, 2, :o1, 571197600
43
+ tz.transition 1988, 10, :o2, 592974000
44
+ tz.transition 1989, 1, :o1, 602042400
45
+ tz.transition 1989, 10, :o2, 624423600
46
+ tz.transition 1990, 2, :o1, 634701600
47
+ tz.transition 1990, 10, :o2, 656478000
48
+ tz.transition 1991, 2, :o1, 666756000
49
+ tz.transition 1991, 10, :o2, 687927600
50
+ tz.transition 1992, 2, :o1, 697600800
51
+ tz.transition 1992, 10, :o2, 719982000
52
+ tz.transition 1993, 1, :o1, 728445600
53
+ tz.transition 1993, 10, :o2, 750826800
54
+ tz.transition 1994, 2, :o1, 761709600
55
+ tz.transition 1994, 10, :o2, 782276400
56
+ tz.transition 1995, 2, :o1, 793159200
57
+ tz.transition 1995, 10, :o2, 813726000
58
+ tz.transition 1996, 2, :o1, 824004000
59
+ tz.transition 1996, 10, :o2, 844570800
60
+ tz.transition 1997, 2, :o1, 856058400
61
+ tz.transition 1997, 10, :o2, 876106800
62
+ tz.transition 1998, 3, :o1, 888717600
63
+ tz.transition 1998, 10, :o2, 908074800
64
+ tz.transition 1999, 2, :o1, 919562400
65
+ tz.transition 1999, 10, :o2, 938919600
66
+ tz.transition 2000, 2, :o1, 951616800
67
+ tz.transition 2000, 10, :o2, 970974000
68
+ tz.transition 2001, 2, :o1, 982461600
69
+ tz.transition 2001, 10, :o2, 1003028400
70
+ tz.transition 2002, 2, :o1, 1013911200
71
+ tz.transition 2002, 11, :o2, 1036292400
72
+ tz.transition 2003, 2, :o1, 1045360800
73
+ tz.transition 2003, 10, :o2, 1066532400
74
+ tz.transition 2004, 2, :o1, 1076810400
75
+ tz.transition 2004, 11, :o2, 1099364400
76
+ tz.transition 2005, 2, :o1, 1108864800
77
+ tz.transition 2005, 10, :o2, 1129431600
78
+ tz.transition 2006, 2, :o1, 1140314400
79
+ tz.transition 2006, 11, :o2, 1162695600
80
+ tz.transition 2007, 2, :o1, 1172368800
81
+ tz.transition 2007, 10, :o2, 1192330800
82
+ tz.transition 2008, 2, :o1, 1203213600
83
+ tz.transition 2008, 10, :o2, 1224385200
84
+ tz.transition 2009, 2, :o1, 1234663200
85
+ tz.transition 2009, 10, :o2, 1255834800
86
+ tz.transition 2010, 2, :o1, 1266717600
87
+ tz.transition 2010, 10, :o2, 1287284400
88
+ tz.transition 2011, 2, :o1, 1298167200
89
+ tz.transition 2011, 10, :o2, 1318734000
90
+ tz.transition 2012, 2, :o1, 1330221600
91
+ tz.transition 2012, 10, :o2, 1350788400
92
+ tz.transition 2013, 2, :o1, 1361066400
93
+ tz.transition 2013, 10, :o2, 1382238000
94
+ tz.transition 2014, 2, :o1, 1392516000
95
+ tz.transition 2014, 10, :o2, 1413687600
96
+ tz.transition 2015, 2, :o1, 1424570400
97
+ tz.transition 2015, 10, :o2, 1445137200
98
+ tz.transition 2016, 2, :o1, 1456020000
99
+ tz.transition 2016, 10, :o2, 1476586800
100
+ tz.transition 2017, 2, :o1, 1487469600
101
+ tz.transition 2017, 10, :o2, 1508036400
102
+ tz.transition 2018, 2, :o1, 1518919200
103
+ tz.transition 2018, 10, :o2, 1540090800
104
+ tz.transition 2019, 2, :o1, 1550368800
105
+ tz.transition 2019, 10, :o2, 1571540400
106
+ tz.transition 2020, 2, :o1, 1581818400
107
+ tz.transition 2020, 10, :o2, 1602990000
108
+ tz.transition 2021, 2, :o1, 1613872800
109
+ tz.transition 2021, 10, :o2, 1634439600
110
+ tz.transition 2022, 2, :o1, 1645322400
111
+ tz.transition 2022, 10, :o2, 1665889200
112
+ tz.transition 2023, 2, :o1, 1677376800
113
+ tz.transition 2023, 10, :o2, 1697338800
114
+ tz.transition 2024, 2, :o1, 1708221600
115
+ tz.transition 2024, 10, :o2, 1729393200
116
+ tz.transition 2025, 2, :o1, 1739671200
117
+ tz.transition 2025, 10, :o2, 1760842800
118
+ tz.transition 2026, 2, :o1, 1771725600
119
+ tz.transition 2026, 10, :o2, 1792292400
120
+ tz.transition 2027, 2, :o1, 1803175200
121
+ tz.transition 2027, 10, :o2, 1823742000
122
+ tz.transition 2028, 2, :o1, 1834624800
123
+ tz.transition 2028, 10, :o2, 1855191600
124
+ tz.transition 2029, 2, :o1, 1866074400
125
+ tz.transition 2029, 10, :o2, 1887246000
126
+ tz.transition 2030, 2, :o1, 1897524000
127
+ tz.transition 2030, 10, :o2, 1918695600
128
+ tz.transition 2031, 2, :o1, 1928973600
129
+ tz.transition 2031, 10, :o2, 1950145200
130
+ tz.transition 2032, 2, :o1, 1960423200
131
+ tz.transition 2032, 10, :o2, 1981594800
132
+ tz.transition 2033, 2, :o1, 1992477600
133
+ tz.transition 2033, 10, :o2, 2013044400
134
+ tz.transition 2034, 2, :o1, 2024532000
135
+ tz.transition 2034, 10, :o2, 2044494000
136
+ tz.transition 2035, 2, :o1, 2055376800
137
+ tz.transition 2035, 10, :o2, 2076548400
138
+ tz.transition 2036, 2, :o1, 2086826400
139
+ tz.transition 2036, 10, :o2, 2107998000
140
+ tz.transition 2037, 2, :o1, 2118880800
141
+ tz.transition 2037, 10, :o2, 2139447600
142
+ tz.transition 2038, 2, :o1, 29585707, 12
143
+ tz.transition 2038, 10, :o2, 19725709, 8
144
+ tz.transition 2039, 2, :o1, 29590075, 12
145
+ tz.transition 2039, 10, :o2, 19728621, 8
146
+ tz.transition 2040, 2, :o1, 29594443, 12
147
+ tz.transition 2040, 10, :o2, 19731589, 8
148
+ tz.transition 2041, 2, :o1, 29598811, 12
149
+ tz.transition 2041, 10, :o2, 19734501, 8
150
+ tz.transition 2042, 2, :o1, 29603179, 12
151
+ tz.transition 2042, 10, :o2, 19737413, 8
152
+ tz.transition 2043, 2, :o1, 29607547, 12
153
+ tz.transition 2043, 10, :o2, 19740325, 8
154
+ tz.transition 2044, 2, :o1, 29611999, 12
155
+ tz.transition 2044, 10, :o2, 19743237, 8
156
+ tz.transition 2045, 2, :o1, 29616367, 12
157
+ tz.transition 2045, 10, :o2, 19746149, 8
158
+ tz.transition 2046, 2, :o1, 29620735, 12
159
+ tz.transition 2046, 10, :o2, 19749117, 8
160
+ tz.transition 2047, 2, :o1, 29625103, 12
161
+ tz.transition 2047, 10, :o2, 19752029, 8
162
+ tz.transition 2048, 2, :o1, 29629471, 12
163
+ tz.transition 2048, 10, :o2, 19754941, 8
164
+ tz.transition 2049, 2, :o1, 29633923, 12
165
+ tz.transition 2049, 10, :o2, 19757853, 8
166
+ tz.transition 2050, 2, :o1, 29638291, 12
167
+ end
168
+ end
169
+ end
170
+ end
171
+ end