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,172 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Tallinn
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Tallinn' do |tz|
10
+ tz.offset :o0, 5940, 0, :LMT
11
+ tz.offset :o1, 5940, 0, :TMT
12
+ tz.offset :o2, 3600, 0, :CET
13
+ tz.offset :o3, 3600, 3600, :CEST
14
+ tz.offset :o4, 7200, 0, :EET
15
+ tz.offset :o5, 10800, 0, :MSK
16
+ tz.offset :o6, 10800, 3600, :MSD
17
+ tz.offset :o7, 7200, 3600, :EEST
18
+
19
+ tz.transition 1879, 12, :o1, 385234469, 160
20
+ tz.transition 1918, 1, :o2, 387460069, 160
21
+ tz.transition 1918, 4, :o3, 58120765, 24
22
+ tz.transition 1918, 9, :o2, 58124461, 24
23
+ tz.transition 1919, 6, :o1, 58131371, 24
24
+ tz.transition 1921, 4, :o4, 387649669, 160
25
+ tz.transition 1940, 8, :o5, 29158169, 12
26
+ tz.transition 1941, 9, :o3, 19442019, 8
27
+ tz.transition 1942, 11, :o2, 58335973, 24
28
+ tz.transition 1943, 3, :o3, 58339501, 24
29
+ tz.transition 1943, 10, :o2, 58344037, 24
30
+ tz.transition 1944, 4, :o3, 58348405, 24
31
+ tz.transition 1944, 9, :o5, 29176265, 12
32
+ tz.transition 1981, 3, :o6, 354920400
33
+ tz.transition 1981, 9, :o5, 370728000
34
+ tz.transition 1982, 3, :o6, 386456400
35
+ tz.transition 1982, 9, :o5, 402264000
36
+ tz.transition 1983, 3, :o6, 417992400
37
+ tz.transition 1983, 9, :o5, 433800000
38
+ tz.transition 1984, 3, :o6, 449614800
39
+ tz.transition 1984, 9, :o5, 465346800
40
+ tz.transition 1985, 3, :o6, 481071600
41
+ tz.transition 1985, 9, :o5, 496796400
42
+ tz.transition 1986, 3, :o6, 512521200
43
+ tz.transition 1986, 9, :o5, 528246000
44
+ tz.transition 1987, 3, :o6, 543970800
45
+ tz.transition 1987, 9, :o5, 559695600
46
+ tz.transition 1988, 3, :o6, 575420400
47
+ tz.transition 1988, 9, :o5, 591145200
48
+ tz.transition 1989, 3, :o7, 606870000
49
+ tz.transition 1989, 9, :o4, 622598400
50
+ tz.transition 1990, 3, :o7, 638323200
51
+ tz.transition 1990, 9, :o4, 654652800
52
+ tz.transition 1991, 3, :o7, 670377600
53
+ tz.transition 1991, 9, :o4, 686102400
54
+ tz.transition 1992, 3, :o7, 701827200
55
+ tz.transition 1992, 9, :o4, 717552000
56
+ tz.transition 1993, 3, :o7, 733276800
57
+ tz.transition 1993, 9, :o4, 749001600
58
+ tz.transition 1994, 3, :o7, 764726400
59
+ tz.transition 1994, 9, :o4, 780451200
60
+ tz.transition 1995, 3, :o7, 796176000
61
+ tz.transition 1995, 9, :o4, 811900800
62
+ tz.transition 1996, 3, :o7, 828230400
63
+ tz.transition 1996, 10, :o4, 846374400
64
+ tz.transition 1997, 3, :o7, 859680000
65
+ tz.transition 1997, 10, :o4, 877824000
66
+ tz.transition 1998, 3, :o7, 891129600
67
+ tz.transition 1998, 10, :o4, 909277200
68
+ tz.transition 1999, 3, :o7, 922582800
69
+ tz.transition 1999, 10, :o4, 941331600
70
+ tz.transition 2002, 3, :o7, 1017536400
71
+ tz.transition 2002, 10, :o4, 1035680400
72
+ tz.transition 2003, 3, :o7, 1048986000
73
+ tz.transition 2003, 10, :o4, 1067130000
74
+ tz.transition 2004, 3, :o7, 1080435600
75
+ tz.transition 2004, 10, :o4, 1099184400
76
+ tz.transition 2005, 3, :o7, 1111885200
77
+ tz.transition 2005, 10, :o4, 1130634000
78
+ tz.transition 2006, 3, :o7, 1143334800
79
+ tz.transition 2006, 10, :o4, 1162083600
80
+ tz.transition 2007, 3, :o7, 1174784400
81
+ tz.transition 2007, 10, :o4, 1193533200
82
+ tz.transition 2008, 3, :o7, 1206838800
83
+ tz.transition 2008, 10, :o4, 1224982800
84
+ tz.transition 2009, 3, :o7, 1238288400
85
+ tz.transition 2009, 10, :o4, 1256432400
86
+ tz.transition 2010, 3, :o7, 1269738000
87
+ tz.transition 2010, 10, :o4, 1288486800
88
+ tz.transition 2011, 3, :o7, 1301187600
89
+ tz.transition 2011, 10, :o4, 1319936400
90
+ tz.transition 2012, 3, :o7, 1332637200
91
+ tz.transition 2012, 10, :o4, 1351386000
92
+ tz.transition 2013, 3, :o7, 1364691600
93
+ tz.transition 2013, 10, :o4, 1382835600
94
+ tz.transition 2014, 3, :o7, 1396141200
95
+ tz.transition 2014, 10, :o4, 1414285200
96
+ tz.transition 2015, 3, :o7, 1427590800
97
+ tz.transition 2015, 10, :o4, 1445734800
98
+ tz.transition 2016, 3, :o7, 1459040400
99
+ tz.transition 2016, 10, :o4, 1477789200
100
+ tz.transition 2017, 3, :o7, 1490490000
101
+ tz.transition 2017, 10, :o4, 1509238800
102
+ tz.transition 2018, 3, :o7, 1521939600
103
+ tz.transition 2018, 10, :o4, 1540688400
104
+ tz.transition 2019, 3, :o7, 1553994000
105
+ tz.transition 2019, 10, :o4, 1572138000
106
+ tz.transition 2020, 3, :o7, 1585443600
107
+ tz.transition 2020, 10, :o4, 1603587600
108
+ tz.transition 2021, 3, :o7, 1616893200
109
+ tz.transition 2021, 10, :o4, 1635642000
110
+ tz.transition 2022, 3, :o7, 1648342800
111
+ tz.transition 2022, 10, :o4, 1667091600
112
+ tz.transition 2023, 3, :o7, 1679792400
113
+ tz.transition 2023, 10, :o4, 1698541200
114
+ tz.transition 2024, 3, :o7, 1711846800
115
+ tz.transition 2024, 10, :o4, 1729990800
116
+ tz.transition 2025, 3, :o7, 1743296400
117
+ tz.transition 2025, 10, :o4, 1761440400
118
+ tz.transition 2026, 3, :o7, 1774746000
119
+ tz.transition 2026, 10, :o4, 1792890000
120
+ tz.transition 2027, 3, :o7, 1806195600
121
+ tz.transition 2027, 10, :o4, 1824944400
122
+ tz.transition 2028, 3, :o7, 1837645200
123
+ tz.transition 2028, 10, :o4, 1856394000
124
+ tz.transition 2029, 3, :o7, 1869094800
125
+ tz.transition 2029, 10, :o4, 1887843600
126
+ tz.transition 2030, 3, :o7, 1901149200
127
+ tz.transition 2030, 10, :o4, 1919293200
128
+ tz.transition 2031, 3, :o7, 1932598800
129
+ tz.transition 2031, 10, :o4, 1950742800
130
+ tz.transition 2032, 3, :o7, 1964048400
131
+ tz.transition 2032, 10, :o4, 1982797200
132
+ tz.transition 2033, 3, :o7, 1995498000
133
+ tz.transition 2033, 10, :o4, 2014246800
134
+ tz.transition 2034, 3, :o7, 2026947600
135
+ tz.transition 2034, 10, :o4, 2045696400
136
+ tz.transition 2035, 3, :o7, 2058397200
137
+ tz.transition 2035, 10, :o4, 2077146000
138
+ tz.transition 2036, 3, :o7, 2090451600
139
+ tz.transition 2036, 10, :o4, 2108595600
140
+ tz.transition 2037, 3, :o7, 2121901200
141
+ tz.transition 2037, 10, :o4, 2140045200
142
+ tz.transition 2038, 3, :o7, 59172253, 24
143
+ tz.transition 2038, 10, :o4, 59177461, 24
144
+ tz.transition 2039, 3, :o7, 59180989, 24
145
+ tz.transition 2039, 10, :o4, 59186197, 24
146
+ tz.transition 2040, 3, :o7, 59189725, 24
147
+ tz.transition 2040, 10, :o4, 59194933, 24
148
+ tz.transition 2041, 3, :o7, 59198629, 24
149
+ tz.transition 2041, 10, :o4, 59203669, 24
150
+ tz.transition 2042, 3, :o7, 59207365, 24
151
+ tz.transition 2042, 10, :o4, 59212405, 24
152
+ tz.transition 2043, 3, :o7, 59216101, 24
153
+ tz.transition 2043, 10, :o4, 59221141, 24
154
+ tz.transition 2044, 3, :o7, 59224837, 24
155
+ tz.transition 2044, 10, :o4, 59230045, 24
156
+ tz.transition 2045, 3, :o7, 59233573, 24
157
+ tz.transition 2045, 10, :o4, 59238781, 24
158
+ tz.transition 2046, 3, :o7, 59242309, 24
159
+ tz.transition 2046, 10, :o4, 59247517, 24
160
+ tz.transition 2047, 3, :o7, 59251213, 24
161
+ tz.transition 2047, 10, :o4, 59256253, 24
162
+ tz.transition 2048, 3, :o7, 59259949, 24
163
+ tz.transition 2048, 10, :o4, 59264989, 24
164
+ tz.transition 2049, 3, :o7, 59268685, 24
165
+ tz.transition 2049, 10, :o4, 59273893, 24
166
+ tz.transition 2050, 3, :o7, 59277421, 24
167
+ tz.transition 2050, 10, :o4, 59282629, 24
168
+ end
169
+ end
170
+ end
171
+ end
172
+ end
@@ -0,0 +1,183 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Vienna
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Vienna' do |tz|
10
+ tz.offset :o0, 3920, 0, :LMT
11
+ tz.offset :o1, 3600, 0, :CET
12
+ tz.offset :o2, 3600, 3600, :CEST
13
+
14
+ tz.transition 1893, 3, :o1, 2605558811, 1080
15
+ tz.transition 1916, 4, :o2, 29051813, 12
16
+ tz.transition 1916, 9, :o1, 58107299, 24
17
+ tz.transition 1917, 4, :o2, 58112029, 24
18
+ tz.transition 1917, 9, :o1, 58115725, 24
19
+ tz.transition 1918, 4, :o2, 58120765, 24
20
+ tz.transition 1918, 9, :o1, 58124461, 24
21
+ tz.transition 1920, 4, :o2, 58138069, 24
22
+ tz.transition 1920, 9, :o1, 58141933, 24
23
+ tz.transition 1940, 4, :o2, 58313293, 24
24
+ tz.transition 1942, 11, :o1, 58335973, 24
25
+ tz.transition 1943, 3, :o2, 58339501, 24
26
+ tz.transition 1943, 10, :o1, 58344037, 24
27
+ tz.transition 1944, 4, :o2, 58348405, 24
28
+ tz.transition 1944, 10, :o1, 58352773, 24
29
+ tz.transition 1945, 4, :o2, 58357141, 24
30
+ tz.transition 1945, 4, :o1, 58357381, 24
31
+ tz.transition 1946, 4, :o2, 58366189, 24
32
+ tz.transition 1946, 10, :o1, 58370389, 24
33
+ tz.transition 1947, 4, :o2, 58374757, 24
34
+ tz.transition 1947, 10, :o1, 58379125, 24
35
+ tz.transition 1948, 4, :o2, 58383829, 24
36
+ tz.transition 1948, 10, :o1, 58387861, 24
37
+ tz.transition 1980, 4, :o2, 323823600
38
+ tz.transition 1980, 9, :o1, 338940000
39
+ tz.transition 1981, 3, :o2, 354675600
40
+ tz.transition 1981, 9, :o1, 370400400
41
+ tz.transition 1982, 3, :o2, 386125200
42
+ tz.transition 1982, 9, :o1, 401850000
43
+ tz.transition 1983, 3, :o2, 417574800
44
+ tz.transition 1983, 9, :o1, 433299600
45
+ tz.transition 1984, 3, :o2, 449024400
46
+ tz.transition 1984, 9, :o1, 465354000
47
+ tz.transition 1985, 3, :o2, 481078800
48
+ tz.transition 1985, 9, :o1, 496803600
49
+ tz.transition 1986, 3, :o2, 512528400
50
+ tz.transition 1986, 9, :o1, 528253200
51
+ tz.transition 1987, 3, :o2, 543978000
52
+ tz.transition 1987, 9, :o1, 559702800
53
+ tz.transition 1988, 3, :o2, 575427600
54
+ tz.transition 1988, 9, :o1, 591152400
55
+ tz.transition 1989, 3, :o2, 606877200
56
+ tz.transition 1989, 9, :o1, 622602000
57
+ tz.transition 1990, 3, :o2, 638326800
58
+ tz.transition 1990, 9, :o1, 654656400
59
+ tz.transition 1991, 3, :o2, 670381200
60
+ tz.transition 1991, 9, :o1, 686106000
61
+ tz.transition 1992, 3, :o2, 701830800
62
+ tz.transition 1992, 9, :o1, 717555600
63
+ tz.transition 1993, 3, :o2, 733280400
64
+ tz.transition 1993, 9, :o1, 749005200
65
+ tz.transition 1994, 3, :o2, 764730000
66
+ tz.transition 1994, 9, :o1, 780454800
67
+ tz.transition 1995, 3, :o2, 796179600
68
+ tz.transition 1995, 9, :o1, 811904400
69
+ tz.transition 1996, 3, :o2, 828234000
70
+ tz.transition 1996, 10, :o1, 846378000
71
+ tz.transition 1997, 3, :o2, 859683600
72
+ tz.transition 1997, 10, :o1, 877827600
73
+ tz.transition 1998, 3, :o2, 891133200
74
+ tz.transition 1998, 10, :o1, 909277200
75
+ tz.transition 1999, 3, :o2, 922582800
76
+ tz.transition 1999, 10, :o1, 941331600
77
+ tz.transition 2000, 3, :o2, 954032400
78
+ tz.transition 2000, 10, :o1, 972781200
79
+ tz.transition 2001, 3, :o2, 985482000
80
+ tz.transition 2001, 10, :o1, 1004230800
81
+ tz.transition 2002, 3, :o2, 1017536400
82
+ tz.transition 2002, 10, :o1, 1035680400
83
+ tz.transition 2003, 3, :o2, 1048986000
84
+ tz.transition 2003, 10, :o1, 1067130000
85
+ tz.transition 2004, 3, :o2, 1080435600
86
+ tz.transition 2004, 10, :o1, 1099184400
87
+ tz.transition 2005, 3, :o2, 1111885200
88
+ tz.transition 2005, 10, :o1, 1130634000
89
+ tz.transition 2006, 3, :o2, 1143334800
90
+ tz.transition 2006, 10, :o1, 1162083600
91
+ tz.transition 2007, 3, :o2, 1174784400
92
+ tz.transition 2007, 10, :o1, 1193533200
93
+ tz.transition 2008, 3, :o2, 1206838800
94
+ tz.transition 2008, 10, :o1, 1224982800
95
+ tz.transition 2009, 3, :o2, 1238288400
96
+ tz.transition 2009, 10, :o1, 1256432400
97
+ tz.transition 2010, 3, :o2, 1269738000
98
+ tz.transition 2010, 10, :o1, 1288486800
99
+ tz.transition 2011, 3, :o2, 1301187600
100
+ tz.transition 2011, 10, :o1, 1319936400
101
+ tz.transition 2012, 3, :o2, 1332637200
102
+ tz.transition 2012, 10, :o1, 1351386000
103
+ tz.transition 2013, 3, :o2, 1364691600
104
+ tz.transition 2013, 10, :o1, 1382835600
105
+ tz.transition 2014, 3, :o2, 1396141200
106
+ tz.transition 2014, 10, :o1, 1414285200
107
+ tz.transition 2015, 3, :o2, 1427590800
108
+ tz.transition 2015, 10, :o1, 1445734800
109
+ tz.transition 2016, 3, :o2, 1459040400
110
+ tz.transition 2016, 10, :o1, 1477789200
111
+ tz.transition 2017, 3, :o2, 1490490000
112
+ tz.transition 2017, 10, :o1, 1509238800
113
+ tz.transition 2018, 3, :o2, 1521939600
114
+ tz.transition 2018, 10, :o1, 1540688400
115
+ tz.transition 2019, 3, :o2, 1553994000
116
+ tz.transition 2019, 10, :o1, 1572138000
117
+ tz.transition 2020, 3, :o2, 1585443600
118
+ tz.transition 2020, 10, :o1, 1603587600
119
+ tz.transition 2021, 3, :o2, 1616893200
120
+ tz.transition 2021, 10, :o1, 1635642000
121
+ tz.transition 2022, 3, :o2, 1648342800
122
+ tz.transition 2022, 10, :o1, 1667091600
123
+ tz.transition 2023, 3, :o2, 1679792400
124
+ tz.transition 2023, 10, :o1, 1698541200
125
+ tz.transition 2024, 3, :o2, 1711846800
126
+ tz.transition 2024, 10, :o1, 1729990800
127
+ tz.transition 2025, 3, :o2, 1743296400
128
+ tz.transition 2025, 10, :o1, 1761440400
129
+ tz.transition 2026, 3, :o2, 1774746000
130
+ tz.transition 2026, 10, :o1, 1792890000
131
+ tz.transition 2027, 3, :o2, 1806195600
132
+ tz.transition 2027, 10, :o1, 1824944400
133
+ tz.transition 2028, 3, :o2, 1837645200
134
+ tz.transition 2028, 10, :o1, 1856394000
135
+ tz.transition 2029, 3, :o2, 1869094800
136
+ tz.transition 2029, 10, :o1, 1887843600
137
+ tz.transition 2030, 3, :o2, 1901149200
138
+ tz.transition 2030, 10, :o1, 1919293200
139
+ tz.transition 2031, 3, :o2, 1932598800
140
+ tz.transition 2031, 10, :o1, 1950742800
141
+ tz.transition 2032, 3, :o2, 1964048400
142
+ tz.transition 2032, 10, :o1, 1982797200
143
+ tz.transition 2033, 3, :o2, 1995498000
144
+ tz.transition 2033, 10, :o1, 2014246800
145
+ tz.transition 2034, 3, :o2, 2026947600
146
+ tz.transition 2034, 10, :o1, 2045696400
147
+ tz.transition 2035, 3, :o2, 2058397200
148
+ tz.transition 2035, 10, :o1, 2077146000
149
+ tz.transition 2036, 3, :o2, 2090451600
150
+ tz.transition 2036, 10, :o1, 2108595600
151
+ tz.transition 2037, 3, :o2, 2121901200
152
+ tz.transition 2037, 10, :o1, 2140045200
153
+ tz.transition 2038, 3, :o2, 59172253, 24
154
+ tz.transition 2038, 10, :o1, 59177461, 24
155
+ tz.transition 2039, 3, :o2, 59180989, 24
156
+ tz.transition 2039, 10, :o1, 59186197, 24
157
+ tz.transition 2040, 3, :o2, 59189725, 24
158
+ tz.transition 2040, 10, :o1, 59194933, 24
159
+ tz.transition 2041, 3, :o2, 59198629, 24
160
+ tz.transition 2041, 10, :o1, 59203669, 24
161
+ tz.transition 2042, 3, :o2, 59207365, 24
162
+ tz.transition 2042, 10, :o1, 59212405, 24
163
+ tz.transition 2043, 3, :o2, 59216101, 24
164
+ tz.transition 2043, 10, :o1, 59221141, 24
165
+ tz.transition 2044, 3, :o2, 59224837, 24
166
+ tz.transition 2044, 10, :o1, 59230045, 24
167
+ tz.transition 2045, 3, :o2, 59233573, 24
168
+ tz.transition 2045, 10, :o1, 59238781, 24
169
+ tz.transition 2046, 3, :o2, 59242309, 24
170
+ tz.transition 2046, 10, :o1, 59247517, 24
171
+ tz.transition 2047, 3, :o2, 59251213, 24
172
+ tz.transition 2047, 10, :o1, 59256253, 24
173
+ tz.transition 2048, 3, :o2, 59259949, 24
174
+ tz.transition 2048, 10, :o1, 59264989, 24
175
+ tz.transition 2049, 3, :o2, 59268685, 24
176
+ tz.transition 2049, 10, :o1, 59273893, 24
177
+ tz.transition 2050, 3, :o2, 59277421, 24
178
+ tz.transition 2050, 10, :o1, 59282629, 24
179
+ end
180
+ end
181
+ end
182
+ end
183
+ end
@@ -0,0 +1,170 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Vilnius
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Vilnius' do |tz|
10
+ tz.offset :o0, 6076, 0, :LMT
11
+ tz.offset :o1, 5040, 0, :WMT
12
+ tz.offset :o2, 5736, 0, :KMT
13
+ tz.offset :o3, 3600, 0, :CET
14
+ tz.offset :o4, 7200, 0, :EET
15
+ tz.offset :o5, 10800, 0, :MSK
16
+ tz.offset :o6, 3600, 3600, :CEST
17
+ tz.offset :o7, 10800, 3600, :MSD
18
+ tz.offset :o8, 7200, 3600, :EEST
19
+
20
+ tz.transition 1879, 12, :o1, 52006653281, 21600
21
+ tz.transition 1916, 12, :o2, 290547533, 120
22
+ tz.transition 1919, 10, :o3, 8720069161, 3600
23
+ tz.transition 1920, 7, :o4, 58140419, 24
24
+ tz.transition 1920, 10, :o3, 29071277, 12
25
+ tz.transition 1940, 8, :o5, 58316267, 24
26
+ tz.transition 1941, 6, :o6, 19441355, 8
27
+ tz.transition 1942, 11, :o3, 58335973, 24
28
+ tz.transition 1943, 3, :o6, 58339501, 24
29
+ tz.transition 1943, 10, :o3, 58344037, 24
30
+ tz.transition 1944, 4, :o6, 58348405, 24
31
+ tz.transition 1944, 7, :o5, 29175641, 12
32
+ tz.transition 1981, 3, :o7, 354920400
33
+ tz.transition 1981, 9, :o5, 370728000
34
+ tz.transition 1982, 3, :o7, 386456400
35
+ tz.transition 1982, 9, :o5, 402264000
36
+ tz.transition 1983, 3, :o7, 417992400
37
+ tz.transition 1983, 9, :o5, 433800000
38
+ tz.transition 1984, 3, :o7, 449614800
39
+ tz.transition 1984, 9, :o5, 465346800
40
+ tz.transition 1985, 3, :o7, 481071600
41
+ tz.transition 1985, 9, :o5, 496796400
42
+ tz.transition 1986, 3, :o7, 512521200
43
+ tz.transition 1986, 9, :o5, 528246000
44
+ tz.transition 1987, 3, :o7, 543970800
45
+ tz.transition 1987, 9, :o5, 559695600
46
+ tz.transition 1988, 3, :o7, 575420400
47
+ tz.transition 1988, 9, :o5, 591145200
48
+ tz.transition 1989, 3, :o7, 606870000
49
+ tz.transition 1989, 9, :o5, 622594800
50
+ tz.transition 1990, 3, :o7, 638319600
51
+ tz.transition 1990, 9, :o5, 654649200
52
+ tz.transition 1991, 3, :o8, 670374000
53
+ tz.transition 1991, 9, :o4, 686102400
54
+ tz.transition 1992, 3, :o8, 701827200
55
+ tz.transition 1992, 9, :o4, 717552000
56
+ tz.transition 1993, 3, :o8, 733276800
57
+ tz.transition 1993, 9, :o4, 749001600
58
+ tz.transition 1994, 3, :o8, 764726400
59
+ tz.transition 1994, 9, :o4, 780451200
60
+ tz.transition 1995, 3, :o8, 796176000
61
+ tz.transition 1995, 9, :o4, 811900800
62
+ tz.transition 1996, 3, :o8, 828230400
63
+ tz.transition 1996, 10, :o4, 846374400
64
+ tz.transition 1997, 3, :o8, 859680000
65
+ tz.transition 1997, 10, :o4, 877824000
66
+ tz.transition 1998, 3, :o6, 891133200
67
+ tz.transition 1998, 10, :o3, 909277200
68
+ tz.transition 1999, 3, :o6, 922582800
69
+ tz.transition 1999, 10, :o4, 941331600
70
+ tz.transition 2003, 3, :o8, 1048986000
71
+ tz.transition 2003, 10, :o4, 1067130000
72
+ tz.transition 2004, 3, :o8, 1080435600
73
+ tz.transition 2004, 10, :o4, 1099184400
74
+ tz.transition 2005, 3, :o8, 1111885200
75
+ tz.transition 2005, 10, :o4, 1130634000
76
+ tz.transition 2006, 3, :o8, 1143334800
77
+ tz.transition 2006, 10, :o4, 1162083600
78
+ tz.transition 2007, 3, :o8, 1174784400
79
+ tz.transition 2007, 10, :o4, 1193533200
80
+ tz.transition 2008, 3, :o8, 1206838800
81
+ tz.transition 2008, 10, :o4, 1224982800
82
+ tz.transition 2009, 3, :o8, 1238288400
83
+ tz.transition 2009, 10, :o4, 1256432400
84
+ tz.transition 2010, 3, :o8, 1269738000
85
+ tz.transition 2010, 10, :o4, 1288486800
86
+ tz.transition 2011, 3, :o8, 1301187600
87
+ tz.transition 2011, 10, :o4, 1319936400
88
+ tz.transition 2012, 3, :o8, 1332637200
89
+ tz.transition 2012, 10, :o4, 1351386000
90
+ tz.transition 2013, 3, :o8, 1364691600
91
+ tz.transition 2013, 10, :o4, 1382835600
92
+ tz.transition 2014, 3, :o8, 1396141200
93
+ tz.transition 2014, 10, :o4, 1414285200
94
+ tz.transition 2015, 3, :o8, 1427590800
95
+ tz.transition 2015, 10, :o4, 1445734800
96
+ tz.transition 2016, 3, :o8, 1459040400
97
+ tz.transition 2016, 10, :o4, 1477789200
98
+ tz.transition 2017, 3, :o8, 1490490000
99
+ tz.transition 2017, 10, :o4, 1509238800
100
+ tz.transition 2018, 3, :o8, 1521939600
101
+ tz.transition 2018, 10, :o4, 1540688400
102
+ tz.transition 2019, 3, :o8, 1553994000
103
+ tz.transition 2019, 10, :o4, 1572138000
104
+ tz.transition 2020, 3, :o8, 1585443600
105
+ tz.transition 2020, 10, :o4, 1603587600
106
+ tz.transition 2021, 3, :o8, 1616893200
107
+ tz.transition 2021, 10, :o4, 1635642000
108
+ tz.transition 2022, 3, :o8, 1648342800
109
+ tz.transition 2022, 10, :o4, 1667091600
110
+ tz.transition 2023, 3, :o8, 1679792400
111
+ tz.transition 2023, 10, :o4, 1698541200
112
+ tz.transition 2024, 3, :o8, 1711846800
113
+ tz.transition 2024, 10, :o4, 1729990800
114
+ tz.transition 2025, 3, :o8, 1743296400
115
+ tz.transition 2025, 10, :o4, 1761440400
116
+ tz.transition 2026, 3, :o8, 1774746000
117
+ tz.transition 2026, 10, :o4, 1792890000
118
+ tz.transition 2027, 3, :o8, 1806195600
119
+ tz.transition 2027, 10, :o4, 1824944400
120
+ tz.transition 2028, 3, :o8, 1837645200
121
+ tz.transition 2028, 10, :o4, 1856394000
122
+ tz.transition 2029, 3, :o8, 1869094800
123
+ tz.transition 2029, 10, :o4, 1887843600
124
+ tz.transition 2030, 3, :o8, 1901149200
125
+ tz.transition 2030, 10, :o4, 1919293200
126
+ tz.transition 2031, 3, :o8, 1932598800
127
+ tz.transition 2031, 10, :o4, 1950742800
128
+ tz.transition 2032, 3, :o8, 1964048400
129
+ tz.transition 2032, 10, :o4, 1982797200
130
+ tz.transition 2033, 3, :o8, 1995498000
131
+ tz.transition 2033, 10, :o4, 2014246800
132
+ tz.transition 2034, 3, :o8, 2026947600
133
+ tz.transition 2034, 10, :o4, 2045696400
134
+ tz.transition 2035, 3, :o8, 2058397200
135
+ tz.transition 2035, 10, :o4, 2077146000
136
+ tz.transition 2036, 3, :o8, 2090451600
137
+ tz.transition 2036, 10, :o4, 2108595600
138
+ tz.transition 2037, 3, :o8, 2121901200
139
+ tz.transition 2037, 10, :o4, 2140045200
140
+ tz.transition 2038, 3, :o8, 59172253, 24
141
+ tz.transition 2038, 10, :o4, 59177461, 24
142
+ tz.transition 2039, 3, :o8, 59180989, 24
143
+ tz.transition 2039, 10, :o4, 59186197, 24
144
+ tz.transition 2040, 3, :o8, 59189725, 24
145
+ tz.transition 2040, 10, :o4, 59194933, 24
146
+ tz.transition 2041, 3, :o8, 59198629, 24
147
+ tz.transition 2041, 10, :o4, 59203669, 24
148
+ tz.transition 2042, 3, :o8, 59207365, 24
149
+ tz.transition 2042, 10, :o4, 59212405, 24
150
+ tz.transition 2043, 3, :o8, 59216101, 24
151
+ tz.transition 2043, 10, :o4, 59221141, 24
152
+ tz.transition 2044, 3, :o8, 59224837, 24
153
+ tz.transition 2044, 10, :o4, 59230045, 24
154
+ tz.transition 2045, 3, :o8, 59233573, 24
155
+ tz.transition 2045, 10, :o4, 59238781, 24
156
+ tz.transition 2046, 3, :o8, 59242309, 24
157
+ tz.transition 2046, 10, :o4, 59247517, 24
158
+ tz.transition 2047, 3, :o8, 59251213, 24
159
+ tz.transition 2047, 10, :o4, 59256253, 24
160
+ tz.transition 2048, 3, :o8, 59259949, 24
161
+ tz.transition 2048, 10, :o4, 59264989, 24
162
+ tz.transition 2049, 3, :o8, 59268685, 24
163
+ tz.transition 2049, 10, :o4, 59273893, 24
164
+ tz.transition 2050, 3, :o8, 59277421, 24
165
+ tz.transition 2050, 10, :o4, 59282629, 24
166
+ end
167
+ end
168
+ end
169
+ end
170
+ end