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,23 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Atlantic
6
+ module Cape_Verde
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Atlantic/Cape_Verde' do |tz|
10
+ tz.offset :o0, -5644, 0, :LMT
11
+ tz.offset :o1, -7200, 0, :CVT
12
+ tz.offset :o2, -7200, 3600, :CVST
13
+ tz.offset :o3, -3600, 0, :CVT
14
+
15
+ tz.transition 1907, 1, :o1, 52219653811, 21600
16
+ tz.transition 1942, 9, :o2, 29167243, 12
17
+ tz.transition 1945, 10, :o1, 58361845, 24
18
+ tz.transition 1975, 11, :o3, 186120000
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,18 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Atlantic
6
+ module South_Georgia
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Atlantic/South_Georgia' do |tz|
10
+ tz.offset :o0, -8768, 0, :LMT
11
+ tz.offset :o1, -7200, 0, :GST
12
+
13
+ tz.transition 1890, 1, :o1, 1627673806, 675
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,187 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Australia
6
+ module Adelaide
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Australia/Adelaide' do |tz|
10
+ tz.offset :o0, 33260, 0, :LMT
11
+ tz.offset :o1, 32400, 0, :CST
12
+ tz.offset :o2, 34200, 0, :CST
13
+ tz.offset :o3, 34200, 3600, :CST
14
+
15
+ tz.transition 1895, 1, :o1, 10425132497, 4320
16
+ tz.transition 1899, 4, :o2, 19318201, 8
17
+ tz.transition 1916, 12, :o3, 3486569911, 1440
18
+ tz.transition 1917, 3, :o2, 116222983, 48
19
+ tz.transition 1941, 12, :o3, 38885763, 16
20
+ tz.transition 1942, 3, :o2, 116661463, 48
21
+ tz.transition 1942, 9, :o3, 38890067, 16
22
+ tz.transition 1943, 3, :o2, 116678935, 48
23
+ tz.transition 1943, 10, :o3, 38896003, 16
24
+ tz.transition 1944, 3, :o2, 116696407, 48
25
+ tz.transition 1971, 10, :o3, 57688200
26
+ tz.transition 1972, 2, :o2, 67969800
27
+ tz.transition 1972, 10, :o3, 89137800
28
+ tz.transition 1973, 3, :o2, 100024200
29
+ tz.transition 1973, 10, :o3, 120587400
30
+ tz.transition 1974, 3, :o2, 131473800
31
+ tz.transition 1974, 10, :o3, 152037000
32
+ tz.transition 1975, 3, :o2, 162923400
33
+ tz.transition 1975, 10, :o3, 183486600
34
+ tz.transition 1976, 3, :o2, 194977800
35
+ tz.transition 1976, 10, :o3, 215541000
36
+ tz.transition 1977, 3, :o2, 226427400
37
+ tz.transition 1977, 10, :o3, 246990600
38
+ tz.transition 1978, 3, :o2, 257877000
39
+ tz.transition 1978, 10, :o3, 278440200
40
+ tz.transition 1979, 3, :o2, 289326600
41
+ tz.transition 1979, 10, :o3, 309889800
42
+ tz.transition 1980, 3, :o2, 320776200
43
+ tz.transition 1980, 10, :o3, 341339400
44
+ tz.transition 1981, 2, :o2, 352225800
45
+ tz.transition 1981, 10, :o3, 372789000
46
+ tz.transition 1982, 3, :o2, 384280200
47
+ tz.transition 1982, 10, :o3, 404843400
48
+ tz.transition 1983, 3, :o2, 415729800
49
+ tz.transition 1983, 10, :o3, 436293000
50
+ tz.transition 1984, 3, :o2, 447179400
51
+ tz.transition 1984, 10, :o3, 467742600
52
+ tz.transition 1985, 3, :o2, 478629000
53
+ tz.transition 1985, 10, :o3, 499192200
54
+ tz.transition 1986, 3, :o2, 511288200
55
+ tz.transition 1986, 10, :o3, 530037000
56
+ tz.transition 1987, 3, :o2, 542737800
57
+ tz.transition 1987, 10, :o3, 562091400
58
+ tz.transition 1988, 3, :o2, 574792200
59
+ tz.transition 1988, 10, :o3, 594145800
60
+ tz.transition 1989, 3, :o2, 606241800
61
+ tz.transition 1989, 10, :o3, 625595400
62
+ tz.transition 1990, 3, :o2, 637691400
63
+ tz.transition 1990, 10, :o3, 657045000
64
+ tz.transition 1991, 3, :o2, 667931400
65
+ tz.transition 1991, 10, :o3, 688494600
66
+ tz.transition 1992, 3, :o2, 701195400
67
+ tz.transition 1992, 10, :o3, 719944200
68
+ tz.transition 1993, 3, :o2, 731435400
69
+ tz.transition 1993, 10, :o3, 751998600
70
+ tz.transition 1994, 3, :o2, 764094600
71
+ tz.transition 1994, 10, :o3, 783448200
72
+ tz.transition 1995, 3, :o2, 796149000
73
+ tz.transition 1995, 10, :o3, 814897800
74
+ tz.transition 1996, 3, :o2, 828203400
75
+ tz.transition 1996, 10, :o3, 846347400
76
+ tz.transition 1997, 3, :o2, 859653000
77
+ tz.transition 1997, 10, :o3, 877797000
78
+ tz.transition 1998, 3, :o2, 891102600
79
+ tz.transition 1998, 10, :o3, 909246600
80
+ tz.transition 1999, 3, :o2, 922552200
81
+ tz.transition 1999, 10, :o3, 941301000
82
+ tz.transition 2000, 3, :o2, 954001800
83
+ tz.transition 2000, 10, :o3, 972750600
84
+ tz.transition 2001, 3, :o2, 985451400
85
+ tz.transition 2001, 10, :o3, 1004200200
86
+ tz.transition 2002, 3, :o2, 1017505800
87
+ tz.transition 2002, 10, :o3, 1035649800
88
+ tz.transition 2003, 3, :o2, 1048955400
89
+ tz.transition 2003, 10, :o3, 1067099400
90
+ tz.transition 2004, 3, :o2, 1080405000
91
+ tz.transition 2004, 10, :o3, 1099153800
92
+ tz.transition 2005, 3, :o2, 1111854600
93
+ tz.transition 2005, 10, :o3, 1130603400
94
+ tz.transition 2006, 4, :o2, 1143909000
95
+ tz.transition 2006, 10, :o3, 1162053000
96
+ tz.transition 2007, 3, :o2, 1174753800
97
+ tz.transition 2007, 10, :o3, 1193502600
98
+ tz.transition 2008, 4, :o2, 1207413000
99
+ tz.transition 2008, 10, :o3, 1223137800
100
+ tz.transition 2009, 4, :o2, 1238862600
101
+ tz.transition 2009, 10, :o3, 1254587400
102
+ tz.transition 2010, 4, :o2, 1270312200
103
+ tz.transition 2010, 10, :o3, 1286037000
104
+ tz.transition 2011, 4, :o2, 1301761800
105
+ tz.transition 2011, 10, :o3, 1317486600
106
+ tz.transition 2012, 3, :o2, 1333211400
107
+ tz.transition 2012, 10, :o3, 1349541000
108
+ tz.transition 2013, 4, :o2, 1365265800
109
+ tz.transition 2013, 10, :o3, 1380990600
110
+ tz.transition 2014, 4, :o2, 1396715400
111
+ tz.transition 2014, 10, :o3, 1412440200
112
+ tz.transition 2015, 4, :o2, 1428165000
113
+ tz.transition 2015, 10, :o3, 1443889800
114
+ tz.transition 2016, 4, :o2, 1459614600
115
+ tz.transition 2016, 10, :o3, 1475339400
116
+ tz.transition 2017, 4, :o2, 1491064200
117
+ tz.transition 2017, 9, :o3, 1506789000
118
+ tz.transition 2018, 3, :o2, 1522513800
119
+ tz.transition 2018, 10, :o3, 1538843400
120
+ tz.transition 2019, 4, :o2, 1554568200
121
+ tz.transition 2019, 10, :o3, 1570293000
122
+ tz.transition 2020, 4, :o2, 1586017800
123
+ tz.transition 2020, 10, :o3, 1601742600
124
+ tz.transition 2021, 4, :o2, 1617467400
125
+ tz.transition 2021, 10, :o3, 1633192200
126
+ tz.transition 2022, 4, :o2, 1648917000
127
+ tz.transition 2022, 10, :o3, 1664641800
128
+ tz.transition 2023, 4, :o2, 1680366600
129
+ tz.transition 2023, 9, :o3, 1696091400
130
+ tz.transition 2024, 4, :o2, 1712421000
131
+ tz.transition 2024, 10, :o3, 1728145800
132
+ tz.transition 2025, 4, :o2, 1743870600
133
+ tz.transition 2025, 10, :o3, 1759595400
134
+ tz.transition 2026, 4, :o2, 1775320200
135
+ tz.transition 2026, 10, :o3, 1791045000
136
+ tz.transition 2027, 4, :o2, 1806769800
137
+ tz.transition 2027, 10, :o3, 1822494600
138
+ tz.transition 2028, 4, :o2, 1838219400
139
+ tz.transition 2028, 9, :o3, 1853944200
140
+ tz.transition 2029, 3, :o2, 1869669000
141
+ tz.transition 2029, 10, :o3, 1885998600
142
+ tz.transition 2030, 4, :o2, 1901723400
143
+ tz.transition 2030, 10, :o3, 1917448200
144
+ tz.transition 2031, 4, :o2, 1933173000
145
+ tz.transition 2031, 10, :o3, 1948897800
146
+ tz.transition 2032, 4, :o2, 1964622600
147
+ tz.transition 2032, 10, :o3, 1980347400
148
+ tz.transition 2033, 4, :o2, 1996072200
149
+ tz.transition 2033, 10, :o3, 2011797000
150
+ tz.transition 2034, 4, :o2, 2027521800
151
+ tz.transition 2034, 9, :o3, 2043246600
152
+ tz.transition 2035, 3, :o2, 2058971400
153
+ tz.transition 2035, 10, :o3, 2075301000
154
+ tz.transition 2036, 4, :o2, 2091025800
155
+ tz.transition 2036, 10, :o3, 2106750600
156
+ tz.transition 2037, 4, :o2, 2122475400
157
+ tz.transition 2037, 10, :o3, 2138200200
158
+ tz.transition 2038, 4, :o2, 39448275, 16
159
+ tz.transition 2038, 10, :o3, 39451187, 16
160
+ tz.transition 2039, 4, :o2, 39454099, 16
161
+ tz.transition 2039, 10, :o3, 39457011, 16
162
+ tz.transition 2040, 3, :o2, 39459923, 16
163
+ tz.transition 2040, 10, :o3, 39462947, 16
164
+ tz.transition 2041, 4, :o2, 39465859, 16
165
+ tz.transition 2041, 10, :o3, 39468771, 16
166
+ tz.transition 2042, 4, :o2, 39471683, 16
167
+ tz.transition 2042, 10, :o3, 39474595, 16
168
+ tz.transition 2043, 4, :o2, 39477507, 16
169
+ tz.transition 2043, 10, :o3, 39480419, 16
170
+ tz.transition 2044, 4, :o2, 39483331, 16
171
+ tz.transition 2044, 10, :o3, 39486243, 16
172
+ tz.transition 2045, 4, :o2, 39489155, 16
173
+ tz.transition 2045, 9, :o3, 39492067, 16
174
+ tz.transition 2046, 3, :o2, 39494979, 16
175
+ tz.transition 2046, 10, :o3, 39498003, 16
176
+ tz.transition 2047, 4, :o2, 39500915, 16
177
+ tz.transition 2047, 10, :o3, 39503827, 16
178
+ tz.transition 2048, 4, :o2, 39506739, 16
179
+ tz.transition 2048, 10, :o3, 39509651, 16
180
+ tz.transition 2049, 4, :o2, 39512563, 16
181
+ tz.transition 2049, 10, :o3, 39515475, 16
182
+ tz.transition 2050, 4, :o2, 39518387, 16
183
+ end
184
+ end
185
+ end
186
+ end
187
+ end
@@ -0,0 +1,35 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Australia
6
+ module Brisbane
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Australia/Brisbane' do |tz|
10
+ tz.offset :o0, 36728, 0, :LMT
11
+ tz.offset :o1, 36000, 0, :EST
12
+ tz.offset :o2, 36000, 3600, :EST
13
+
14
+ tz.transition 1894, 12, :o1, 26062496009, 10800
15
+ tz.transition 1916, 12, :o2, 3486569881, 1440
16
+ tz.transition 1917, 3, :o1, 19370497, 8
17
+ tz.transition 1941, 12, :o2, 14582161, 6
18
+ tz.transition 1942, 3, :o1, 19443577, 8
19
+ tz.transition 1942, 9, :o2, 14583775, 6
20
+ tz.transition 1943, 3, :o1, 19446489, 8
21
+ tz.transition 1943, 10, :o2, 14586001, 6
22
+ tz.transition 1944, 3, :o1, 19449401, 8
23
+ tz.transition 1971, 10, :o2, 57686400
24
+ tz.transition 1972, 2, :o1, 67968000
25
+ tz.transition 1989, 10, :o2, 625593600
26
+ tz.transition 1990, 3, :o1, 636480000
27
+ tz.transition 1990, 10, :o2, 657043200
28
+ tz.transition 1991, 3, :o1, 667929600
29
+ tz.transition 1991, 10, :o2, 688492800
30
+ tz.transition 1992, 2, :o1, 699379200
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,29 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Australia
6
+ module Darwin
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Australia/Darwin' do |tz|
10
+ tz.offset :o0, 31400, 0, :LMT
11
+ tz.offset :o1, 32400, 0, :CST
12
+ tz.offset :o2, 34200, 0, :CST
13
+ tz.offset :o3, 34200, 3600, :CST
14
+
15
+ tz.transition 1895, 1, :o1, 1042513259, 432
16
+ tz.transition 1899, 4, :o2, 19318201, 8
17
+ tz.transition 1916, 12, :o3, 3486569911, 1440
18
+ tz.transition 1917, 3, :o2, 116222983, 48
19
+ tz.transition 1941, 12, :o3, 38885763, 16
20
+ tz.transition 1942, 3, :o2, 116661463, 48
21
+ tz.transition 1942, 9, :o3, 38890067, 16
22
+ tz.transition 1943, 3, :o2, 116678935, 48
23
+ tz.transition 1943, 10, :o3, 38896003, 16
24
+ tz.transition 1944, 3, :o2, 116696407, 48
25
+ end
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,193 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Australia
6
+ module Hobart
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Australia/Hobart' do |tz|
10
+ tz.offset :o0, 35356, 0, :LMT
11
+ tz.offset :o1, 36000, 0, :EST
12
+ tz.offset :o2, 36000, 3600, :EST
13
+
14
+ tz.transition 1895, 8, :o1, 52130241161, 21600
15
+ tz.transition 1916, 9, :o2, 14526823, 6
16
+ tz.transition 1917, 3, :o1, 19370497, 8
17
+ tz.transition 1941, 12, :o2, 14582161, 6
18
+ tz.transition 1942, 3, :o1, 19443577, 8
19
+ tz.transition 1942, 9, :o2, 14583775, 6
20
+ tz.transition 1943, 3, :o1, 19446489, 8
21
+ tz.transition 1943, 10, :o2, 14586001, 6
22
+ tz.transition 1944, 3, :o1, 19449401, 8
23
+ tz.transition 1967, 9, :o2, 14638585, 6
24
+ tz.transition 1968, 3, :o1, 14639677, 6
25
+ tz.transition 1968, 10, :o2, 14640937, 6
26
+ tz.transition 1969, 3, :o1, 14641735, 6
27
+ tz.transition 1969, 10, :o2, 14643121, 6
28
+ tz.transition 1970, 3, :o1, 5673600
29
+ tz.transition 1970, 10, :o2, 25632000
30
+ tz.transition 1971, 3, :o1, 37728000
31
+ tz.transition 1971, 10, :o2, 57686400
32
+ tz.transition 1972, 2, :o1, 67968000
33
+ tz.transition 1972, 10, :o2, 89136000
34
+ tz.transition 1973, 3, :o1, 100022400
35
+ tz.transition 1973, 10, :o2, 120585600
36
+ tz.transition 1974, 3, :o1, 131472000
37
+ tz.transition 1974, 10, :o2, 152035200
38
+ tz.transition 1975, 3, :o1, 162921600
39
+ tz.transition 1975, 10, :o2, 183484800
40
+ tz.transition 1976, 3, :o1, 194976000
41
+ tz.transition 1976, 10, :o2, 215539200
42
+ tz.transition 1977, 3, :o1, 226425600
43
+ tz.transition 1977, 10, :o2, 246988800
44
+ tz.transition 1978, 3, :o1, 257875200
45
+ tz.transition 1978, 10, :o2, 278438400
46
+ tz.transition 1979, 3, :o1, 289324800
47
+ tz.transition 1979, 10, :o2, 309888000
48
+ tz.transition 1980, 3, :o1, 320774400
49
+ tz.transition 1980, 10, :o2, 341337600
50
+ tz.transition 1981, 2, :o1, 352224000
51
+ tz.transition 1981, 10, :o2, 372787200
52
+ tz.transition 1982, 3, :o1, 386092800
53
+ tz.transition 1982, 10, :o2, 404841600
54
+ tz.transition 1983, 3, :o1, 417542400
55
+ tz.transition 1983, 10, :o2, 436291200
56
+ tz.transition 1984, 3, :o1, 447177600
57
+ tz.transition 1984, 10, :o2, 467740800
58
+ tz.transition 1985, 3, :o1, 478627200
59
+ tz.transition 1985, 10, :o2, 499190400
60
+ tz.transition 1986, 3, :o1, 510076800
61
+ tz.transition 1986, 10, :o2, 530035200
62
+ tz.transition 1987, 3, :o1, 542736000
63
+ tz.transition 1987, 10, :o2, 562089600
64
+ tz.transition 1988, 3, :o1, 574790400
65
+ tz.transition 1988, 10, :o2, 594144000
66
+ tz.transition 1989, 3, :o1, 606240000
67
+ tz.transition 1989, 10, :o2, 625593600
68
+ tz.transition 1990, 3, :o1, 637689600
69
+ tz.transition 1990, 10, :o2, 657043200
70
+ tz.transition 1991, 3, :o1, 670348800
71
+ tz.transition 1991, 10, :o2, 686678400
72
+ tz.transition 1992, 3, :o1, 701798400
73
+ tz.transition 1992, 10, :o2, 718128000
74
+ tz.transition 1993, 3, :o1, 733248000
75
+ tz.transition 1993, 10, :o2, 749577600
76
+ tz.transition 1994, 3, :o1, 764697600
77
+ tz.transition 1994, 10, :o2, 781027200
78
+ tz.transition 1995, 3, :o1, 796147200
79
+ tz.transition 1995, 9, :o2, 812476800
80
+ tz.transition 1996, 3, :o1, 828201600
81
+ tz.transition 1996, 10, :o2, 844531200
82
+ tz.transition 1997, 3, :o1, 859651200
83
+ tz.transition 1997, 10, :o2, 875980800
84
+ tz.transition 1998, 3, :o1, 891100800
85
+ tz.transition 1998, 10, :o2, 907430400
86
+ tz.transition 1999, 3, :o1, 922550400
87
+ tz.transition 1999, 10, :o2, 938880000
88
+ tz.transition 2000, 3, :o1, 954000000
89
+ tz.transition 2000, 8, :o2, 967305600
90
+ tz.transition 2001, 3, :o1, 985449600
91
+ tz.transition 2001, 10, :o2, 1002384000
92
+ tz.transition 2002, 3, :o1, 1017504000
93
+ tz.transition 2002, 10, :o2, 1033833600
94
+ tz.transition 2003, 3, :o1, 1048953600
95
+ tz.transition 2003, 10, :o2, 1065283200
96
+ tz.transition 2004, 3, :o1, 1080403200
97
+ tz.transition 2004, 10, :o2, 1096732800
98
+ tz.transition 2005, 3, :o1, 1111852800
99
+ tz.transition 2005, 10, :o2, 1128182400
100
+ tz.transition 2006, 4, :o1, 1143907200
101
+ tz.transition 2006, 9, :o2, 1159632000
102
+ tz.transition 2007, 3, :o1, 1174752000
103
+ tz.transition 2007, 10, :o2, 1191686400
104
+ tz.transition 2008, 4, :o1, 1207411200
105
+ tz.transition 2008, 10, :o2, 1223136000
106
+ tz.transition 2009, 4, :o1, 1238860800
107
+ tz.transition 2009, 10, :o2, 1254585600
108
+ tz.transition 2010, 4, :o1, 1270310400
109
+ tz.transition 2010, 10, :o2, 1286035200
110
+ tz.transition 2011, 4, :o1, 1301760000
111
+ tz.transition 2011, 10, :o2, 1317484800
112
+ tz.transition 2012, 3, :o1, 1333209600
113
+ tz.transition 2012, 10, :o2, 1349539200
114
+ tz.transition 2013, 4, :o1, 1365264000
115
+ tz.transition 2013, 10, :o2, 1380988800
116
+ tz.transition 2014, 4, :o1, 1396713600
117
+ tz.transition 2014, 10, :o2, 1412438400
118
+ tz.transition 2015, 4, :o1, 1428163200
119
+ tz.transition 2015, 10, :o2, 1443888000
120
+ tz.transition 2016, 4, :o1, 1459612800
121
+ tz.transition 2016, 10, :o2, 1475337600
122
+ tz.transition 2017, 4, :o1, 1491062400
123
+ tz.transition 2017, 9, :o2, 1506787200
124
+ tz.transition 2018, 3, :o1, 1522512000
125
+ tz.transition 2018, 10, :o2, 1538841600
126
+ tz.transition 2019, 4, :o1, 1554566400
127
+ tz.transition 2019, 10, :o2, 1570291200
128
+ tz.transition 2020, 4, :o1, 1586016000
129
+ tz.transition 2020, 10, :o2, 1601740800
130
+ tz.transition 2021, 4, :o1, 1617465600
131
+ tz.transition 2021, 10, :o2, 1633190400
132
+ tz.transition 2022, 4, :o1, 1648915200
133
+ tz.transition 2022, 10, :o2, 1664640000
134
+ tz.transition 2023, 4, :o1, 1680364800
135
+ tz.transition 2023, 9, :o2, 1696089600
136
+ tz.transition 2024, 4, :o1, 1712419200
137
+ tz.transition 2024, 10, :o2, 1728144000
138
+ tz.transition 2025, 4, :o1, 1743868800
139
+ tz.transition 2025, 10, :o2, 1759593600
140
+ tz.transition 2026, 4, :o1, 1775318400
141
+ tz.transition 2026, 10, :o2, 1791043200
142
+ tz.transition 2027, 4, :o1, 1806768000
143
+ tz.transition 2027, 10, :o2, 1822492800
144
+ tz.transition 2028, 4, :o1, 1838217600
145
+ tz.transition 2028, 9, :o2, 1853942400
146
+ tz.transition 2029, 3, :o1, 1869667200
147
+ tz.transition 2029, 10, :o2, 1885996800
148
+ tz.transition 2030, 4, :o1, 1901721600
149
+ tz.transition 2030, 10, :o2, 1917446400
150
+ tz.transition 2031, 4, :o1, 1933171200
151
+ tz.transition 2031, 10, :o2, 1948896000
152
+ tz.transition 2032, 4, :o1, 1964620800
153
+ tz.transition 2032, 10, :o2, 1980345600
154
+ tz.transition 2033, 4, :o1, 1996070400
155
+ tz.transition 2033, 10, :o2, 2011795200
156
+ tz.transition 2034, 4, :o1, 2027520000
157
+ tz.transition 2034, 9, :o2, 2043244800
158
+ tz.transition 2035, 3, :o1, 2058969600
159
+ tz.transition 2035, 10, :o2, 2075299200
160
+ tz.transition 2036, 4, :o1, 2091024000
161
+ tz.transition 2036, 10, :o2, 2106748800
162
+ tz.transition 2037, 4, :o1, 2122473600
163
+ tz.transition 2037, 10, :o2, 2138198400
164
+ tz.transition 2038, 4, :o1, 14793103, 6
165
+ tz.transition 2038, 10, :o2, 14794195, 6
166
+ tz.transition 2039, 4, :o1, 14795287, 6
167
+ tz.transition 2039, 10, :o2, 14796379, 6
168
+ tz.transition 2040, 3, :o1, 14797471, 6
169
+ tz.transition 2040, 10, :o2, 14798605, 6
170
+ tz.transition 2041, 4, :o1, 14799697, 6
171
+ tz.transition 2041, 10, :o2, 14800789, 6
172
+ tz.transition 2042, 4, :o1, 14801881, 6
173
+ tz.transition 2042, 10, :o2, 14802973, 6
174
+ tz.transition 2043, 4, :o1, 14804065, 6
175
+ tz.transition 2043, 10, :o2, 14805157, 6
176
+ tz.transition 2044, 4, :o1, 14806249, 6
177
+ tz.transition 2044, 10, :o2, 14807341, 6
178
+ tz.transition 2045, 4, :o1, 14808433, 6
179
+ tz.transition 2045, 9, :o2, 14809525, 6
180
+ tz.transition 2046, 3, :o1, 14810617, 6
181
+ tz.transition 2046, 10, :o2, 14811751, 6
182
+ tz.transition 2047, 4, :o1, 14812843, 6
183
+ tz.transition 2047, 10, :o2, 14813935, 6
184
+ tz.transition 2048, 4, :o1, 14815027, 6
185
+ tz.transition 2048, 10, :o2, 14816119, 6
186
+ tz.transition 2049, 4, :o1, 14817211, 6
187
+ tz.transition 2049, 10, :o2, 14818303, 6
188
+ tz.transition 2050, 4, :o1, 14819395, 6
189
+ end
190
+ end
191
+ end
192
+ end
193
+ end