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.
- data/VERSION.yml +2 -2
- data/lib/time_crisis.rb +5 -12
- data/lib/time_crisis/ext.rb +60 -0
- data/lib/time_crisis/support/conversions.rb +4 -0
- data/lib/time_crisis/tzinfo.rb +3 -0
- data/lib/time_crisis/tzinfo/LICENSE +21 -0
- data/lib/time_crisis/tzinfo/data_timezone.rb +27 -0
- data/lib/time_crisis/tzinfo/data_timezone_info.rb +208 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Casablanca.rb +42 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +84 -0
- data/lib/time_crisis/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/lib/time_crisis/tzinfo/definitions/America/Bogota.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/America/Caracas.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/America/Chicago.rb +283 -0
- data/lib/time_crisis/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/lib/time_crisis/tzinfo/definitions/America/Denver.rb +204 -0
- data/lib/time_crisis/tzinfo/definitions/America/Godthab.rb +161 -0
- data/lib/time_crisis/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/lib/time_crisis/tzinfo/definitions/America/Halifax.rb +274 -0
- data/lib/time_crisis/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/lib/time_crisis/tzinfo/definitions/America/Juneau.rb +194 -0
- data/lib/time_crisis/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/lib/time_crisis/tzinfo/definitions/America/Lima.rb +35 -0
- data/lib/time_crisis/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/lib/time_crisis/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/lib/time_crisis/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/lib/time_crisis/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/lib/time_crisis/tzinfo/definitions/America/New_York.rb +282 -0
- data/lib/time_crisis/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/America/Regina.rb +74 -0
- data/lib/time_crisis/tzinfo/definitions/America/Santiago.rb +205 -0
- data/lib/time_crisis/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/lib/time_crisis/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/lib/time_crisis/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Dhaka.rb +29 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Karachi.rb +114 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kathmandu.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/lib/time_crisis/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/lib/time_crisis/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/London.rb +288 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/lib/time_crisis/tzinfo/info_timezone.rb +32 -0
- data/lib/time_crisis/tzinfo/linked_timezone.rb +32 -0
- data/lib/time_crisis/tzinfo/linked_timezone_info.rb +24 -0
- data/lib/time_crisis/tzinfo/offset_rationals.rb +79 -0
- data/lib/time_crisis/tzinfo/ruby_core_support.rb +33 -0
- data/lib/time_crisis/tzinfo/time_or_datetime.rb +309 -0
- data/lib/time_crisis/tzinfo/timezone.rb +486 -0
- data/lib/time_crisis/tzinfo/timezone_definition.rb +36 -0
- data/lib/time_crisis/tzinfo/timezone_info.rb +20 -0
- data/lib/time_crisis/tzinfo/timezone_offset_info.rb +75 -0
- data/lib/time_crisis/tzinfo/timezone_period.rb +179 -0
- data/lib/time_crisis/tzinfo/timezone_transition_info.rb +109 -0
- data/time_crisis.gemspec +142 -2
- metadata +142 -2
@@ -0,0 +1,136 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module America
|
6
|
+
module Chihuahua
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'America/Chihuahua' do |tz|
|
10
|
+
tz.offset :o0, -25460, 0, :LMT
|
11
|
+
tz.offset :o1, -25200, 0, :MST
|
12
|
+
tz.offset :o2, -21600, 0, :CST
|
13
|
+
tz.offset :o3, -21600, 3600, :CDT
|
14
|
+
tz.offset :o4, -25200, 3600, :MDT
|
15
|
+
|
16
|
+
tz.transition 1922, 1, :o1, 58153339, 24
|
17
|
+
tz.transition 1927, 6, :o2, 9700171, 4
|
18
|
+
tz.transition 1930, 11, :o1, 9705183, 4
|
19
|
+
tz.transition 1931, 5, :o2, 9705855, 4
|
20
|
+
tz.transition 1931, 10, :o1, 9706463, 4
|
21
|
+
tz.transition 1932, 4, :o2, 58243171, 24
|
22
|
+
tz.transition 1996, 4, :o3, 828864000
|
23
|
+
tz.transition 1996, 10, :o2, 846399600
|
24
|
+
tz.transition 1997, 4, :o3, 860313600
|
25
|
+
tz.transition 1997, 10, :o2, 877849200
|
26
|
+
tz.transition 1998, 4, :o4, 891766800
|
27
|
+
tz.transition 1998, 10, :o1, 909302400
|
28
|
+
tz.transition 1999, 4, :o4, 923216400
|
29
|
+
tz.transition 1999, 10, :o1, 941356800
|
30
|
+
tz.transition 2000, 4, :o4, 954666000
|
31
|
+
tz.transition 2000, 10, :o1, 972806400
|
32
|
+
tz.transition 2001, 5, :o4, 989139600
|
33
|
+
tz.transition 2001, 9, :o1, 1001836800
|
34
|
+
tz.transition 2002, 4, :o4, 1018170000
|
35
|
+
tz.transition 2002, 10, :o1, 1035705600
|
36
|
+
tz.transition 2003, 4, :o4, 1049619600
|
37
|
+
tz.transition 2003, 10, :o1, 1067155200
|
38
|
+
tz.transition 2004, 4, :o4, 1081069200
|
39
|
+
tz.transition 2004, 10, :o1, 1099209600
|
40
|
+
tz.transition 2005, 4, :o4, 1112518800
|
41
|
+
tz.transition 2005, 10, :o1, 1130659200
|
42
|
+
tz.transition 2006, 4, :o4, 1143968400
|
43
|
+
tz.transition 2006, 10, :o1, 1162108800
|
44
|
+
tz.transition 2007, 4, :o4, 1175418000
|
45
|
+
tz.transition 2007, 10, :o1, 1193558400
|
46
|
+
tz.transition 2008, 4, :o4, 1207472400
|
47
|
+
tz.transition 2008, 10, :o1, 1225008000
|
48
|
+
tz.transition 2009, 4, :o4, 1238922000
|
49
|
+
tz.transition 2009, 10, :o1, 1256457600
|
50
|
+
tz.transition 2010, 4, :o4, 1270371600
|
51
|
+
tz.transition 2010, 10, :o1, 1288512000
|
52
|
+
tz.transition 2011, 4, :o4, 1301821200
|
53
|
+
tz.transition 2011, 10, :o1, 1319961600
|
54
|
+
tz.transition 2012, 4, :o4, 1333270800
|
55
|
+
tz.transition 2012, 10, :o1, 1351411200
|
56
|
+
tz.transition 2013, 4, :o4, 1365325200
|
57
|
+
tz.transition 2013, 10, :o1, 1382860800
|
58
|
+
tz.transition 2014, 4, :o4, 1396774800
|
59
|
+
tz.transition 2014, 10, :o1, 1414310400
|
60
|
+
tz.transition 2015, 4, :o4, 1428224400
|
61
|
+
tz.transition 2015, 10, :o1, 1445760000
|
62
|
+
tz.transition 2016, 4, :o4, 1459674000
|
63
|
+
tz.transition 2016, 10, :o1, 1477814400
|
64
|
+
tz.transition 2017, 4, :o4, 1491123600
|
65
|
+
tz.transition 2017, 10, :o1, 1509264000
|
66
|
+
tz.transition 2018, 4, :o4, 1522573200
|
67
|
+
tz.transition 2018, 10, :o1, 1540713600
|
68
|
+
tz.transition 2019, 4, :o4, 1554627600
|
69
|
+
tz.transition 2019, 10, :o1, 1572163200
|
70
|
+
tz.transition 2020, 4, :o4, 1586077200
|
71
|
+
tz.transition 2020, 10, :o1, 1603612800
|
72
|
+
tz.transition 2021, 4, :o4, 1617526800
|
73
|
+
tz.transition 2021, 10, :o1, 1635667200
|
74
|
+
tz.transition 2022, 4, :o4, 1648976400
|
75
|
+
tz.transition 2022, 10, :o1, 1667116800
|
76
|
+
tz.transition 2023, 4, :o4, 1680426000
|
77
|
+
tz.transition 2023, 10, :o1, 1698566400
|
78
|
+
tz.transition 2024, 4, :o4, 1712480400
|
79
|
+
tz.transition 2024, 10, :o1, 1730016000
|
80
|
+
tz.transition 2025, 4, :o4, 1743930000
|
81
|
+
tz.transition 2025, 10, :o1, 1761465600
|
82
|
+
tz.transition 2026, 4, :o4, 1775379600
|
83
|
+
tz.transition 2026, 10, :o1, 1792915200
|
84
|
+
tz.transition 2027, 4, :o4, 1806829200
|
85
|
+
tz.transition 2027, 10, :o1, 1824969600
|
86
|
+
tz.transition 2028, 4, :o4, 1838278800
|
87
|
+
tz.transition 2028, 10, :o1, 1856419200
|
88
|
+
tz.transition 2029, 4, :o4, 1869728400
|
89
|
+
tz.transition 2029, 10, :o1, 1887868800
|
90
|
+
tz.transition 2030, 4, :o4, 1901782800
|
91
|
+
tz.transition 2030, 10, :o1, 1919318400
|
92
|
+
tz.transition 2031, 4, :o4, 1933232400
|
93
|
+
tz.transition 2031, 10, :o1, 1950768000
|
94
|
+
tz.transition 2032, 4, :o4, 1964682000
|
95
|
+
tz.transition 2032, 10, :o1, 1982822400
|
96
|
+
tz.transition 2033, 4, :o4, 1996131600
|
97
|
+
tz.transition 2033, 10, :o1, 2014272000
|
98
|
+
tz.transition 2034, 4, :o4, 2027581200
|
99
|
+
tz.transition 2034, 10, :o1, 2045721600
|
100
|
+
tz.transition 2035, 4, :o4, 2059030800
|
101
|
+
tz.transition 2035, 10, :o1, 2077171200
|
102
|
+
tz.transition 2036, 4, :o4, 2091085200
|
103
|
+
tz.transition 2036, 10, :o1, 2108620800
|
104
|
+
tz.transition 2037, 4, :o4, 2122534800
|
105
|
+
tz.transition 2037, 10, :o1, 2140070400
|
106
|
+
tz.transition 2038, 4, :o4, 19724143, 8
|
107
|
+
tz.transition 2038, 10, :o1, 14794367, 6
|
108
|
+
tz.transition 2039, 4, :o4, 19727055, 8
|
109
|
+
tz.transition 2039, 10, :o1, 14796551, 6
|
110
|
+
tz.transition 2040, 4, :o4, 19729967, 8
|
111
|
+
tz.transition 2040, 10, :o1, 14798735, 6
|
112
|
+
tz.transition 2041, 4, :o4, 19732935, 8
|
113
|
+
tz.transition 2041, 10, :o1, 14800919, 6
|
114
|
+
tz.transition 2042, 4, :o4, 19735847, 8
|
115
|
+
tz.transition 2042, 10, :o1, 14803103, 6
|
116
|
+
tz.transition 2043, 4, :o4, 19738759, 8
|
117
|
+
tz.transition 2043, 10, :o1, 14805287, 6
|
118
|
+
tz.transition 2044, 4, :o4, 19741671, 8
|
119
|
+
tz.transition 2044, 10, :o1, 14807513, 6
|
120
|
+
tz.transition 2045, 4, :o4, 19744583, 8
|
121
|
+
tz.transition 2045, 10, :o1, 14809697, 6
|
122
|
+
tz.transition 2046, 4, :o4, 19747495, 8
|
123
|
+
tz.transition 2046, 10, :o1, 14811881, 6
|
124
|
+
tz.transition 2047, 4, :o4, 19750463, 8
|
125
|
+
tz.transition 2047, 10, :o1, 14814065, 6
|
126
|
+
tz.transition 2048, 4, :o4, 19753375, 8
|
127
|
+
tz.transition 2048, 10, :o1, 14816249, 6
|
128
|
+
tz.transition 2049, 4, :o4, 19756287, 8
|
129
|
+
tz.transition 2049, 10, :o1, 14818475, 6
|
130
|
+
tz.transition 2050, 4, :o4, 19759199, 8
|
131
|
+
tz.transition 2050, 10, :o1, 14820659, 6
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
@@ -0,0 +1,204 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module America
|
6
|
+
module Denver
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'America/Denver' do |tz|
|
10
|
+
tz.offset :o0, -25196, 0, :LMT
|
11
|
+
tz.offset :o1, -25200, 0, :MST
|
12
|
+
tz.offset :o2, -25200, 3600, :MDT
|
13
|
+
tz.offset :o3, -25200, 3600, :MWT
|
14
|
+
tz.offset :o4, -25200, 3600, :MPT
|
15
|
+
|
16
|
+
tz.transition 1883, 11, :o1, 57819199, 24
|
17
|
+
tz.transition 1918, 3, :o2, 19373471, 8
|
18
|
+
tz.transition 1918, 10, :o1, 14531363, 6
|
19
|
+
tz.transition 1919, 3, :o2, 19376383, 8
|
20
|
+
tz.transition 1919, 10, :o1, 14533547, 6
|
21
|
+
tz.transition 1920, 3, :o2, 19379295, 8
|
22
|
+
tz.transition 1920, 10, :o1, 14535773, 6
|
23
|
+
tz.transition 1921, 3, :o2, 19382207, 8
|
24
|
+
tz.transition 1921, 5, :o1, 14536991, 6
|
25
|
+
tz.transition 1942, 2, :o3, 19443199, 8
|
26
|
+
tz.transition 1945, 8, :o4, 58360379, 24
|
27
|
+
tz.transition 1945, 9, :o1, 14590373, 6
|
28
|
+
tz.transition 1965, 4, :o2, 19511007, 8
|
29
|
+
tz.transition 1965, 10, :o1, 14634389, 6
|
30
|
+
tz.transition 1966, 4, :o2, 19513919, 8
|
31
|
+
tz.transition 1966, 10, :o1, 14636573, 6
|
32
|
+
tz.transition 1967, 4, :o2, 19516887, 8
|
33
|
+
tz.transition 1967, 10, :o1, 14638757, 6
|
34
|
+
tz.transition 1968, 4, :o2, 19519799, 8
|
35
|
+
tz.transition 1968, 10, :o1, 14640941, 6
|
36
|
+
tz.transition 1969, 4, :o2, 19522711, 8
|
37
|
+
tz.transition 1969, 10, :o1, 14643125, 6
|
38
|
+
tz.transition 1970, 4, :o2, 9968400
|
39
|
+
tz.transition 1970, 10, :o1, 25689600
|
40
|
+
tz.transition 1971, 4, :o2, 41418000
|
41
|
+
tz.transition 1971, 10, :o1, 57744000
|
42
|
+
tz.transition 1972, 4, :o2, 73472400
|
43
|
+
tz.transition 1972, 10, :o1, 89193600
|
44
|
+
tz.transition 1973, 4, :o2, 104922000
|
45
|
+
tz.transition 1973, 10, :o1, 120643200
|
46
|
+
tz.transition 1974, 1, :o2, 126694800
|
47
|
+
tz.transition 1974, 10, :o1, 152092800
|
48
|
+
tz.transition 1975, 2, :o2, 162378000
|
49
|
+
tz.transition 1975, 10, :o1, 183542400
|
50
|
+
tz.transition 1976, 4, :o2, 199270800
|
51
|
+
tz.transition 1976, 10, :o1, 215596800
|
52
|
+
tz.transition 1977, 4, :o2, 230720400
|
53
|
+
tz.transition 1977, 10, :o1, 247046400
|
54
|
+
tz.transition 1978, 4, :o2, 262774800
|
55
|
+
tz.transition 1978, 10, :o1, 278496000
|
56
|
+
tz.transition 1979, 4, :o2, 294224400
|
57
|
+
tz.transition 1979, 10, :o1, 309945600
|
58
|
+
tz.transition 1980, 4, :o2, 325674000
|
59
|
+
tz.transition 1980, 10, :o1, 341395200
|
60
|
+
tz.transition 1981, 4, :o2, 357123600
|
61
|
+
tz.transition 1981, 10, :o1, 372844800
|
62
|
+
tz.transition 1982, 4, :o2, 388573200
|
63
|
+
tz.transition 1982, 10, :o1, 404899200
|
64
|
+
tz.transition 1983, 4, :o2, 420022800
|
65
|
+
tz.transition 1983, 10, :o1, 436348800
|
66
|
+
tz.transition 1984, 4, :o2, 452077200
|
67
|
+
tz.transition 1984, 10, :o1, 467798400
|
68
|
+
tz.transition 1985, 4, :o2, 483526800
|
69
|
+
tz.transition 1985, 10, :o1, 499248000
|
70
|
+
tz.transition 1986, 4, :o2, 514976400
|
71
|
+
tz.transition 1986, 10, :o1, 530697600
|
72
|
+
tz.transition 1987, 4, :o2, 544611600
|
73
|
+
tz.transition 1987, 10, :o1, 562147200
|
74
|
+
tz.transition 1988, 4, :o2, 576061200
|
75
|
+
tz.transition 1988, 10, :o1, 594201600
|
76
|
+
tz.transition 1989, 4, :o2, 607510800
|
77
|
+
tz.transition 1989, 10, :o1, 625651200
|
78
|
+
tz.transition 1990, 4, :o2, 638960400
|
79
|
+
tz.transition 1990, 10, :o1, 657100800
|
80
|
+
tz.transition 1991, 4, :o2, 671014800
|
81
|
+
tz.transition 1991, 10, :o1, 688550400
|
82
|
+
tz.transition 1992, 4, :o2, 702464400
|
83
|
+
tz.transition 1992, 10, :o1, 720000000
|
84
|
+
tz.transition 1993, 4, :o2, 733914000
|
85
|
+
tz.transition 1993, 10, :o1, 752054400
|
86
|
+
tz.transition 1994, 4, :o2, 765363600
|
87
|
+
tz.transition 1994, 10, :o1, 783504000
|
88
|
+
tz.transition 1995, 4, :o2, 796813200
|
89
|
+
tz.transition 1995, 10, :o1, 814953600
|
90
|
+
tz.transition 1996, 4, :o2, 828867600
|
91
|
+
tz.transition 1996, 10, :o1, 846403200
|
92
|
+
tz.transition 1997, 4, :o2, 860317200
|
93
|
+
tz.transition 1997, 10, :o1, 877852800
|
94
|
+
tz.transition 1998, 4, :o2, 891766800
|
95
|
+
tz.transition 1998, 10, :o1, 909302400
|
96
|
+
tz.transition 1999, 4, :o2, 923216400
|
97
|
+
tz.transition 1999, 10, :o1, 941356800
|
98
|
+
tz.transition 2000, 4, :o2, 954666000
|
99
|
+
tz.transition 2000, 10, :o1, 972806400
|
100
|
+
tz.transition 2001, 4, :o2, 986115600
|
101
|
+
tz.transition 2001, 10, :o1, 1004256000
|
102
|
+
tz.transition 2002, 4, :o2, 1018170000
|
103
|
+
tz.transition 2002, 10, :o1, 1035705600
|
104
|
+
tz.transition 2003, 4, :o2, 1049619600
|
105
|
+
tz.transition 2003, 10, :o1, 1067155200
|
106
|
+
tz.transition 2004, 4, :o2, 1081069200
|
107
|
+
tz.transition 2004, 10, :o1, 1099209600
|
108
|
+
tz.transition 2005, 4, :o2, 1112518800
|
109
|
+
tz.transition 2005, 10, :o1, 1130659200
|
110
|
+
tz.transition 2006, 4, :o2, 1143968400
|
111
|
+
tz.transition 2006, 10, :o1, 1162108800
|
112
|
+
tz.transition 2007, 3, :o2, 1173603600
|
113
|
+
tz.transition 2007, 11, :o1, 1194163200
|
114
|
+
tz.transition 2008, 3, :o2, 1205053200
|
115
|
+
tz.transition 2008, 11, :o1, 1225612800
|
116
|
+
tz.transition 2009, 3, :o2, 1236502800
|
117
|
+
tz.transition 2009, 11, :o1, 1257062400
|
118
|
+
tz.transition 2010, 3, :o2, 1268557200
|
119
|
+
tz.transition 2010, 11, :o1, 1289116800
|
120
|
+
tz.transition 2011, 3, :o2, 1300006800
|
121
|
+
tz.transition 2011, 11, :o1, 1320566400
|
122
|
+
tz.transition 2012, 3, :o2, 1331456400
|
123
|
+
tz.transition 2012, 11, :o1, 1352016000
|
124
|
+
tz.transition 2013, 3, :o2, 1362906000
|
125
|
+
tz.transition 2013, 11, :o1, 1383465600
|
126
|
+
tz.transition 2014, 3, :o2, 1394355600
|
127
|
+
tz.transition 2014, 11, :o1, 1414915200
|
128
|
+
tz.transition 2015, 3, :o2, 1425805200
|
129
|
+
tz.transition 2015, 11, :o1, 1446364800
|
130
|
+
tz.transition 2016, 3, :o2, 1457859600
|
131
|
+
tz.transition 2016, 11, :o1, 1478419200
|
132
|
+
tz.transition 2017, 3, :o2, 1489309200
|
133
|
+
tz.transition 2017, 11, :o1, 1509868800
|
134
|
+
tz.transition 2018, 3, :o2, 1520758800
|
135
|
+
tz.transition 2018, 11, :o1, 1541318400
|
136
|
+
tz.transition 2019, 3, :o2, 1552208400
|
137
|
+
tz.transition 2019, 11, :o1, 1572768000
|
138
|
+
tz.transition 2020, 3, :o2, 1583658000
|
139
|
+
tz.transition 2020, 11, :o1, 1604217600
|
140
|
+
tz.transition 2021, 3, :o2, 1615712400
|
141
|
+
tz.transition 2021, 11, :o1, 1636272000
|
142
|
+
tz.transition 2022, 3, :o2, 1647162000
|
143
|
+
tz.transition 2022, 11, :o1, 1667721600
|
144
|
+
tz.transition 2023, 3, :o2, 1678611600
|
145
|
+
tz.transition 2023, 11, :o1, 1699171200
|
146
|
+
tz.transition 2024, 3, :o2, 1710061200
|
147
|
+
tz.transition 2024, 11, :o1, 1730620800
|
148
|
+
tz.transition 2025, 3, :o2, 1741510800
|
149
|
+
tz.transition 2025, 11, :o1, 1762070400
|
150
|
+
tz.transition 2026, 3, :o2, 1772960400
|
151
|
+
tz.transition 2026, 11, :o1, 1793520000
|
152
|
+
tz.transition 2027, 3, :o2, 1805014800
|
153
|
+
tz.transition 2027, 11, :o1, 1825574400
|
154
|
+
tz.transition 2028, 3, :o2, 1836464400
|
155
|
+
tz.transition 2028, 11, :o1, 1857024000
|
156
|
+
tz.transition 2029, 3, :o2, 1867914000
|
157
|
+
tz.transition 2029, 11, :o1, 1888473600
|
158
|
+
tz.transition 2030, 3, :o2, 1899363600
|
159
|
+
tz.transition 2030, 11, :o1, 1919923200
|
160
|
+
tz.transition 2031, 3, :o2, 1930813200
|
161
|
+
tz.transition 2031, 11, :o1, 1951372800
|
162
|
+
tz.transition 2032, 3, :o2, 1962867600
|
163
|
+
tz.transition 2032, 11, :o1, 1983427200
|
164
|
+
tz.transition 2033, 3, :o2, 1994317200
|
165
|
+
tz.transition 2033, 11, :o1, 2014876800
|
166
|
+
tz.transition 2034, 3, :o2, 2025766800
|
167
|
+
tz.transition 2034, 11, :o1, 2046326400
|
168
|
+
tz.transition 2035, 3, :o2, 2057216400
|
169
|
+
tz.transition 2035, 11, :o1, 2077776000
|
170
|
+
tz.transition 2036, 3, :o2, 2088666000
|
171
|
+
tz.transition 2036, 11, :o1, 2109225600
|
172
|
+
tz.transition 2037, 3, :o2, 2120115600
|
173
|
+
tz.transition 2037, 11, :o1, 2140675200
|
174
|
+
tz.transition 2038, 3, :o2, 19723975, 8
|
175
|
+
tz.transition 2038, 11, :o1, 14794409, 6
|
176
|
+
tz.transition 2039, 3, :o2, 19726887, 8
|
177
|
+
tz.transition 2039, 11, :o1, 14796593, 6
|
178
|
+
tz.transition 2040, 3, :o2, 19729799, 8
|
179
|
+
tz.transition 2040, 11, :o1, 14798777, 6
|
180
|
+
tz.transition 2041, 3, :o2, 19732711, 8
|
181
|
+
tz.transition 2041, 11, :o1, 14800961, 6
|
182
|
+
tz.transition 2042, 3, :o2, 19735623, 8
|
183
|
+
tz.transition 2042, 11, :o1, 14803145, 6
|
184
|
+
tz.transition 2043, 3, :o2, 19738535, 8
|
185
|
+
tz.transition 2043, 11, :o1, 14805329, 6
|
186
|
+
tz.transition 2044, 3, :o2, 19741503, 8
|
187
|
+
tz.transition 2044, 11, :o1, 14807555, 6
|
188
|
+
tz.transition 2045, 3, :o2, 19744415, 8
|
189
|
+
tz.transition 2045, 11, :o1, 14809739, 6
|
190
|
+
tz.transition 2046, 3, :o2, 19747327, 8
|
191
|
+
tz.transition 2046, 11, :o1, 14811923, 6
|
192
|
+
tz.transition 2047, 3, :o2, 19750239, 8
|
193
|
+
tz.transition 2047, 11, :o1, 14814107, 6
|
194
|
+
tz.transition 2048, 3, :o2, 19753151, 8
|
195
|
+
tz.transition 2048, 11, :o1, 14816291, 6
|
196
|
+
tz.transition 2049, 3, :o2, 19756119, 8
|
197
|
+
tz.transition 2049, 11, :o1, 14818517, 6
|
198
|
+
tz.transition 2050, 3, :o2, 19759031, 8
|
199
|
+
tz.transition 2050, 11, :o1, 14820701, 6
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
@@ -0,0 +1,161 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module America
|
6
|
+
module Godthab
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'America/Godthab' do |tz|
|
10
|
+
tz.offset :o0, -12416, 0, :LMT
|
11
|
+
tz.offset :o1, -10800, 0, :WGT
|
12
|
+
tz.offset :o2, -10800, 3600, :WGST
|
13
|
+
|
14
|
+
tz.transition 1916, 7, :o1, 3268448069, 1350
|
15
|
+
tz.transition 1980, 4, :o2, 323845200
|
16
|
+
tz.transition 1980, 9, :o1, 338950800
|
17
|
+
tz.transition 1981, 3, :o2, 354675600
|
18
|
+
tz.transition 1981, 9, :o1, 370400400
|
19
|
+
tz.transition 1982, 3, :o2, 386125200
|
20
|
+
tz.transition 1982, 9, :o1, 401850000
|
21
|
+
tz.transition 1983, 3, :o2, 417574800
|
22
|
+
tz.transition 1983, 9, :o1, 433299600
|
23
|
+
tz.transition 1984, 3, :o2, 449024400
|
24
|
+
tz.transition 1984, 9, :o1, 465354000
|
25
|
+
tz.transition 1985, 3, :o2, 481078800
|
26
|
+
tz.transition 1985, 9, :o1, 496803600
|
27
|
+
tz.transition 1986, 3, :o2, 512528400
|
28
|
+
tz.transition 1986, 9, :o1, 528253200
|
29
|
+
tz.transition 1987, 3, :o2, 543978000
|
30
|
+
tz.transition 1987, 9, :o1, 559702800
|
31
|
+
tz.transition 1988, 3, :o2, 575427600
|
32
|
+
tz.transition 1988, 9, :o1, 591152400
|
33
|
+
tz.transition 1989, 3, :o2, 606877200
|
34
|
+
tz.transition 1989, 9, :o1, 622602000
|
35
|
+
tz.transition 1990, 3, :o2, 638326800
|
36
|
+
tz.transition 1990, 9, :o1, 654656400
|
37
|
+
tz.transition 1991, 3, :o2, 670381200
|
38
|
+
tz.transition 1991, 9, :o1, 686106000
|
39
|
+
tz.transition 1992, 3, :o2, 701830800
|
40
|
+
tz.transition 1992, 9, :o1, 717555600
|
41
|
+
tz.transition 1993, 3, :o2, 733280400
|
42
|
+
tz.transition 1993, 9, :o1, 749005200
|
43
|
+
tz.transition 1994, 3, :o2, 764730000
|
44
|
+
tz.transition 1994, 9, :o1, 780454800
|
45
|
+
tz.transition 1995, 3, :o2, 796179600
|
46
|
+
tz.transition 1995, 9, :o1, 811904400
|
47
|
+
tz.transition 1996, 3, :o2, 828234000
|
48
|
+
tz.transition 1996, 10, :o1, 846378000
|
49
|
+
tz.transition 1997, 3, :o2, 859683600
|
50
|
+
tz.transition 1997, 10, :o1, 877827600
|
51
|
+
tz.transition 1998, 3, :o2, 891133200
|
52
|
+
tz.transition 1998, 10, :o1, 909277200
|
53
|
+
tz.transition 1999, 3, :o2, 922582800
|
54
|
+
tz.transition 1999, 10, :o1, 941331600
|
55
|
+
tz.transition 2000, 3, :o2, 954032400
|
56
|
+
tz.transition 2000, 10, :o1, 972781200
|
57
|
+
tz.transition 2001, 3, :o2, 985482000
|
58
|
+
tz.transition 2001, 10, :o1, 1004230800
|
59
|
+
tz.transition 2002, 3, :o2, 1017536400
|
60
|
+
tz.transition 2002, 10, :o1, 1035680400
|
61
|
+
tz.transition 2003, 3, :o2, 1048986000
|
62
|
+
tz.transition 2003, 10, :o1, 1067130000
|
63
|
+
tz.transition 2004, 3, :o2, 1080435600
|
64
|
+
tz.transition 2004, 10, :o1, 1099184400
|
65
|
+
tz.transition 2005, 3, :o2, 1111885200
|
66
|
+
tz.transition 2005, 10, :o1, 1130634000
|
67
|
+
tz.transition 2006, 3, :o2, 1143334800
|
68
|
+
tz.transition 2006, 10, :o1, 1162083600
|
69
|
+
tz.transition 2007, 3, :o2, 1174784400
|
70
|
+
tz.transition 2007, 10, :o1, 1193533200
|
71
|
+
tz.transition 2008, 3, :o2, 1206838800
|
72
|
+
tz.transition 2008, 10, :o1, 1224982800
|
73
|
+
tz.transition 2009, 3, :o2, 1238288400
|
74
|
+
tz.transition 2009, 10, :o1, 1256432400
|
75
|
+
tz.transition 2010, 3, :o2, 1269738000
|
76
|
+
tz.transition 2010, 10, :o1, 1288486800
|
77
|
+
tz.transition 2011, 3, :o2, 1301187600
|
78
|
+
tz.transition 2011, 10, :o1, 1319936400
|
79
|
+
tz.transition 2012, 3, :o2, 1332637200
|
80
|
+
tz.transition 2012, 10, :o1, 1351386000
|
81
|
+
tz.transition 2013, 3, :o2, 1364691600
|
82
|
+
tz.transition 2013, 10, :o1, 1382835600
|
83
|
+
tz.transition 2014, 3, :o2, 1396141200
|
84
|
+
tz.transition 2014, 10, :o1, 1414285200
|
85
|
+
tz.transition 2015, 3, :o2, 1427590800
|
86
|
+
tz.transition 2015, 10, :o1, 1445734800
|
87
|
+
tz.transition 2016, 3, :o2, 1459040400
|
88
|
+
tz.transition 2016, 10, :o1, 1477789200
|
89
|
+
tz.transition 2017, 3, :o2, 1490490000
|
90
|
+
tz.transition 2017, 10, :o1, 1509238800
|
91
|
+
tz.transition 2018, 3, :o2, 1521939600
|
92
|
+
tz.transition 2018, 10, :o1, 1540688400
|
93
|
+
tz.transition 2019, 3, :o2, 1553994000
|
94
|
+
tz.transition 2019, 10, :o1, 1572138000
|
95
|
+
tz.transition 2020, 3, :o2, 1585443600
|
96
|
+
tz.transition 2020, 10, :o1, 1603587600
|
97
|
+
tz.transition 2021, 3, :o2, 1616893200
|
98
|
+
tz.transition 2021, 10, :o1, 1635642000
|
99
|
+
tz.transition 2022, 3, :o2, 1648342800
|
100
|
+
tz.transition 2022, 10, :o1, 1667091600
|
101
|
+
tz.transition 2023, 3, :o2, 1679792400
|
102
|
+
tz.transition 2023, 10, :o1, 1698541200
|
103
|
+
tz.transition 2024, 3, :o2, 1711846800
|
104
|
+
tz.transition 2024, 10, :o1, 1729990800
|
105
|
+
tz.transition 2025, 3, :o2, 1743296400
|
106
|
+
tz.transition 2025, 10, :o1, 1761440400
|
107
|
+
tz.transition 2026, 3, :o2, 1774746000
|
108
|
+
tz.transition 2026, 10, :o1, 1792890000
|
109
|
+
tz.transition 2027, 3, :o2, 1806195600
|
110
|
+
tz.transition 2027, 10, :o1, 1824944400
|
111
|
+
tz.transition 2028, 3, :o2, 1837645200
|
112
|
+
tz.transition 2028, 10, :o1, 1856394000
|
113
|
+
tz.transition 2029, 3, :o2, 1869094800
|
114
|
+
tz.transition 2029, 10, :o1, 1887843600
|
115
|
+
tz.transition 2030, 3, :o2, 1901149200
|
116
|
+
tz.transition 2030, 10, :o1, 1919293200
|
117
|
+
tz.transition 2031, 3, :o2, 1932598800
|
118
|
+
tz.transition 2031, 10, :o1, 1950742800
|
119
|
+
tz.transition 2032, 3, :o2, 1964048400
|
120
|
+
tz.transition 2032, 10, :o1, 1982797200
|
121
|
+
tz.transition 2033, 3, :o2, 1995498000
|
122
|
+
tz.transition 2033, 10, :o1, 2014246800
|
123
|
+
tz.transition 2034, 3, :o2, 2026947600
|
124
|
+
tz.transition 2034, 10, :o1, 2045696400
|
125
|
+
tz.transition 2035, 3, :o2, 2058397200
|
126
|
+
tz.transition 2035, 10, :o1, 2077146000
|
127
|
+
tz.transition 2036, 3, :o2, 2090451600
|
128
|
+
tz.transition 2036, 10, :o1, 2108595600
|
129
|
+
tz.transition 2037, 3, :o2, 2121901200
|
130
|
+
tz.transition 2037, 10, :o1, 2140045200
|
131
|
+
tz.transition 2038, 3, :o2, 59172253, 24
|
132
|
+
tz.transition 2038, 10, :o1, 59177461, 24
|
133
|
+
tz.transition 2039, 3, :o2, 59180989, 24
|
134
|
+
tz.transition 2039, 10, :o1, 59186197, 24
|
135
|
+
tz.transition 2040, 3, :o2, 59189725, 24
|
136
|
+
tz.transition 2040, 10, :o1, 59194933, 24
|
137
|
+
tz.transition 2041, 3, :o2, 59198629, 24
|
138
|
+
tz.transition 2041, 10, :o1, 59203669, 24
|
139
|
+
tz.transition 2042, 3, :o2, 59207365, 24
|
140
|
+
tz.transition 2042, 10, :o1, 59212405, 24
|
141
|
+
tz.transition 2043, 3, :o2, 59216101, 24
|
142
|
+
tz.transition 2043, 10, :o1, 59221141, 24
|
143
|
+
tz.transition 2044, 3, :o2, 59224837, 24
|
144
|
+
tz.transition 2044, 10, :o1, 59230045, 24
|
145
|
+
tz.transition 2045, 3, :o2, 59233573, 24
|
146
|
+
tz.transition 2045, 10, :o1, 59238781, 24
|
147
|
+
tz.transition 2046, 3, :o2, 59242309, 24
|
148
|
+
tz.transition 2046, 10, :o1, 59247517, 24
|
149
|
+
tz.transition 2047, 3, :o2, 59251213, 24
|
150
|
+
tz.transition 2047, 10, :o1, 59256253, 24
|
151
|
+
tz.transition 2048, 3, :o2, 59259949, 24
|
152
|
+
tz.transition 2048, 10, :o1, 59264989, 24
|
153
|
+
tz.transition 2049, 3, :o2, 59268685, 24
|
154
|
+
tz.transition 2049, 10, :o1, 59273893, 24
|
155
|
+
tz.transition 2050, 3, :o2, 59277421, 24
|
156
|
+
tz.transition 2050, 10, :o1, 59282629, 24
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|