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,121 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Tehran
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Tehran' do |tz|
10
+ tz.offset :o0, 12344, 0, :LMT
11
+ tz.offset :o1, 12344, 0, :TMT
12
+ tz.offset :o2, 12600, 0, :IRST
13
+ tz.offset :o3, 14400, 0, :IRST
14
+ tz.offset :o4, 14400, 3600, :IRDT
15
+ tz.offset :o5, 12600, 3600, :IRDT
16
+
17
+ tz.transition 1915, 12, :o1, 26145324257, 10800
18
+ tz.transition 1945, 12, :o2, 26263670657, 10800
19
+ tz.transition 1977, 10, :o3, 247177800
20
+ tz.transition 1978, 3, :o4, 259272000
21
+ tz.transition 1978, 10, :o3, 277758000
22
+ tz.transition 1978, 12, :o2, 283982400
23
+ tz.transition 1979, 3, :o5, 290809800
24
+ tz.transition 1979, 9, :o2, 306531000
25
+ tz.transition 1980, 3, :o5, 322432200
26
+ tz.transition 1980, 9, :o2, 338499000
27
+ tz.transition 1991, 5, :o5, 673216200
28
+ tz.transition 1991, 9, :o2, 685481400
29
+ tz.transition 1992, 3, :o5, 701209800
30
+ tz.transition 1992, 9, :o2, 717103800
31
+ tz.transition 1993, 3, :o5, 732745800
32
+ tz.transition 1993, 9, :o2, 748639800
33
+ tz.transition 1994, 3, :o5, 764281800
34
+ tz.transition 1994, 9, :o2, 780175800
35
+ tz.transition 1995, 3, :o5, 795817800
36
+ tz.transition 1995, 9, :o2, 811711800
37
+ tz.transition 1996, 3, :o5, 827353800
38
+ tz.transition 1996, 9, :o2, 843247800
39
+ tz.transition 1997, 3, :o5, 858976200
40
+ tz.transition 1997, 9, :o2, 874870200
41
+ tz.transition 1998, 3, :o5, 890512200
42
+ tz.transition 1998, 9, :o2, 906406200
43
+ tz.transition 1999, 3, :o5, 922048200
44
+ tz.transition 1999, 9, :o2, 937942200
45
+ tz.transition 2000, 3, :o5, 953584200
46
+ tz.transition 2000, 9, :o2, 969478200
47
+ tz.transition 2001, 3, :o5, 985206600
48
+ tz.transition 2001, 9, :o2, 1001100600
49
+ tz.transition 2002, 3, :o5, 1016742600
50
+ tz.transition 2002, 9, :o2, 1032636600
51
+ tz.transition 2003, 3, :o5, 1048278600
52
+ tz.transition 2003, 9, :o2, 1064172600
53
+ tz.transition 2004, 3, :o5, 1079814600
54
+ tz.transition 2004, 9, :o2, 1095708600
55
+ tz.transition 2005, 3, :o5, 1111437000
56
+ tz.transition 2005, 9, :o2, 1127331000
57
+ tz.transition 2008, 3, :o5, 1206045000
58
+ tz.transition 2008, 9, :o2, 1221939000
59
+ tz.transition 2009, 3, :o5, 1237667400
60
+ tz.transition 2009, 9, :o2, 1253561400
61
+ tz.transition 2010, 3, :o5, 1269203400
62
+ tz.transition 2010, 9, :o2, 1285097400
63
+ tz.transition 2011, 3, :o5, 1300739400
64
+ tz.transition 2011, 9, :o2, 1316633400
65
+ tz.transition 2012, 3, :o5, 1332275400
66
+ tz.transition 2012, 9, :o2, 1348169400
67
+ tz.transition 2013, 3, :o5, 1363897800
68
+ tz.transition 2013, 9, :o2, 1379791800
69
+ tz.transition 2014, 3, :o5, 1395433800
70
+ tz.transition 2014, 9, :o2, 1411327800
71
+ tz.transition 2015, 3, :o5, 1426969800
72
+ tz.transition 2015, 9, :o2, 1442863800
73
+ tz.transition 2016, 3, :o5, 1458505800
74
+ tz.transition 2016, 9, :o2, 1474399800
75
+ tz.transition 2017, 3, :o5, 1490128200
76
+ tz.transition 2017, 9, :o2, 1506022200
77
+ tz.transition 2018, 3, :o5, 1521664200
78
+ tz.transition 2018, 9, :o2, 1537558200
79
+ tz.transition 2019, 3, :o5, 1553200200
80
+ tz.transition 2019, 9, :o2, 1569094200
81
+ tz.transition 2020, 3, :o5, 1584736200
82
+ tz.transition 2020, 9, :o2, 1600630200
83
+ tz.transition 2021, 3, :o5, 1616358600
84
+ tz.transition 2021, 9, :o2, 1632252600
85
+ tz.transition 2022, 3, :o5, 1647894600
86
+ tz.transition 2022, 9, :o2, 1663788600
87
+ tz.transition 2023, 3, :o5, 1679430600
88
+ tz.transition 2023, 9, :o2, 1695324600
89
+ tz.transition 2024, 3, :o5, 1710966600
90
+ tz.transition 2024, 9, :o2, 1726860600
91
+ tz.transition 2025, 3, :o5, 1742589000
92
+ tz.transition 2025, 9, :o2, 1758483000
93
+ tz.transition 2026, 3, :o5, 1774125000
94
+ tz.transition 2026, 9, :o2, 1790019000
95
+ tz.transition 2027, 3, :o5, 1805661000
96
+ tz.transition 2027, 9, :o2, 1821555000
97
+ tz.transition 2028, 3, :o5, 1837197000
98
+ tz.transition 2028, 9, :o2, 1853091000
99
+ tz.transition 2029, 3, :o5, 1868733000
100
+ tz.transition 2029, 9, :o2, 1884627000
101
+ tz.transition 2030, 3, :o5, 1900355400
102
+ tz.transition 2030, 9, :o2, 1916249400
103
+ tz.transition 2031, 3, :o5, 1931891400
104
+ tz.transition 2031, 9, :o2, 1947785400
105
+ tz.transition 2032, 3, :o5, 1963427400
106
+ tz.transition 2032, 9, :o2, 1979321400
107
+ tz.transition 2033, 3, :o5, 1994963400
108
+ tz.transition 2033, 9, :o2, 2010857400
109
+ tz.transition 2034, 3, :o5, 2026585800
110
+ tz.transition 2034, 9, :o2, 2042479800
111
+ tz.transition 2035, 3, :o5, 2058121800
112
+ tz.transition 2035, 9, :o2, 2074015800
113
+ tz.transition 2036, 3, :o5, 2089657800
114
+ tz.transition 2036, 9, :o2, 2105551800
115
+ tz.transition 2037, 3, :o5, 2121193800
116
+ tz.transition 2037, 9, :o2, 2137087800
117
+ end
118
+ end
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,30 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Tokyo
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Tokyo' do |tz|
10
+ tz.offset :o0, 33539, 0, :LMT
11
+ tz.offset :o1, 32400, 0, :JST
12
+ tz.offset :o2, 32400, 0, :CJT
13
+ tz.offset :o3, 32400, 3600, :JDT
14
+
15
+ tz.transition 1887, 12, :o1, 19285097, 8
16
+ tz.transition 1895, 12, :o2, 19308473, 8
17
+ tz.transition 1937, 12, :o1, 19431193, 8
18
+ tz.transition 1948, 5, :o3, 58384157, 24
19
+ tz.transition 1948, 9, :o1, 14596831, 6
20
+ tz.transition 1949, 4, :o3, 58392221, 24
21
+ tz.transition 1949, 9, :o1, 14599015, 6
22
+ tz.transition 1950, 5, :o3, 58401797, 24
23
+ tz.transition 1950, 9, :o1, 14601199, 6
24
+ tz.transition 1951, 5, :o3, 58410533, 24
25
+ tz.transition 1951, 9, :o1, 14603383, 6
26
+ end
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,65 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Ulaanbaatar
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Ulaanbaatar' do |tz|
10
+ tz.offset :o0, 25652, 0, :LMT
11
+ tz.offset :o1, 25200, 0, :ULAT
12
+ tz.offset :o2, 28800, 0, :ULAT
13
+ tz.offset :o3, 28800, 3600, :ULAST
14
+
15
+ tz.transition 1905, 7, :o1, 52208457187, 21600
16
+ tz.transition 1977, 12, :o2, 252435600
17
+ tz.transition 1983, 3, :o3, 417974400
18
+ tz.transition 1983, 9, :o2, 433782000
19
+ tz.transition 1984, 3, :o3, 449596800
20
+ tz.transition 1984, 9, :o2, 465318000
21
+ tz.transition 1985, 3, :o3, 481046400
22
+ tz.transition 1985, 9, :o2, 496767600
23
+ tz.transition 1986, 3, :o3, 512496000
24
+ tz.transition 1986, 9, :o2, 528217200
25
+ tz.transition 1987, 3, :o3, 543945600
26
+ tz.transition 1987, 9, :o2, 559666800
27
+ tz.transition 1988, 3, :o3, 575395200
28
+ tz.transition 1988, 9, :o2, 591116400
29
+ tz.transition 1989, 3, :o3, 606844800
30
+ tz.transition 1989, 9, :o2, 622566000
31
+ tz.transition 1990, 3, :o3, 638294400
32
+ tz.transition 1990, 9, :o2, 654620400
33
+ tz.transition 1991, 3, :o3, 670348800
34
+ tz.transition 1991, 9, :o2, 686070000
35
+ tz.transition 1992, 3, :o3, 701798400
36
+ tz.transition 1992, 9, :o2, 717519600
37
+ tz.transition 1993, 3, :o3, 733248000
38
+ tz.transition 1993, 9, :o2, 748969200
39
+ tz.transition 1994, 3, :o3, 764697600
40
+ tz.transition 1994, 9, :o2, 780418800
41
+ tz.transition 1995, 3, :o3, 796147200
42
+ tz.transition 1995, 9, :o2, 811868400
43
+ tz.transition 1996, 3, :o3, 828201600
44
+ tz.transition 1996, 9, :o2, 843922800
45
+ tz.transition 1997, 3, :o3, 859651200
46
+ tz.transition 1997, 9, :o2, 875372400
47
+ tz.transition 1998, 3, :o3, 891100800
48
+ tz.transition 1998, 9, :o2, 906822000
49
+ tz.transition 2001, 4, :o3, 988394400
50
+ tz.transition 2001, 9, :o2, 1001696400
51
+ tz.transition 2002, 3, :o3, 1017424800
52
+ tz.transition 2002, 9, :o2, 1033146000
53
+ tz.transition 2003, 3, :o3, 1048874400
54
+ tz.transition 2003, 9, :o2, 1064595600
55
+ tz.transition 2004, 3, :o3, 1080324000
56
+ tz.transition 2004, 9, :o2, 1096045200
57
+ tz.transition 2005, 3, :o3, 1111773600
58
+ tz.transition 2005, 9, :o2, 1127494800
59
+ tz.transition 2006, 3, :o3, 1143223200
60
+ tz.transition 2006, 9, :o2, 1159549200
61
+ end
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,33 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Urumqi
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Urumqi' do |tz|
10
+ tz.offset :o0, 21020, 0, :LMT
11
+ tz.offset :o1, 21600, 0, :URUT
12
+ tz.offset :o2, 28800, 0, :CST
13
+ tz.offset :o3, 28800, 3600, :CDT
14
+
15
+ tz.transition 1927, 12, :o1, 10477063829, 4320
16
+ tz.transition 1980, 4, :o2, 325965600
17
+ tz.transition 1986, 5, :o3, 515520000
18
+ tz.transition 1986, 9, :o2, 527007600
19
+ tz.transition 1987, 4, :o3, 545155200
20
+ tz.transition 1987, 9, :o2, 558457200
21
+ tz.transition 1988, 4, :o3, 576604800
22
+ tz.transition 1988, 9, :o2, 589906800
23
+ tz.transition 1989, 4, :o3, 608659200
24
+ tz.transition 1989, 9, :o2, 621961200
25
+ tz.transition 1990, 4, :o3, 640108800
26
+ tz.transition 1990, 9, :o2, 653410800
27
+ tz.transition 1991, 4, :o3, 671558400
28
+ tz.transition 1991, 9, :o2, 684860400
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,164 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Vladivostok
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Vladivostok' do |tz|
10
+ tz.offset :o0, 31664, 0, :LMT
11
+ tz.offset :o1, 32400, 0, :VLAT
12
+ tz.offset :o2, 36000, 0, :VLAT
13
+ tz.offset :o3, 36000, 3600, :VLAST
14
+ tz.offset :o4, 32400, 3600, :VLASST
15
+ tz.offset :o5, 32400, 0, :VLAST
16
+
17
+ tz.transition 1922, 11, :o1, 13086214921, 5400
18
+ tz.transition 1930, 6, :o2, 19409185, 8
19
+ tz.transition 1981, 3, :o3, 354895200
20
+ tz.transition 1981, 9, :o2, 370702800
21
+ tz.transition 1982, 3, :o3, 386431200
22
+ tz.transition 1982, 9, :o2, 402238800
23
+ tz.transition 1983, 3, :o3, 417967200
24
+ tz.transition 1983, 9, :o2, 433774800
25
+ tz.transition 1984, 3, :o3, 449589600
26
+ tz.transition 1984, 9, :o2, 465321600
27
+ tz.transition 1985, 3, :o3, 481046400
28
+ tz.transition 1985, 9, :o2, 496771200
29
+ tz.transition 1986, 3, :o3, 512496000
30
+ tz.transition 1986, 9, :o2, 528220800
31
+ tz.transition 1987, 3, :o3, 543945600
32
+ tz.transition 1987, 9, :o2, 559670400
33
+ tz.transition 1988, 3, :o3, 575395200
34
+ tz.transition 1988, 9, :o2, 591120000
35
+ tz.transition 1989, 3, :o3, 606844800
36
+ tz.transition 1989, 9, :o2, 622569600
37
+ tz.transition 1990, 3, :o3, 638294400
38
+ tz.transition 1990, 9, :o2, 654624000
39
+ tz.transition 1991, 3, :o4, 670348800
40
+ tz.transition 1991, 9, :o5, 686077200
41
+ tz.transition 1992, 1, :o2, 695754000
42
+ tz.transition 1992, 3, :o3, 701787600
43
+ tz.transition 1992, 9, :o2, 717508800
44
+ tz.transition 1993, 3, :o3, 733248000
45
+ tz.transition 1993, 9, :o2, 748972800
46
+ tz.transition 1994, 3, :o3, 764697600
47
+ tz.transition 1994, 9, :o2, 780422400
48
+ tz.transition 1995, 3, :o3, 796147200
49
+ tz.transition 1995, 9, :o2, 811872000
50
+ tz.transition 1996, 3, :o3, 828201600
51
+ tz.transition 1996, 10, :o2, 846345600
52
+ tz.transition 1997, 3, :o3, 859651200
53
+ tz.transition 1997, 10, :o2, 877795200
54
+ tz.transition 1998, 3, :o3, 891100800
55
+ tz.transition 1998, 10, :o2, 909244800
56
+ tz.transition 1999, 3, :o3, 922550400
57
+ tz.transition 1999, 10, :o2, 941299200
58
+ tz.transition 2000, 3, :o3, 954000000
59
+ tz.transition 2000, 10, :o2, 972748800
60
+ tz.transition 2001, 3, :o3, 985449600
61
+ tz.transition 2001, 10, :o2, 1004198400
62
+ tz.transition 2002, 3, :o3, 1017504000
63
+ tz.transition 2002, 10, :o2, 1035648000
64
+ tz.transition 2003, 3, :o3, 1048953600
65
+ tz.transition 2003, 10, :o2, 1067097600
66
+ tz.transition 2004, 3, :o3, 1080403200
67
+ tz.transition 2004, 10, :o2, 1099152000
68
+ tz.transition 2005, 3, :o3, 1111852800
69
+ tz.transition 2005, 10, :o2, 1130601600
70
+ tz.transition 2006, 3, :o3, 1143302400
71
+ tz.transition 2006, 10, :o2, 1162051200
72
+ tz.transition 2007, 3, :o3, 1174752000
73
+ tz.transition 2007, 10, :o2, 1193500800
74
+ tz.transition 2008, 3, :o3, 1206806400
75
+ tz.transition 2008, 10, :o2, 1224950400
76
+ tz.transition 2009, 3, :o3, 1238256000
77
+ tz.transition 2009, 10, :o2, 1256400000
78
+ tz.transition 2010, 3, :o3, 1269705600
79
+ tz.transition 2010, 10, :o2, 1288454400
80
+ tz.transition 2011, 3, :o3, 1301155200
81
+ tz.transition 2011, 10, :o2, 1319904000
82
+ tz.transition 2012, 3, :o3, 1332604800
83
+ tz.transition 2012, 10, :o2, 1351353600
84
+ tz.transition 2013, 3, :o3, 1364659200
85
+ tz.transition 2013, 10, :o2, 1382803200
86
+ tz.transition 2014, 3, :o3, 1396108800
87
+ tz.transition 2014, 10, :o2, 1414252800
88
+ tz.transition 2015, 3, :o3, 1427558400
89
+ tz.transition 2015, 10, :o2, 1445702400
90
+ tz.transition 2016, 3, :o3, 1459008000
91
+ tz.transition 2016, 10, :o2, 1477756800
92
+ tz.transition 2017, 3, :o3, 1490457600
93
+ tz.transition 2017, 10, :o2, 1509206400
94
+ tz.transition 2018, 3, :o3, 1521907200
95
+ tz.transition 2018, 10, :o2, 1540656000
96
+ tz.transition 2019, 3, :o3, 1553961600
97
+ tz.transition 2019, 10, :o2, 1572105600
98
+ tz.transition 2020, 3, :o3, 1585411200
99
+ tz.transition 2020, 10, :o2, 1603555200
100
+ tz.transition 2021, 3, :o3, 1616860800
101
+ tz.transition 2021, 10, :o2, 1635609600
102
+ tz.transition 2022, 3, :o3, 1648310400
103
+ tz.transition 2022, 10, :o2, 1667059200
104
+ tz.transition 2023, 3, :o3, 1679760000
105
+ tz.transition 2023, 10, :o2, 1698508800
106
+ tz.transition 2024, 3, :o3, 1711814400
107
+ tz.transition 2024, 10, :o2, 1729958400
108
+ tz.transition 2025, 3, :o3, 1743264000
109
+ tz.transition 2025, 10, :o2, 1761408000
110
+ tz.transition 2026, 3, :o3, 1774713600
111
+ tz.transition 2026, 10, :o2, 1792857600
112
+ tz.transition 2027, 3, :o3, 1806163200
113
+ tz.transition 2027, 10, :o2, 1824912000
114
+ tz.transition 2028, 3, :o3, 1837612800
115
+ tz.transition 2028, 10, :o2, 1856361600
116
+ tz.transition 2029, 3, :o3, 1869062400
117
+ tz.transition 2029, 10, :o2, 1887811200
118
+ tz.transition 2030, 3, :o3, 1901116800
119
+ tz.transition 2030, 10, :o2, 1919260800
120
+ tz.transition 2031, 3, :o3, 1932566400
121
+ tz.transition 2031, 10, :o2, 1950710400
122
+ tz.transition 2032, 3, :o3, 1964016000
123
+ tz.transition 2032, 10, :o2, 1982764800
124
+ tz.transition 2033, 3, :o3, 1995465600
125
+ tz.transition 2033, 10, :o2, 2014214400
126
+ tz.transition 2034, 3, :o3, 2026915200
127
+ tz.transition 2034, 10, :o2, 2045664000
128
+ tz.transition 2035, 3, :o3, 2058364800
129
+ tz.transition 2035, 10, :o2, 2077113600
130
+ tz.transition 2036, 3, :o3, 2090419200
131
+ tz.transition 2036, 10, :o2, 2108563200
132
+ tz.transition 2037, 3, :o3, 2121868800
133
+ tz.transition 2037, 10, :o2, 2140012800
134
+ tz.transition 2038, 3, :o3, 14793061, 6
135
+ tz.transition 2038, 10, :o2, 14794363, 6
136
+ tz.transition 2039, 3, :o3, 14795245, 6
137
+ tz.transition 2039, 10, :o2, 14796547, 6
138
+ tz.transition 2040, 3, :o3, 14797429, 6
139
+ tz.transition 2040, 10, :o2, 14798731, 6
140
+ tz.transition 2041, 3, :o3, 14799655, 6
141
+ tz.transition 2041, 10, :o2, 14800915, 6
142
+ tz.transition 2042, 3, :o3, 14801839, 6
143
+ tz.transition 2042, 10, :o2, 14803099, 6
144
+ tz.transition 2043, 3, :o3, 14804023, 6
145
+ tz.transition 2043, 10, :o2, 14805283, 6
146
+ tz.transition 2044, 3, :o3, 14806207, 6
147
+ tz.transition 2044, 10, :o2, 14807509, 6
148
+ tz.transition 2045, 3, :o3, 14808391, 6
149
+ tz.transition 2045, 10, :o2, 14809693, 6
150
+ tz.transition 2046, 3, :o3, 14810575, 6
151
+ tz.transition 2046, 10, :o2, 14811877, 6
152
+ tz.transition 2047, 3, :o3, 14812801, 6
153
+ tz.transition 2047, 10, :o2, 14814061, 6
154
+ tz.transition 2048, 3, :o3, 14814985, 6
155
+ tz.transition 2048, 10, :o2, 14816245, 6
156
+ tz.transition 2049, 3, :o3, 14817169, 6
157
+ tz.transition 2049, 10, :o2, 14818471, 6
158
+ tz.transition 2050, 3, :o3, 14819353, 6
159
+ tz.transition 2050, 10, :o2, 14820655, 6
160
+ end
161
+ end
162
+ end
163
+ end
164
+ end
@@ -0,0 +1,163 @@
1
+ require 'time_crisis/tzinfo/timezone_definition'
2
+
3
+ module TimeCrisis::TZInfo
4
+ module Definitions
5
+ module Asia
6
+ module Yakutsk
7
+ include TimezoneDefinition
8
+
9
+ timezone 'Asia/Yakutsk' do |tz|
10
+ tz.offset :o0, 31120, 0, :LMT
11
+ tz.offset :o1, 28800, 0, :YAKT
12
+ tz.offset :o2, 32400, 0, :YAKT
13
+ tz.offset :o3, 32400, 3600, :YAKST
14
+ tz.offset :o4, 28800, 3600, :YAKST
15
+
16
+ tz.transition 1919, 12, :o1, 2616091711, 1080
17
+ tz.transition 1930, 6, :o2, 14556889, 6
18
+ tz.transition 1981, 3, :o3, 354898800
19
+ tz.transition 1981, 9, :o2, 370706400
20
+ tz.transition 1982, 3, :o3, 386434800
21
+ tz.transition 1982, 9, :o2, 402242400
22
+ tz.transition 1983, 3, :o3, 417970800
23
+ tz.transition 1983, 9, :o2, 433778400
24
+ tz.transition 1984, 3, :o3, 449593200
25
+ tz.transition 1984, 9, :o2, 465325200
26
+ tz.transition 1985, 3, :o3, 481050000
27
+ tz.transition 1985, 9, :o2, 496774800
28
+ tz.transition 1986, 3, :o3, 512499600
29
+ tz.transition 1986, 9, :o2, 528224400
30
+ tz.transition 1987, 3, :o3, 543949200
31
+ tz.transition 1987, 9, :o2, 559674000
32
+ tz.transition 1988, 3, :o3, 575398800
33
+ tz.transition 1988, 9, :o2, 591123600
34
+ tz.transition 1989, 3, :o3, 606848400
35
+ tz.transition 1989, 9, :o2, 622573200
36
+ tz.transition 1990, 3, :o3, 638298000
37
+ tz.transition 1990, 9, :o2, 654627600
38
+ tz.transition 1991, 3, :o4, 670352400
39
+ tz.transition 1991, 9, :o1, 686080800
40
+ tz.transition 1992, 1, :o2, 695757600
41
+ tz.transition 1992, 3, :o3, 701791200
42
+ tz.transition 1992, 9, :o2, 717512400
43
+ tz.transition 1993, 3, :o3, 733251600
44
+ tz.transition 1993, 9, :o2, 748976400
45
+ tz.transition 1994, 3, :o3, 764701200
46
+ tz.transition 1994, 9, :o2, 780426000
47
+ tz.transition 1995, 3, :o3, 796150800
48
+ tz.transition 1995, 9, :o2, 811875600
49
+ tz.transition 1996, 3, :o3, 828205200
50
+ tz.transition 1996, 10, :o2, 846349200
51
+ tz.transition 1997, 3, :o3, 859654800
52
+ tz.transition 1997, 10, :o2, 877798800
53
+ tz.transition 1998, 3, :o3, 891104400
54
+ tz.transition 1998, 10, :o2, 909248400
55
+ tz.transition 1999, 3, :o3, 922554000
56
+ tz.transition 1999, 10, :o2, 941302800
57
+ tz.transition 2000, 3, :o3, 954003600
58
+ tz.transition 2000, 10, :o2, 972752400
59
+ tz.transition 2001, 3, :o3, 985453200
60
+ tz.transition 2001, 10, :o2, 1004202000
61
+ tz.transition 2002, 3, :o3, 1017507600
62
+ tz.transition 2002, 10, :o2, 1035651600
63
+ tz.transition 2003, 3, :o3, 1048957200
64
+ tz.transition 2003, 10, :o2, 1067101200
65
+ tz.transition 2004, 3, :o3, 1080406800
66
+ tz.transition 2004, 10, :o2, 1099155600
67
+ tz.transition 2005, 3, :o3, 1111856400
68
+ tz.transition 2005, 10, :o2, 1130605200
69
+ tz.transition 2006, 3, :o3, 1143306000
70
+ tz.transition 2006, 10, :o2, 1162054800
71
+ tz.transition 2007, 3, :o3, 1174755600
72
+ tz.transition 2007, 10, :o2, 1193504400
73
+ tz.transition 2008, 3, :o3, 1206810000
74
+ tz.transition 2008, 10, :o2, 1224954000
75
+ tz.transition 2009, 3, :o3, 1238259600
76
+ tz.transition 2009, 10, :o2, 1256403600
77
+ tz.transition 2010, 3, :o3, 1269709200
78
+ tz.transition 2010, 10, :o2, 1288458000
79
+ tz.transition 2011, 3, :o3, 1301158800
80
+ tz.transition 2011, 10, :o2, 1319907600
81
+ tz.transition 2012, 3, :o3, 1332608400
82
+ tz.transition 2012, 10, :o2, 1351357200
83
+ tz.transition 2013, 3, :o3, 1364662800
84
+ tz.transition 2013, 10, :o2, 1382806800
85
+ tz.transition 2014, 3, :o3, 1396112400
86
+ tz.transition 2014, 10, :o2, 1414256400
87
+ tz.transition 2015, 3, :o3, 1427562000
88
+ tz.transition 2015, 10, :o2, 1445706000
89
+ tz.transition 2016, 3, :o3, 1459011600
90
+ tz.transition 2016, 10, :o2, 1477760400
91
+ tz.transition 2017, 3, :o3, 1490461200
92
+ tz.transition 2017, 10, :o2, 1509210000
93
+ tz.transition 2018, 3, :o3, 1521910800
94
+ tz.transition 2018, 10, :o2, 1540659600
95
+ tz.transition 2019, 3, :o3, 1553965200
96
+ tz.transition 2019, 10, :o2, 1572109200
97
+ tz.transition 2020, 3, :o3, 1585414800
98
+ tz.transition 2020, 10, :o2, 1603558800
99
+ tz.transition 2021, 3, :o3, 1616864400
100
+ tz.transition 2021, 10, :o2, 1635613200
101
+ tz.transition 2022, 3, :o3, 1648314000
102
+ tz.transition 2022, 10, :o2, 1667062800
103
+ tz.transition 2023, 3, :o3, 1679763600
104
+ tz.transition 2023, 10, :o2, 1698512400
105
+ tz.transition 2024, 3, :o3, 1711818000
106
+ tz.transition 2024, 10, :o2, 1729962000
107
+ tz.transition 2025, 3, :o3, 1743267600
108
+ tz.transition 2025, 10, :o2, 1761411600
109
+ tz.transition 2026, 3, :o3, 1774717200
110
+ tz.transition 2026, 10, :o2, 1792861200
111
+ tz.transition 2027, 3, :o3, 1806166800
112
+ tz.transition 2027, 10, :o2, 1824915600
113
+ tz.transition 2028, 3, :o3, 1837616400
114
+ tz.transition 2028, 10, :o2, 1856365200
115
+ tz.transition 2029, 3, :o3, 1869066000
116
+ tz.transition 2029, 10, :o2, 1887814800
117
+ tz.transition 2030, 3, :o3, 1901120400
118
+ tz.transition 2030, 10, :o2, 1919264400
119
+ tz.transition 2031, 3, :o3, 1932570000
120
+ tz.transition 2031, 10, :o2, 1950714000
121
+ tz.transition 2032, 3, :o3, 1964019600
122
+ tz.transition 2032, 10, :o2, 1982768400
123
+ tz.transition 2033, 3, :o3, 1995469200
124
+ tz.transition 2033, 10, :o2, 2014218000
125
+ tz.transition 2034, 3, :o3, 2026918800
126
+ tz.transition 2034, 10, :o2, 2045667600
127
+ tz.transition 2035, 3, :o3, 2058368400
128
+ tz.transition 2035, 10, :o2, 2077117200
129
+ tz.transition 2036, 3, :o3, 2090422800
130
+ tz.transition 2036, 10, :o2, 2108566800
131
+ tz.transition 2037, 3, :o3, 2121872400
132
+ tz.transition 2037, 10, :o2, 2140016400
133
+ tz.transition 2038, 3, :o3, 59172245, 24
134
+ tz.transition 2038, 10, :o2, 59177453, 24
135
+ tz.transition 2039, 3, :o3, 59180981, 24
136
+ tz.transition 2039, 10, :o2, 59186189, 24
137
+ tz.transition 2040, 3, :o3, 59189717, 24
138
+ tz.transition 2040, 10, :o2, 59194925, 24
139
+ tz.transition 2041, 3, :o3, 59198621, 24
140
+ tz.transition 2041, 10, :o2, 59203661, 24
141
+ tz.transition 2042, 3, :o3, 59207357, 24
142
+ tz.transition 2042, 10, :o2, 59212397, 24
143
+ tz.transition 2043, 3, :o3, 59216093, 24
144
+ tz.transition 2043, 10, :o2, 59221133, 24
145
+ tz.transition 2044, 3, :o3, 59224829, 24
146
+ tz.transition 2044, 10, :o2, 59230037, 24
147
+ tz.transition 2045, 3, :o3, 59233565, 24
148
+ tz.transition 2045, 10, :o2, 59238773, 24
149
+ tz.transition 2046, 3, :o3, 59242301, 24
150
+ tz.transition 2046, 10, :o2, 59247509, 24
151
+ tz.transition 2047, 3, :o3, 59251205, 24
152
+ tz.transition 2047, 10, :o2, 59256245, 24
153
+ tz.transition 2048, 3, :o3, 59259941, 24
154
+ tz.transition 2048, 10, :o2, 59264981, 24
155
+ tz.transition 2049, 3, :o3, 59268677, 24
156
+ tz.transition 2049, 10, :o2, 59273885, 24
157
+ tz.transition 2050, 3, :o3, 59277413, 24
158
+ tz.transition 2050, 10, :o2, 59282621, 24
159
+ end
160
+ end
161
+ end
162
+ end
163
+ end