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,163 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Helsinki
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Helsinki' do |tz|
10
+ tz.offset :o0, 5992, 0, :LMT
11
+ tz.offset :o1, 5992, 0, :HMT
12
+ tz.offset :o2, 7200, 0, :EET
13
+ tz.offset :o3, 7200, 3600, :EEST
14
+
15
+ tz.transition 1878, 5, :o1, 25997062651, 10800
16
+ tz.transition 1921, 4, :o2, 26166352651, 10800
17
+ tz.transition 1942, 4, :o3, 29165429, 12
18
+ tz.transition 1942, 10, :o2, 19445083, 8
19
+ tz.transition 1981, 3, :o3, 354675600
20
+ tz.transition 1981, 9, :o2, 370400400
21
+ tz.transition 1982, 3, :o3, 386125200
22
+ tz.transition 1982, 9, :o2, 401850000
23
+ tz.transition 1983, 3, :o3, 417574800
24
+ tz.transition 1983, 9, :o2, 433299600
25
+ tz.transition 1984, 3, :o3, 449024400
26
+ tz.transition 1984, 9, :o2, 465354000
27
+ tz.transition 1985, 3, :o3, 481078800
28
+ tz.transition 1985, 9, :o2, 496803600
29
+ tz.transition 1986, 3, :o3, 512528400
30
+ tz.transition 1986, 9, :o2, 528253200
31
+ tz.transition 1987, 3, :o3, 543978000
32
+ tz.transition 1987, 9, :o2, 559702800
33
+ tz.transition 1988, 3, :o3, 575427600
34
+ tz.transition 1988, 9, :o2, 591152400
35
+ tz.transition 1989, 3, :o3, 606877200
36
+ tz.transition 1989, 9, :o2, 622602000
37
+ tz.transition 1990, 3, :o3, 638326800
38
+ tz.transition 1990, 9, :o2, 654656400
39
+ tz.transition 1991, 3, :o3, 670381200
40
+ tz.transition 1991, 9, :o2, 686106000
41
+ tz.transition 1992, 3, :o3, 701830800
42
+ tz.transition 1992, 9, :o2, 717555600
43
+ tz.transition 1993, 3, :o3, 733280400
44
+ tz.transition 1993, 9, :o2, 749005200
45
+ tz.transition 1994, 3, :o3, 764730000
46
+ tz.transition 1994, 9, :o2, 780454800
47
+ tz.transition 1995, 3, :o3, 796179600
48
+ tz.transition 1995, 9, :o2, 811904400
49
+ tz.transition 1996, 3, :o3, 828234000
50
+ tz.transition 1996, 10, :o2, 846378000
51
+ tz.transition 1997, 3, :o3, 859683600
52
+ tz.transition 1997, 10, :o2, 877827600
53
+ tz.transition 1998, 3, :o3, 891133200
54
+ tz.transition 1998, 10, :o2, 909277200
55
+ tz.transition 1999, 3, :o3, 922582800
56
+ tz.transition 1999, 10, :o2, 941331600
57
+ tz.transition 2000, 3, :o3, 954032400
58
+ tz.transition 2000, 10, :o2, 972781200
59
+ tz.transition 2001, 3, :o3, 985482000
60
+ tz.transition 2001, 10, :o2, 1004230800
61
+ tz.transition 2002, 3, :o3, 1017536400
62
+ tz.transition 2002, 10, :o2, 1035680400
63
+ tz.transition 2003, 3, :o3, 1048986000
64
+ tz.transition 2003, 10, :o2, 1067130000
65
+ tz.transition 2004, 3, :o3, 1080435600
66
+ tz.transition 2004, 10, :o2, 1099184400
67
+ tz.transition 2005, 3, :o3, 1111885200
68
+ tz.transition 2005, 10, :o2, 1130634000
69
+ tz.transition 2006, 3, :o3, 1143334800
70
+ tz.transition 2006, 10, :o2, 1162083600
71
+ tz.transition 2007, 3, :o3, 1174784400
72
+ tz.transition 2007, 10, :o2, 1193533200
73
+ tz.transition 2008, 3, :o3, 1206838800
74
+ tz.transition 2008, 10, :o2, 1224982800
75
+ tz.transition 2009, 3, :o3, 1238288400
76
+ tz.transition 2009, 10, :o2, 1256432400
77
+ tz.transition 2010, 3, :o3, 1269738000
78
+ tz.transition 2010, 10, :o2, 1288486800
79
+ tz.transition 2011, 3, :o3, 1301187600
80
+ tz.transition 2011, 10, :o2, 1319936400
81
+ tz.transition 2012, 3, :o3, 1332637200
82
+ tz.transition 2012, 10, :o2, 1351386000
83
+ tz.transition 2013, 3, :o3, 1364691600
84
+ tz.transition 2013, 10, :o2, 1382835600
85
+ tz.transition 2014, 3, :o3, 1396141200
86
+ tz.transition 2014, 10, :o2, 1414285200
87
+ tz.transition 2015, 3, :o3, 1427590800
88
+ tz.transition 2015, 10, :o2, 1445734800
89
+ tz.transition 2016, 3, :o3, 1459040400
90
+ tz.transition 2016, 10, :o2, 1477789200
91
+ tz.transition 2017, 3, :o3, 1490490000
92
+ tz.transition 2017, 10, :o2, 1509238800
93
+ tz.transition 2018, 3, :o3, 1521939600
94
+ tz.transition 2018, 10, :o2, 1540688400
95
+ tz.transition 2019, 3, :o3, 1553994000
96
+ tz.transition 2019, 10, :o2, 1572138000
97
+ tz.transition 2020, 3, :o3, 1585443600
98
+ tz.transition 2020, 10, :o2, 1603587600
99
+ tz.transition 2021, 3, :o3, 1616893200
100
+ tz.transition 2021, 10, :o2, 1635642000
101
+ tz.transition 2022, 3, :o3, 1648342800
102
+ tz.transition 2022, 10, :o2, 1667091600
103
+ tz.transition 2023, 3, :o3, 1679792400
104
+ tz.transition 2023, 10, :o2, 1698541200
105
+ tz.transition 2024, 3, :o3, 1711846800
106
+ tz.transition 2024, 10, :o2, 1729990800
107
+ tz.transition 2025, 3, :o3, 1743296400
108
+ tz.transition 2025, 10, :o2, 1761440400
109
+ tz.transition 2026, 3, :o3, 1774746000
110
+ tz.transition 2026, 10, :o2, 1792890000
111
+ tz.transition 2027, 3, :o3, 1806195600
112
+ tz.transition 2027, 10, :o2, 1824944400
113
+ tz.transition 2028, 3, :o3, 1837645200
114
+ tz.transition 2028, 10, :o2, 1856394000
115
+ tz.transition 2029, 3, :o3, 1869094800
116
+ tz.transition 2029, 10, :o2, 1887843600
117
+ tz.transition 2030, 3, :o3, 1901149200
118
+ tz.transition 2030, 10, :o2, 1919293200
119
+ tz.transition 2031, 3, :o3, 1932598800
120
+ tz.transition 2031, 10, :o2, 1950742800
121
+ tz.transition 2032, 3, :o3, 1964048400
122
+ tz.transition 2032, 10, :o2, 1982797200
123
+ tz.transition 2033, 3, :o3, 1995498000
124
+ tz.transition 2033, 10, :o2, 2014246800
125
+ tz.transition 2034, 3, :o3, 2026947600
126
+ tz.transition 2034, 10, :o2, 2045696400
127
+ tz.transition 2035, 3, :o3, 2058397200
128
+ tz.transition 2035, 10, :o2, 2077146000
129
+ tz.transition 2036, 3, :o3, 2090451600
130
+ tz.transition 2036, 10, :o2, 2108595600
131
+ tz.transition 2037, 3, :o3, 2121901200
132
+ tz.transition 2037, 10, :o2, 2140045200
133
+ tz.transition 2038, 3, :o3, 59172253, 24
134
+ tz.transition 2038, 10, :o2, 59177461, 24
135
+ tz.transition 2039, 3, :o3, 59180989, 24
136
+ tz.transition 2039, 10, :o2, 59186197, 24
137
+ tz.transition 2040, 3, :o3, 59189725, 24
138
+ tz.transition 2040, 10, :o2, 59194933, 24
139
+ tz.transition 2041, 3, :o3, 59198629, 24
140
+ tz.transition 2041, 10, :o2, 59203669, 24
141
+ tz.transition 2042, 3, :o3, 59207365, 24
142
+ tz.transition 2042, 10, :o2, 59212405, 24
143
+ tz.transition 2043, 3, :o3, 59216101, 24
144
+ tz.transition 2043, 10, :o2, 59221141, 24
145
+ tz.transition 2044, 3, :o3, 59224837, 24
146
+ tz.transition 2044, 10, :o2, 59230045, 24
147
+ tz.transition 2045, 3, :o3, 59233573, 24
148
+ tz.transition 2045, 10, :o2, 59238781, 24
149
+ tz.transition 2046, 3, :o3, 59242309, 24
150
+ tz.transition 2046, 10, :o2, 59247517, 24
151
+ tz.transition 2047, 3, :o3, 59251213, 24
152
+ tz.transition 2047, 10, :o2, 59256253, 24
153
+ tz.transition 2048, 3, :o3, 59259949, 24
154
+ tz.transition 2048, 10, :o2, 59264989, 24
155
+ tz.transition 2049, 3, :o3, 59268685, 24
156
+ tz.transition 2049, 10, :o2, 59273893, 24
157
+ tz.transition 2050, 3, :o3, 59277421, 24
158
+ tz.transition 2050, 10, :o2, 59282629, 24
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end
@@ -0,0 +1,218 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Istanbul
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Istanbul' do |tz|
10
+ tz.offset :o0, 6952, 0, :LMT
11
+ tz.offset :o1, 7016, 0, :IMT
12
+ tz.offset :o2, 7200, 0, :EET
13
+ tz.offset :o3, 7200, 3600, :EEST
14
+ tz.offset :o4, 10800, 3600, :TRST
15
+ tz.offset :o5, 10800, 0, :TRT
16
+
17
+ tz.transition 1879, 12, :o1, 26003326531, 10800
18
+ tz.transition 1910, 9, :o2, 26124610523, 10800
19
+ tz.transition 1916, 4, :o3, 29051813, 12
20
+ tz.transition 1916, 9, :o2, 19369099, 8
21
+ tz.transition 1920, 3, :o3, 29068937, 12
22
+ tz.transition 1920, 10, :o2, 19380979, 8
23
+ tz.transition 1921, 4, :o3, 29073389, 12
24
+ tz.transition 1921, 10, :o2, 19383723, 8
25
+ tz.transition 1922, 3, :o3, 29077673, 12
26
+ tz.transition 1922, 10, :o2, 19386683, 8
27
+ tz.transition 1924, 5, :o3, 29087021, 12
28
+ tz.transition 1924, 9, :o2, 19392475, 8
29
+ tz.transition 1925, 4, :o3, 29091257, 12
30
+ tz.transition 1925, 9, :o2, 19395395, 8
31
+ tz.transition 1940, 6, :o3, 29157725, 12
32
+ tz.transition 1940, 10, :o2, 19439259, 8
33
+ tz.transition 1940, 11, :o3, 29159573, 12
34
+ tz.transition 1941, 9, :o2, 19442067, 8
35
+ tz.transition 1942, 3, :o3, 29165405, 12
36
+ tz.transition 1942, 10, :o2, 19445315, 8
37
+ tz.transition 1945, 4, :o3, 29178569, 12
38
+ tz.transition 1945, 10, :o2, 19453891, 8
39
+ tz.transition 1946, 5, :o3, 29183669, 12
40
+ tz.transition 1946, 9, :o2, 19456755, 8
41
+ tz.transition 1947, 4, :o3, 29187545, 12
42
+ tz.transition 1947, 10, :o2, 19459707, 8
43
+ tz.transition 1948, 4, :o3, 29191913, 12
44
+ tz.transition 1948, 10, :o2, 19462619, 8
45
+ tz.transition 1949, 4, :o3, 29196197, 12
46
+ tz.transition 1949, 10, :o2, 19465531, 8
47
+ tz.transition 1950, 4, :o3, 29200685, 12
48
+ tz.transition 1950, 10, :o2, 19468499, 8
49
+ tz.transition 1951, 4, :o3, 29205101, 12
50
+ tz.transition 1951, 10, :o2, 19471419, 8
51
+ tz.transition 1962, 7, :o3, 29254325, 12
52
+ tz.transition 1962, 10, :o2, 19503563, 8
53
+ tz.transition 1964, 5, :o3, 29262365, 12
54
+ tz.transition 1964, 9, :o2, 19509355, 8
55
+ tz.transition 1970, 5, :o3, 10533600
56
+ tz.transition 1970, 10, :o2, 23835600
57
+ tz.transition 1971, 5, :o3, 41983200
58
+ tz.transition 1971, 10, :o2, 55285200
59
+ tz.transition 1972, 5, :o3, 74037600
60
+ tz.transition 1972, 10, :o2, 87339600
61
+ tz.transition 1973, 6, :o3, 107910000
62
+ tz.transition 1973, 11, :o2, 121219200
63
+ tz.transition 1974, 3, :o3, 133920000
64
+ tz.transition 1974, 11, :o2, 152676000
65
+ tz.transition 1975, 3, :o3, 165362400
66
+ tz.transition 1975, 10, :o2, 183502800
67
+ tz.transition 1976, 5, :o3, 202428000
68
+ tz.transition 1976, 10, :o2, 215557200
69
+ tz.transition 1977, 4, :o3, 228866400
70
+ tz.transition 1977, 10, :o2, 245797200
71
+ tz.transition 1978, 4, :o3, 260316000
72
+ tz.transition 1978, 10, :o4, 277246800
73
+ tz.transition 1979, 10, :o5, 308779200
74
+ tz.transition 1980, 4, :o4, 323827200
75
+ tz.transition 1980, 10, :o5, 340228800
76
+ tz.transition 1981, 3, :o4, 354672000
77
+ tz.transition 1981, 10, :o5, 371678400
78
+ tz.transition 1982, 3, :o4, 386121600
79
+ tz.transition 1982, 10, :o5, 403128000
80
+ tz.transition 1983, 7, :o4, 428446800
81
+ tz.transition 1983, 10, :o5, 433886400
82
+ tz.transition 1985, 4, :o3, 482792400
83
+ tz.transition 1985, 9, :o2, 496702800
84
+ tz.transition 1986, 3, :o3, 512524800
85
+ tz.transition 1986, 9, :o2, 528249600
86
+ tz.transition 1987, 3, :o3, 543974400
87
+ tz.transition 1987, 9, :o2, 559699200
88
+ tz.transition 1988, 3, :o3, 575424000
89
+ tz.transition 1988, 9, :o2, 591148800
90
+ tz.transition 1989, 3, :o3, 606873600
91
+ tz.transition 1989, 9, :o2, 622598400
92
+ tz.transition 1990, 3, :o3, 638323200
93
+ tz.transition 1990, 9, :o2, 654652800
94
+ tz.transition 1991, 3, :o3, 670374000
95
+ tz.transition 1991, 9, :o2, 686098800
96
+ tz.transition 1992, 3, :o3, 701823600
97
+ tz.transition 1992, 9, :o2, 717548400
98
+ tz.transition 1993, 3, :o3, 733273200
99
+ tz.transition 1993, 9, :o2, 748998000
100
+ tz.transition 1994, 3, :o3, 764722800
101
+ tz.transition 1994, 9, :o2, 780447600
102
+ tz.transition 1995, 3, :o3, 796172400
103
+ tz.transition 1995, 9, :o2, 811897200
104
+ tz.transition 1996, 3, :o3, 828226800
105
+ tz.transition 1996, 10, :o2, 846370800
106
+ tz.transition 1997, 3, :o3, 859676400
107
+ tz.transition 1997, 10, :o2, 877820400
108
+ tz.transition 1998, 3, :o3, 891126000
109
+ tz.transition 1998, 10, :o2, 909270000
110
+ tz.transition 1999, 3, :o3, 922575600
111
+ tz.transition 1999, 10, :o2, 941324400
112
+ tz.transition 2000, 3, :o3, 954025200
113
+ tz.transition 2000, 10, :o2, 972774000
114
+ tz.transition 2001, 3, :o3, 985474800
115
+ tz.transition 2001, 10, :o2, 1004223600
116
+ tz.transition 2002, 3, :o3, 1017529200
117
+ tz.transition 2002, 10, :o2, 1035673200
118
+ tz.transition 2003, 3, :o3, 1048978800
119
+ tz.transition 2003, 10, :o2, 1067122800
120
+ tz.transition 2004, 3, :o3, 1080428400
121
+ tz.transition 2004, 10, :o2, 1099177200
122
+ tz.transition 2005, 3, :o3, 1111878000
123
+ tz.transition 2005, 10, :o2, 1130626800
124
+ tz.transition 2006, 3, :o3, 1143327600
125
+ tz.transition 2006, 10, :o2, 1162076400
126
+ tz.transition 2007, 3, :o3, 1174784400
127
+ tz.transition 2007, 10, :o2, 1193533200
128
+ tz.transition 2008, 3, :o3, 1206838800
129
+ tz.transition 2008, 10, :o2, 1224982800
130
+ tz.transition 2009, 3, :o3, 1238288400
131
+ tz.transition 2009, 10, :o2, 1256432400
132
+ tz.transition 2010, 3, :o3, 1269738000
133
+ tz.transition 2010, 10, :o2, 1288486800
134
+ tz.transition 2011, 3, :o3, 1301187600
135
+ tz.transition 2011, 10, :o2, 1319936400
136
+ tz.transition 2012, 3, :o3, 1332637200
137
+ tz.transition 2012, 10, :o2, 1351386000
138
+ tz.transition 2013, 3, :o3, 1364691600
139
+ tz.transition 2013, 10, :o2, 1382835600
140
+ tz.transition 2014, 3, :o3, 1396141200
141
+ tz.transition 2014, 10, :o2, 1414285200
142
+ tz.transition 2015, 3, :o3, 1427590800
143
+ tz.transition 2015, 10, :o2, 1445734800
144
+ tz.transition 2016, 3, :o3, 1459040400
145
+ tz.transition 2016, 10, :o2, 1477789200
146
+ tz.transition 2017, 3, :o3, 1490490000
147
+ tz.transition 2017, 10, :o2, 1509238800
148
+ tz.transition 2018, 3, :o3, 1521939600
149
+ tz.transition 2018, 10, :o2, 1540688400
150
+ tz.transition 2019, 3, :o3, 1553994000
151
+ tz.transition 2019, 10, :o2, 1572138000
152
+ tz.transition 2020, 3, :o3, 1585443600
153
+ tz.transition 2020, 10, :o2, 1603587600
154
+ tz.transition 2021, 3, :o3, 1616893200
155
+ tz.transition 2021, 10, :o2, 1635642000
156
+ tz.transition 2022, 3, :o3, 1648342800
157
+ tz.transition 2022, 10, :o2, 1667091600
158
+ tz.transition 2023, 3, :o3, 1679792400
159
+ tz.transition 2023, 10, :o2, 1698541200
160
+ tz.transition 2024, 3, :o3, 1711846800
161
+ tz.transition 2024, 10, :o2, 1729990800
162
+ tz.transition 2025, 3, :o3, 1743296400
163
+ tz.transition 2025, 10, :o2, 1761440400
164
+ tz.transition 2026, 3, :o3, 1774746000
165
+ tz.transition 2026, 10, :o2, 1792890000
166
+ tz.transition 2027, 3, :o3, 1806195600
167
+ tz.transition 2027, 10, :o2, 1824944400
168
+ tz.transition 2028, 3, :o3, 1837645200
169
+ tz.transition 2028, 10, :o2, 1856394000
170
+ tz.transition 2029, 3, :o3, 1869094800
171
+ tz.transition 2029, 10, :o2, 1887843600
172
+ tz.transition 2030, 3, :o3, 1901149200
173
+ tz.transition 2030, 10, :o2, 1919293200
174
+ tz.transition 2031, 3, :o3, 1932598800
175
+ tz.transition 2031, 10, :o2, 1950742800
176
+ tz.transition 2032, 3, :o3, 1964048400
177
+ tz.transition 2032, 10, :o2, 1982797200
178
+ tz.transition 2033, 3, :o3, 1995498000
179
+ tz.transition 2033, 10, :o2, 2014246800
180
+ tz.transition 2034, 3, :o3, 2026947600
181
+ tz.transition 2034, 10, :o2, 2045696400
182
+ tz.transition 2035, 3, :o3, 2058397200
183
+ tz.transition 2035, 10, :o2, 2077146000
184
+ tz.transition 2036, 3, :o3, 2090451600
185
+ tz.transition 2036, 10, :o2, 2108595600
186
+ tz.transition 2037, 3, :o3, 2121901200
187
+ tz.transition 2037, 10, :o2, 2140045200
188
+ tz.transition 2038, 3, :o3, 59172253, 24
189
+ tz.transition 2038, 10, :o2, 59177461, 24
190
+ tz.transition 2039, 3, :o3, 59180989, 24
191
+ tz.transition 2039, 10, :o2, 59186197, 24
192
+ tz.transition 2040, 3, :o3, 59189725, 24
193
+ tz.transition 2040, 10, :o2, 59194933, 24
194
+ tz.transition 2041, 3, :o3, 59198629, 24
195
+ tz.transition 2041, 10, :o2, 59203669, 24
196
+ tz.transition 2042, 3, :o3, 59207365, 24
197
+ tz.transition 2042, 10, :o2, 59212405, 24
198
+ tz.transition 2043, 3, :o3, 59216101, 24
199
+ tz.transition 2043, 10, :o2, 59221141, 24
200
+ tz.transition 2044, 3, :o3, 59224837, 24
201
+ tz.transition 2044, 10, :o2, 59230045, 24
202
+ tz.transition 2045, 3, :o3, 59233573, 24
203
+ tz.transition 2045, 10, :o2, 59238781, 24
204
+ tz.transition 2046, 3, :o3, 59242309, 24
205
+ tz.transition 2046, 10, :o2, 59247517, 24
206
+ tz.transition 2047, 3, :o3, 59251213, 24
207
+ tz.transition 2047, 10, :o2, 59256253, 24
208
+ tz.transition 2048, 3, :o3, 59259949, 24
209
+ tz.transition 2048, 10, :o2, 59264989, 24
210
+ tz.transition 2049, 3, :o3, 59268685, 24
211
+ tz.transition 2049, 10, :o2, 59273893, 24
212
+ tz.transition 2050, 3, :o3, 59277421, 24
213
+ tz.transition 2050, 10, :o2, 59282629, 24
214
+ end
215
+ end
216
+ end
217
+ end
218
+ end
@@ -0,0 +1,168 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Europe
6
+ module Kiev
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Europe/Kiev' do |tz|
10
+ tz.offset :o0, 7324, 0, :LMT
11
+ tz.offset :o1, 7324, 0, :KMT
12
+ tz.offset :o2, 7200, 0, :EET
13
+ tz.offset :o3, 10800, 0, :MSK
14
+ tz.offset :o4, 3600, 3600, :CEST
15
+ tz.offset :o5, 3600, 0, :CET
16
+ tz.offset :o6, 10800, 3600, :MSD
17
+ tz.offset :o7, 7200, 3600, :EEST
18
+
19
+ tz.transition 1879, 12, :o1, 52006652969, 21600
20
+ tz.transition 1924, 5, :o2, 52356400169, 21600
21
+ tz.transition 1930, 6, :o3, 29113781, 12
22
+ tz.transition 1941, 9, :o4, 19442059, 8
23
+ tz.transition 1942, 11, :o5, 58335973, 24
24
+ tz.transition 1943, 3, :o4, 58339501, 24
25
+ tz.transition 1943, 10, :o5, 58344037, 24
26
+ tz.transition 1943, 11, :o3, 58344827, 24
27
+ tz.transition 1981, 3, :o6, 354920400
28
+ tz.transition 1981, 9, :o3, 370728000
29
+ tz.transition 1982, 3, :o6, 386456400
30
+ tz.transition 1982, 9, :o3, 402264000
31
+ tz.transition 1983, 3, :o6, 417992400
32
+ tz.transition 1983, 9, :o3, 433800000
33
+ tz.transition 1984, 3, :o6, 449614800
34
+ tz.transition 1984, 9, :o3, 465346800
35
+ tz.transition 1985, 3, :o6, 481071600
36
+ tz.transition 1985, 9, :o3, 496796400
37
+ tz.transition 1986, 3, :o6, 512521200
38
+ tz.transition 1986, 9, :o3, 528246000
39
+ tz.transition 1987, 3, :o6, 543970800
40
+ tz.transition 1987, 9, :o3, 559695600
41
+ tz.transition 1988, 3, :o6, 575420400
42
+ tz.transition 1988, 9, :o3, 591145200
43
+ tz.transition 1989, 3, :o6, 606870000
44
+ tz.transition 1989, 9, :o3, 622594800
45
+ tz.transition 1990, 6, :o2, 646786800
46
+ tz.transition 1992, 3, :o7, 701820000
47
+ tz.transition 1992, 9, :o2, 717541200
48
+ tz.transition 1993, 3, :o7, 733269600
49
+ tz.transition 1993, 9, :o2, 748990800
50
+ tz.transition 1994, 3, :o7, 764719200
51
+ tz.transition 1994, 9, :o2, 780440400
52
+ tz.transition 1995, 3, :o7, 796179600
53
+ tz.transition 1995, 9, :o2, 811904400
54
+ tz.transition 1996, 3, :o7, 828234000
55
+ tz.transition 1996, 10, :o2, 846378000
56
+ tz.transition 1997, 3, :o7, 859683600
57
+ tz.transition 1997, 10, :o2, 877827600
58
+ tz.transition 1998, 3, :o7, 891133200
59
+ tz.transition 1998, 10, :o2, 909277200
60
+ tz.transition 1999, 3, :o7, 922582800
61
+ tz.transition 1999, 10, :o2, 941331600
62
+ tz.transition 2000, 3, :o7, 954032400
63
+ tz.transition 2000, 10, :o2, 972781200
64
+ tz.transition 2001, 3, :o7, 985482000
65
+ tz.transition 2001, 10, :o2, 1004230800
66
+ tz.transition 2002, 3, :o7, 1017536400
67
+ tz.transition 2002, 10, :o2, 1035680400
68
+ tz.transition 2003, 3, :o7, 1048986000
69
+ tz.transition 2003, 10, :o2, 1067130000
70
+ tz.transition 2004, 3, :o7, 1080435600
71
+ tz.transition 2004, 10, :o2, 1099184400
72
+ tz.transition 2005, 3, :o7, 1111885200
73
+ tz.transition 2005, 10, :o2, 1130634000
74
+ tz.transition 2006, 3, :o7, 1143334800
75
+ tz.transition 2006, 10, :o2, 1162083600
76
+ tz.transition 2007, 3, :o7, 1174784400
77
+ tz.transition 2007, 10, :o2, 1193533200
78
+ tz.transition 2008, 3, :o7, 1206838800
79
+ tz.transition 2008, 10, :o2, 1224982800
80
+ tz.transition 2009, 3, :o7, 1238288400
81
+ tz.transition 2009, 10, :o2, 1256432400
82
+ tz.transition 2010, 3, :o7, 1269738000
83
+ tz.transition 2010, 10, :o2, 1288486800
84
+ tz.transition 2011, 3, :o7, 1301187600
85
+ tz.transition 2011, 10, :o2, 1319936400
86
+ tz.transition 2012, 3, :o7, 1332637200
87
+ tz.transition 2012, 10, :o2, 1351386000
88
+ tz.transition 2013, 3, :o7, 1364691600
89
+ tz.transition 2013, 10, :o2, 1382835600
90
+ tz.transition 2014, 3, :o7, 1396141200
91
+ tz.transition 2014, 10, :o2, 1414285200
92
+ tz.transition 2015, 3, :o7, 1427590800
93
+ tz.transition 2015, 10, :o2, 1445734800
94
+ tz.transition 2016, 3, :o7, 1459040400
95
+ tz.transition 2016, 10, :o2, 1477789200
96
+ tz.transition 2017, 3, :o7, 1490490000
97
+ tz.transition 2017, 10, :o2, 1509238800
98
+ tz.transition 2018, 3, :o7, 1521939600
99
+ tz.transition 2018, 10, :o2, 1540688400
100
+ tz.transition 2019, 3, :o7, 1553994000
101
+ tz.transition 2019, 10, :o2, 1572138000
102
+ tz.transition 2020, 3, :o7, 1585443600
103
+ tz.transition 2020, 10, :o2, 1603587600
104
+ tz.transition 2021, 3, :o7, 1616893200
105
+ tz.transition 2021, 10, :o2, 1635642000
106
+ tz.transition 2022, 3, :o7, 1648342800
107
+ tz.transition 2022, 10, :o2, 1667091600
108
+ tz.transition 2023, 3, :o7, 1679792400
109
+ tz.transition 2023, 10, :o2, 1698541200
110
+ tz.transition 2024, 3, :o7, 1711846800
111
+ tz.transition 2024, 10, :o2, 1729990800
112
+ tz.transition 2025, 3, :o7, 1743296400
113
+ tz.transition 2025, 10, :o2, 1761440400
114
+ tz.transition 2026, 3, :o7, 1774746000
115
+ tz.transition 2026, 10, :o2, 1792890000
116
+ tz.transition 2027, 3, :o7, 1806195600
117
+ tz.transition 2027, 10, :o2, 1824944400
118
+ tz.transition 2028, 3, :o7, 1837645200
119
+ tz.transition 2028, 10, :o2, 1856394000
120
+ tz.transition 2029, 3, :o7, 1869094800
121
+ tz.transition 2029, 10, :o2, 1887843600
122
+ tz.transition 2030, 3, :o7, 1901149200
123
+ tz.transition 2030, 10, :o2, 1919293200
124
+ tz.transition 2031, 3, :o7, 1932598800
125
+ tz.transition 2031, 10, :o2, 1950742800
126
+ tz.transition 2032, 3, :o7, 1964048400
127
+ tz.transition 2032, 10, :o2, 1982797200
128
+ tz.transition 2033, 3, :o7, 1995498000
129
+ tz.transition 2033, 10, :o2, 2014246800
130
+ tz.transition 2034, 3, :o7, 2026947600
131
+ tz.transition 2034, 10, :o2, 2045696400
132
+ tz.transition 2035, 3, :o7, 2058397200
133
+ tz.transition 2035, 10, :o2, 2077146000
134
+ tz.transition 2036, 3, :o7, 2090451600
135
+ tz.transition 2036, 10, :o2, 2108595600
136
+ tz.transition 2037, 3, :o7, 2121901200
137
+ tz.transition 2037, 10, :o2, 2140045200
138
+ tz.transition 2038, 3, :o7, 59172253, 24
139
+ tz.transition 2038, 10, :o2, 59177461, 24
140
+ tz.transition 2039, 3, :o7, 59180989, 24
141
+ tz.transition 2039, 10, :o2, 59186197, 24
142
+ tz.transition 2040, 3, :o7, 59189725, 24
143
+ tz.transition 2040, 10, :o2, 59194933, 24
144
+ tz.transition 2041, 3, :o7, 59198629, 24
145
+ tz.transition 2041, 10, :o2, 59203669, 24
146
+ tz.transition 2042, 3, :o7, 59207365, 24
147
+ tz.transition 2042, 10, :o2, 59212405, 24
148
+ tz.transition 2043, 3, :o7, 59216101, 24
149
+ tz.transition 2043, 10, :o2, 59221141, 24
150
+ tz.transition 2044, 3, :o7, 59224837, 24
151
+ tz.transition 2044, 10, :o2, 59230045, 24
152
+ tz.transition 2045, 3, :o7, 59233573, 24
153
+ tz.transition 2045, 10, :o2, 59238781, 24
154
+ tz.transition 2046, 3, :o7, 59242309, 24
155
+ tz.transition 2046, 10, :o2, 59247517, 24
156
+ tz.transition 2047, 3, :o7, 59251213, 24
157
+ tz.transition 2047, 10, :o2, 59256253, 24
158
+ tz.transition 2048, 3, :o7, 59259949, 24
159
+ tz.transition 2048, 10, :o2, 59264989, 24
160
+ tz.transition 2049, 3, :o7, 59268685, 24
161
+ tz.transition 2049, 10, :o2, 59273893, 24
162
+ tz.transition 2050, 3, :o7, 59277421, 24
163
+ tz.transition 2050, 10, :o2, 59282629, 24
164
+ end
165
+ end
166
+ end
167
+ end
168
+ end