time_constants 0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +2 -0
- data/README +22 -1
- data/Rakefile +17 -0
- data/lib/time_constants.rb +1208 -14
- data/time_constants.gemspec +3 -3
- metadata +5 -5
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG
CHANGED
data/README
CHANGED
@@ -7,7 +7,7 @@ Time constants, in seconds, so you don't have to use slow ActiveSupport helpers.
|
|
7
7
|
|
8
8
|
require 'time_constants'
|
9
9
|
|
10
|
-
You get constants from 0 to 100, except for days, which goes to 500.
|
10
|
+
You get toplevel constants from 0 to 100, except for days, which goes to 500.
|
11
11
|
|
12
12
|
T_1_SECOND
|
13
13
|
T_2_SECONDS
|
@@ -33,6 +33,27 @@ You get constants from 0 to 100, except for days, which goes to 500.
|
|
33
33
|
T_1_SOLAR_YEAR
|
34
34
|
T_2_SOLAR_YEARS
|
35
35
|
|
36
|
+
Note that you do not need to refer to <tt>Time::</tt>.
|
37
|
+
|
38
|
+
== Benchmark
|
39
|
+
|
40
|
+
require 'time_constants'
|
41
|
+
require 'active_support'
|
42
|
+
|
43
|
+
def benchmark(times = 100000, samples = 20)
|
44
|
+
times *= samples
|
45
|
+
cur = Time.now
|
46
|
+
result = times.times { yield }
|
47
|
+
print "#{cur = (Time.now - cur) / samples.to_f } seconds"
|
48
|
+
puts " (#{(cur / $last_benchmark * 100).to_i - 100}% change)" rescue puts ""
|
49
|
+
$last_benchmark = cur
|
50
|
+
result
|
51
|
+
end
|
52
|
+
|
53
|
+
> benchmark { T_6_MONTHS }
|
54
|
+
0.03336355 seconds
|
55
|
+
> benchmark { 6.months.to_i }
|
56
|
+
1.65868245 seconds (4871% change)
|
36
57
|
|
37
58
|
== License
|
38
59
|
|
data/Rakefile
CHANGED
@@ -6,3 +6,20 @@ Echoe.new("time_constants") do |p|
|
|
6
6
|
p.summary = "Time constants, in seconds, so you don't have to use slow ActiveSupport helpers."
|
7
7
|
end
|
8
8
|
|
9
|
+
def set_time_constant(number, unit, seconds)
|
10
|
+
File.open("lib/time_constants.rb", "a") do |f|
|
11
|
+
f.puts "T_#{number}_#{unit}#{number > 1 ? 'S' : ''} = #{seconds}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
task :generate do
|
16
|
+
File.unlink("lib/time_constants.rb")
|
17
|
+
101.times { |i| set_time_constant(i, "SECOND", i) }
|
18
|
+
101.times { |i| set_time_constant(i, "MINUTE", i * 60) }
|
19
|
+
101.times { |i| set_time_constant(i, "HOUR", i * 60 * 60) }
|
20
|
+
501.times { |i| set_time_constant(i, "DAY", i * 60 * 60 * 24) }
|
21
|
+
101.times { |i| set_time_constant(i, "WEEK", i * 60 * 60 * 24 * 7) }
|
22
|
+
101.times { |i| set_time_constant(i, "MONTH", i * 60 * 60 * 24 * 30) }
|
23
|
+
101.times { |i| set_time_constant(i, "YEAR", i * (60 * 60 * 24 * 365 + 60 * 60 * 6)) }
|
24
|
+
101.times { |i| set_time_constant(i, "SOLAR_YEAR", i * 31558150) }
|
25
|
+
end
|
data/lib/time_constants.rb
CHANGED
@@ -1,14 +1,1208 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
T_0_SECOND = 0
|
2
|
+
T_1_SECOND = 1
|
3
|
+
T_2_SECONDS = 2
|
4
|
+
T_3_SECONDS = 3
|
5
|
+
T_4_SECONDS = 4
|
6
|
+
T_5_SECONDS = 5
|
7
|
+
T_6_SECONDS = 6
|
8
|
+
T_7_SECONDS = 7
|
9
|
+
T_8_SECONDS = 8
|
10
|
+
T_9_SECONDS = 9
|
11
|
+
T_10_SECONDS = 10
|
12
|
+
T_11_SECONDS = 11
|
13
|
+
T_12_SECONDS = 12
|
14
|
+
T_13_SECONDS = 13
|
15
|
+
T_14_SECONDS = 14
|
16
|
+
T_15_SECONDS = 15
|
17
|
+
T_16_SECONDS = 16
|
18
|
+
T_17_SECONDS = 17
|
19
|
+
T_18_SECONDS = 18
|
20
|
+
T_19_SECONDS = 19
|
21
|
+
T_20_SECONDS = 20
|
22
|
+
T_21_SECONDS = 21
|
23
|
+
T_22_SECONDS = 22
|
24
|
+
T_23_SECONDS = 23
|
25
|
+
T_24_SECONDS = 24
|
26
|
+
T_25_SECONDS = 25
|
27
|
+
T_26_SECONDS = 26
|
28
|
+
T_27_SECONDS = 27
|
29
|
+
T_28_SECONDS = 28
|
30
|
+
T_29_SECONDS = 29
|
31
|
+
T_30_SECONDS = 30
|
32
|
+
T_31_SECONDS = 31
|
33
|
+
T_32_SECONDS = 32
|
34
|
+
T_33_SECONDS = 33
|
35
|
+
T_34_SECONDS = 34
|
36
|
+
T_35_SECONDS = 35
|
37
|
+
T_36_SECONDS = 36
|
38
|
+
T_37_SECONDS = 37
|
39
|
+
T_38_SECONDS = 38
|
40
|
+
T_39_SECONDS = 39
|
41
|
+
T_40_SECONDS = 40
|
42
|
+
T_41_SECONDS = 41
|
43
|
+
T_42_SECONDS = 42
|
44
|
+
T_43_SECONDS = 43
|
45
|
+
T_44_SECONDS = 44
|
46
|
+
T_45_SECONDS = 45
|
47
|
+
T_46_SECONDS = 46
|
48
|
+
T_47_SECONDS = 47
|
49
|
+
T_48_SECONDS = 48
|
50
|
+
T_49_SECONDS = 49
|
51
|
+
T_50_SECONDS = 50
|
52
|
+
T_51_SECONDS = 51
|
53
|
+
T_52_SECONDS = 52
|
54
|
+
T_53_SECONDS = 53
|
55
|
+
T_54_SECONDS = 54
|
56
|
+
T_55_SECONDS = 55
|
57
|
+
T_56_SECONDS = 56
|
58
|
+
T_57_SECONDS = 57
|
59
|
+
T_58_SECONDS = 58
|
60
|
+
T_59_SECONDS = 59
|
61
|
+
T_60_SECONDS = 60
|
62
|
+
T_61_SECONDS = 61
|
63
|
+
T_62_SECONDS = 62
|
64
|
+
T_63_SECONDS = 63
|
65
|
+
T_64_SECONDS = 64
|
66
|
+
T_65_SECONDS = 65
|
67
|
+
T_66_SECONDS = 66
|
68
|
+
T_67_SECONDS = 67
|
69
|
+
T_68_SECONDS = 68
|
70
|
+
T_69_SECONDS = 69
|
71
|
+
T_70_SECONDS = 70
|
72
|
+
T_71_SECONDS = 71
|
73
|
+
T_72_SECONDS = 72
|
74
|
+
T_73_SECONDS = 73
|
75
|
+
T_74_SECONDS = 74
|
76
|
+
T_75_SECONDS = 75
|
77
|
+
T_76_SECONDS = 76
|
78
|
+
T_77_SECONDS = 77
|
79
|
+
T_78_SECONDS = 78
|
80
|
+
T_79_SECONDS = 79
|
81
|
+
T_80_SECONDS = 80
|
82
|
+
T_81_SECONDS = 81
|
83
|
+
T_82_SECONDS = 82
|
84
|
+
T_83_SECONDS = 83
|
85
|
+
T_84_SECONDS = 84
|
86
|
+
T_85_SECONDS = 85
|
87
|
+
T_86_SECONDS = 86
|
88
|
+
T_87_SECONDS = 87
|
89
|
+
T_88_SECONDS = 88
|
90
|
+
T_89_SECONDS = 89
|
91
|
+
T_90_SECONDS = 90
|
92
|
+
T_91_SECONDS = 91
|
93
|
+
T_92_SECONDS = 92
|
94
|
+
T_93_SECONDS = 93
|
95
|
+
T_94_SECONDS = 94
|
96
|
+
T_95_SECONDS = 95
|
97
|
+
T_96_SECONDS = 96
|
98
|
+
T_97_SECONDS = 97
|
99
|
+
T_98_SECONDS = 98
|
100
|
+
T_99_SECONDS = 99
|
101
|
+
T_100_SECONDS = 100
|
102
|
+
T_0_MINUTE = 0
|
103
|
+
T_1_MINUTE = 60
|
104
|
+
T_2_MINUTES = 120
|
105
|
+
T_3_MINUTES = 180
|
106
|
+
T_4_MINUTES = 240
|
107
|
+
T_5_MINUTES = 300
|
108
|
+
T_6_MINUTES = 360
|
109
|
+
T_7_MINUTES = 420
|
110
|
+
T_8_MINUTES = 480
|
111
|
+
T_9_MINUTES = 540
|
112
|
+
T_10_MINUTES = 600
|
113
|
+
T_11_MINUTES = 660
|
114
|
+
T_12_MINUTES = 720
|
115
|
+
T_13_MINUTES = 780
|
116
|
+
T_14_MINUTES = 840
|
117
|
+
T_15_MINUTES = 900
|
118
|
+
T_16_MINUTES = 960
|
119
|
+
T_17_MINUTES = 1020
|
120
|
+
T_18_MINUTES = 1080
|
121
|
+
T_19_MINUTES = 1140
|
122
|
+
T_20_MINUTES = 1200
|
123
|
+
T_21_MINUTES = 1260
|
124
|
+
T_22_MINUTES = 1320
|
125
|
+
T_23_MINUTES = 1380
|
126
|
+
T_24_MINUTES = 1440
|
127
|
+
T_25_MINUTES = 1500
|
128
|
+
T_26_MINUTES = 1560
|
129
|
+
T_27_MINUTES = 1620
|
130
|
+
T_28_MINUTES = 1680
|
131
|
+
T_29_MINUTES = 1740
|
132
|
+
T_30_MINUTES = 1800
|
133
|
+
T_31_MINUTES = 1860
|
134
|
+
T_32_MINUTES = 1920
|
135
|
+
T_33_MINUTES = 1980
|
136
|
+
T_34_MINUTES = 2040
|
137
|
+
T_35_MINUTES = 2100
|
138
|
+
T_36_MINUTES = 2160
|
139
|
+
T_37_MINUTES = 2220
|
140
|
+
T_38_MINUTES = 2280
|
141
|
+
T_39_MINUTES = 2340
|
142
|
+
T_40_MINUTES = 2400
|
143
|
+
T_41_MINUTES = 2460
|
144
|
+
T_42_MINUTES = 2520
|
145
|
+
T_43_MINUTES = 2580
|
146
|
+
T_44_MINUTES = 2640
|
147
|
+
T_45_MINUTES = 2700
|
148
|
+
T_46_MINUTES = 2760
|
149
|
+
T_47_MINUTES = 2820
|
150
|
+
T_48_MINUTES = 2880
|
151
|
+
T_49_MINUTES = 2940
|
152
|
+
T_50_MINUTES = 3000
|
153
|
+
T_51_MINUTES = 3060
|
154
|
+
T_52_MINUTES = 3120
|
155
|
+
T_53_MINUTES = 3180
|
156
|
+
T_54_MINUTES = 3240
|
157
|
+
T_55_MINUTES = 3300
|
158
|
+
T_56_MINUTES = 3360
|
159
|
+
T_57_MINUTES = 3420
|
160
|
+
T_58_MINUTES = 3480
|
161
|
+
T_59_MINUTES = 3540
|
162
|
+
T_60_MINUTES = 3600
|
163
|
+
T_61_MINUTES = 3660
|
164
|
+
T_62_MINUTES = 3720
|
165
|
+
T_63_MINUTES = 3780
|
166
|
+
T_64_MINUTES = 3840
|
167
|
+
T_65_MINUTES = 3900
|
168
|
+
T_66_MINUTES = 3960
|
169
|
+
T_67_MINUTES = 4020
|
170
|
+
T_68_MINUTES = 4080
|
171
|
+
T_69_MINUTES = 4140
|
172
|
+
T_70_MINUTES = 4200
|
173
|
+
T_71_MINUTES = 4260
|
174
|
+
T_72_MINUTES = 4320
|
175
|
+
T_73_MINUTES = 4380
|
176
|
+
T_74_MINUTES = 4440
|
177
|
+
T_75_MINUTES = 4500
|
178
|
+
T_76_MINUTES = 4560
|
179
|
+
T_77_MINUTES = 4620
|
180
|
+
T_78_MINUTES = 4680
|
181
|
+
T_79_MINUTES = 4740
|
182
|
+
T_80_MINUTES = 4800
|
183
|
+
T_81_MINUTES = 4860
|
184
|
+
T_82_MINUTES = 4920
|
185
|
+
T_83_MINUTES = 4980
|
186
|
+
T_84_MINUTES = 5040
|
187
|
+
T_85_MINUTES = 5100
|
188
|
+
T_86_MINUTES = 5160
|
189
|
+
T_87_MINUTES = 5220
|
190
|
+
T_88_MINUTES = 5280
|
191
|
+
T_89_MINUTES = 5340
|
192
|
+
T_90_MINUTES = 5400
|
193
|
+
T_91_MINUTES = 5460
|
194
|
+
T_92_MINUTES = 5520
|
195
|
+
T_93_MINUTES = 5580
|
196
|
+
T_94_MINUTES = 5640
|
197
|
+
T_95_MINUTES = 5700
|
198
|
+
T_96_MINUTES = 5760
|
199
|
+
T_97_MINUTES = 5820
|
200
|
+
T_98_MINUTES = 5880
|
201
|
+
T_99_MINUTES = 5940
|
202
|
+
T_100_MINUTES = 6000
|
203
|
+
T_0_HOUR = 0
|
204
|
+
T_1_HOUR = 3600
|
205
|
+
T_2_HOURS = 7200
|
206
|
+
T_3_HOURS = 10800
|
207
|
+
T_4_HOURS = 14400
|
208
|
+
T_5_HOURS = 18000
|
209
|
+
T_6_HOURS = 21600
|
210
|
+
T_7_HOURS = 25200
|
211
|
+
T_8_HOURS = 28800
|
212
|
+
T_9_HOURS = 32400
|
213
|
+
T_10_HOURS = 36000
|
214
|
+
T_11_HOURS = 39600
|
215
|
+
T_12_HOURS = 43200
|
216
|
+
T_13_HOURS = 46800
|
217
|
+
T_14_HOURS = 50400
|
218
|
+
T_15_HOURS = 54000
|
219
|
+
T_16_HOURS = 57600
|
220
|
+
T_17_HOURS = 61200
|
221
|
+
T_18_HOURS = 64800
|
222
|
+
T_19_HOURS = 68400
|
223
|
+
T_20_HOURS = 72000
|
224
|
+
T_21_HOURS = 75600
|
225
|
+
T_22_HOURS = 79200
|
226
|
+
T_23_HOURS = 82800
|
227
|
+
T_24_HOURS = 86400
|
228
|
+
T_25_HOURS = 90000
|
229
|
+
T_26_HOURS = 93600
|
230
|
+
T_27_HOURS = 97200
|
231
|
+
T_28_HOURS = 100800
|
232
|
+
T_29_HOURS = 104400
|
233
|
+
T_30_HOURS = 108000
|
234
|
+
T_31_HOURS = 111600
|
235
|
+
T_32_HOURS = 115200
|
236
|
+
T_33_HOURS = 118800
|
237
|
+
T_34_HOURS = 122400
|
238
|
+
T_35_HOURS = 126000
|
239
|
+
T_36_HOURS = 129600
|
240
|
+
T_37_HOURS = 133200
|
241
|
+
T_38_HOURS = 136800
|
242
|
+
T_39_HOURS = 140400
|
243
|
+
T_40_HOURS = 144000
|
244
|
+
T_41_HOURS = 147600
|
245
|
+
T_42_HOURS = 151200
|
246
|
+
T_43_HOURS = 154800
|
247
|
+
T_44_HOURS = 158400
|
248
|
+
T_45_HOURS = 162000
|
249
|
+
T_46_HOURS = 165600
|
250
|
+
T_47_HOURS = 169200
|
251
|
+
T_48_HOURS = 172800
|
252
|
+
T_49_HOURS = 176400
|
253
|
+
T_50_HOURS = 180000
|
254
|
+
T_51_HOURS = 183600
|
255
|
+
T_52_HOURS = 187200
|
256
|
+
T_53_HOURS = 190800
|
257
|
+
T_54_HOURS = 194400
|
258
|
+
T_55_HOURS = 198000
|
259
|
+
T_56_HOURS = 201600
|
260
|
+
T_57_HOURS = 205200
|
261
|
+
T_58_HOURS = 208800
|
262
|
+
T_59_HOURS = 212400
|
263
|
+
T_60_HOURS = 216000
|
264
|
+
T_61_HOURS = 219600
|
265
|
+
T_62_HOURS = 223200
|
266
|
+
T_63_HOURS = 226800
|
267
|
+
T_64_HOURS = 230400
|
268
|
+
T_65_HOURS = 234000
|
269
|
+
T_66_HOURS = 237600
|
270
|
+
T_67_HOURS = 241200
|
271
|
+
T_68_HOURS = 244800
|
272
|
+
T_69_HOURS = 248400
|
273
|
+
T_70_HOURS = 252000
|
274
|
+
T_71_HOURS = 255600
|
275
|
+
T_72_HOURS = 259200
|
276
|
+
T_73_HOURS = 262800
|
277
|
+
T_74_HOURS = 266400
|
278
|
+
T_75_HOURS = 270000
|
279
|
+
T_76_HOURS = 273600
|
280
|
+
T_77_HOURS = 277200
|
281
|
+
T_78_HOURS = 280800
|
282
|
+
T_79_HOURS = 284400
|
283
|
+
T_80_HOURS = 288000
|
284
|
+
T_81_HOURS = 291600
|
285
|
+
T_82_HOURS = 295200
|
286
|
+
T_83_HOURS = 298800
|
287
|
+
T_84_HOURS = 302400
|
288
|
+
T_85_HOURS = 306000
|
289
|
+
T_86_HOURS = 309600
|
290
|
+
T_87_HOURS = 313200
|
291
|
+
T_88_HOURS = 316800
|
292
|
+
T_89_HOURS = 320400
|
293
|
+
T_90_HOURS = 324000
|
294
|
+
T_91_HOURS = 327600
|
295
|
+
T_92_HOURS = 331200
|
296
|
+
T_93_HOURS = 334800
|
297
|
+
T_94_HOURS = 338400
|
298
|
+
T_95_HOURS = 342000
|
299
|
+
T_96_HOURS = 345600
|
300
|
+
T_97_HOURS = 349200
|
301
|
+
T_98_HOURS = 352800
|
302
|
+
T_99_HOURS = 356400
|
303
|
+
T_100_HOURS = 360000
|
304
|
+
T_0_DAY = 0
|
305
|
+
T_1_DAY = 86400
|
306
|
+
T_2_DAYS = 172800
|
307
|
+
T_3_DAYS = 259200
|
308
|
+
T_4_DAYS = 345600
|
309
|
+
T_5_DAYS = 432000
|
310
|
+
T_6_DAYS = 518400
|
311
|
+
T_7_DAYS = 604800
|
312
|
+
T_8_DAYS = 691200
|
313
|
+
T_9_DAYS = 777600
|
314
|
+
T_10_DAYS = 864000
|
315
|
+
T_11_DAYS = 950400
|
316
|
+
T_12_DAYS = 1036800
|
317
|
+
T_13_DAYS = 1123200
|
318
|
+
T_14_DAYS = 1209600
|
319
|
+
T_15_DAYS = 1296000
|
320
|
+
T_16_DAYS = 1382400
|
321
|
+
T_17_DAYS = 1468800
|
322
|
+
T_18_DAYS = 1555200
|
323
|
+
T_19_DAYS = 1641600
|
324
|
+
T_20_DAYS = 1728000
|
325
|
+
T_21_DAYS = 1814400
|
326
|
+
T_22_DAYS = 1900800
|
327
|
+
T_23_DAYS = 1987200
|
328
|
+
T_24_DAYS = 2073600
|
329
|
+
T_25_DAYS = 2160000
|
330
|
+
T_26_DAYS = 2246400
|
331
|
+
T_27_DAYS = 2332800
|
332
|
+
T_28_DAYS = 2419200
|
333
|
+
T_29_DAYS = 2505600
|
334
|
+
T_30_DAYS = 2592000
|
335
|
+
T_31_DAYS = 2678400
|
336
|
+
T_32_DAYS = 2764800
|
337
|
+
T_33_DAYS = 2851200
|
338
|
+
T_34_DAYS = 2937600
|
339
|
+
T_35_DAYS = 3024000
|
340
|
+
T_36_DAYS = 3110400
|
341
|
+
T_37_DAYS = 3196800
|
342
|
+
T_38_DAYS = 3283200
|
343
|
+
T_39_DAYS = 3369600
|
344
|
+
T_40_DAYS = 3456000
|
345
|
+
T_41_DAYS = 3542400
|
346
|
+
T_42_DAYS = 3628800
|
347
|
+
T_43_DAYS = 3715200
|
348
|
+
T_44_DAYS = 3801600
|
349
|
+
T_45_DAYS = 3888000
|
350
|
+
T_46_DAYS = 3974400
|
351
|
+
T_47_DAYS = 4060800
|
352
|
+
T_48_DAYS = 4147200
|
353
|
+
T_49_DAYS = 4233600
|
354
|
+
T_50_DAYS = 4320000
|
355
|
+
T_51_DAYS = 4406400
|
356
|
+
T_52_DAYS = 4492800
|
357
|
+
T_53_DAYS = 4579200
|
358
|
+
T_54_DAYS = 4665600
|
359
|
+
T_55_DAYS = 4752000
|
360
|
+
T_56_DAYS = 4838400
|
361
|
+
T_57_DAYS = 4924800
|
362
|
+
T_58_DAYS = 5011200
|
363
|
+
T_59_DAYS = 5097600
|
364
|
+
T_60_DAYS = 5184000
|
365
|
+
T_61_DAYS = 5270400
|
366
|
+
T_62_DAYS = 5356800
|
367
|
+
T_63_DAYS = 5443200
|
368
|
+
T_64_DAYS = 5529600
|
369
|
+
T_65_DAYS = 5616000
|
370
|
+
T_66_DAYS = 5702400
|
371
|
+
T_67_DAYS = 5788800
|
372
|
+
T_68_DAYS = 5875200
|
373
|
+
T_69_DAYS = 5961600
|
374
|
+
T_70_DAYS = 6048000
|
375
|
+
T_71_DAYS = 6134400
|
376
|
+
T_72_DAYS = 6220800
|
377
|
+
T_73_DAYS = 6307200
|
378
|
+
T_74_DAYS = 6393600
|
379
|
+
T_75_DAYS = 6480000
|
380
|
+
T_76_DAYS = 6566400
|
381
|
+
T_77_DAYS = 6652800
|
382
|
+
T_78_DAYS = 6739200
|
383
|
+
T_79_DAYS = 6825600
|
384
|
+
T_80_DAYS = 6912000
|
385
|
+
T_81_DAYS = 6998400
|
386
|
+
T_82_DAYS = 7084800
|
387
|
+
T_83_DAYS = 7171200
|
388
|
+
T_84_DAYS = 7257600
|
389
|
+
T_85_DAYS = 7344000
|
390
|
+
T_86_DAYS = 7430400
|
391
|
+
T_87_DAYS = 7516800
|
392
|
+
T_88_DAYS = 7603200
|
393
|
+
T_89_DAYS = 7689600
|
394
|
+
T_90_DAYS = 7776000
|
395
|
+
T_91_DAYS = 7862400
|
396
|
+
T_92_DAYS = 7948800
|
397
|
+
T_93_DAYS = 8035200
|
398
|
+
T_94_DAYS = 8121600
|
399
|
+
T_95_DAYS = 8208000
|
400
|
+
T_96_DAYS = 8294400
|
401
|
+
T_97_DAYS = 8380800
|
402
|
+
T_98_DAYS = 8467200
|
403
|
+
T_99_DAYS = 8553600
|
404
|
+
T_100_DAYS = 8640000
|
405
|
+
T_101_DAYS = 8726400
|
406
|
+
T_102_DAYS = 8812800
|
407
|
+
T_103_DAYS = 8899200
|
408
|
+
T_104_DAYS = 8985600
|
409
|
+
T_105_DAYS = 9072000
|
410
|
+
T_106_DAYS = 9158400
|
411
|
+
T_107_DAYS = 9244800
|
412
|
+
T_108_DAYS = 9331200
|
413
|
+
T_109_DAYS = 9417600
|
414
|
+
T_110_DAYS = 9504000
|
415
|
+
T_111_DAYS = 9590400
|
416
|
+
T_112_DAYS = 9676800
|
417
|
+
T_113_DAYS = 9763200
|
418
|
+
T_114_DAYS = 9849600
|
419
|
+
T_115_DAYS = 9936000
|
420
|
+
T_116_DAYS = 10022400
|
421
|
+
T_117_DAYS = 10108800
|
422
|
+
T_118_DAYS = 10195200
|
423
|
+
T_119_DAYS = 10281600
|
424
|
+
T_120_DAYS = 10368000
|
425
|
+
T_121_DAYS = 10454400
|
426
|
+
T_122_DAYS = 10540800
|
427
|
+
T_123_DAYS = 10627200
|
428
|
+
T_124_DAYS = 10713600
|
429
|
+
T_125_DAYS = 10800000
|
430
|
+
T_126_DAYS = 10886400
|
431
|
+
T_127_DAYS = 10972800
|
432
|
+
T_128_DAYS = 11059200
|
433
|
+
T_129_DAYS = 11145600
|
434
|
+
T_130_DAYS = 11232000
|
435
|
+
T_131_DAYS = 11318400
|
436
|
+
T_132_DAYS = 11404800
|
437
|
+
T_133_DAYS = 11491200
|
438
|
+
T_134_DAYS = 11577600
|
439
|
+
T_135_DAYS = 11664000
|
440
|
+
T_136_DAYS = 11750400
|
441
|
+
T_137_DAYS = 11836800
|
442
|
+
T_138_DAYS = 11923200
|
443
|
+
T_139_DAYS = 12009600
|
444
|
+
T_140_DAYS = 12096000
|
445
|
+
T_141_DAYS = 12182400
|
446
|
+
T_142_DAYS = 12268800
|
447
|
+
T_143_DAYS = 12355200
|
448
|
+
T_144_DAYS = 12441600
|
449
|
+
T_145_DAYS = 12528000
|
450
|
+
T_146_DAYS = 12614400
|
451
|
+
T_147_DAYS = 12700800
|
452
|
+
T_148_DAYS = 12787200
|
453
|
+
T_149_DAYS = 12873600
|
454
|
+
T_150_DAYS = 12960000
|
455
|
+
T_151_DAYS = 13046400
|
456
|
+
T_152_DAYS = 13132800
|
457
|
+
T_153_DAYS = 13219200
|
458
|
+
T_154_DAYS = 13305600
|
459
|
+
T_155_DAYS = 13392000
|
460
|
+
T_156_DAYS = 13478400
|
461
|
+
T_157_DAYS = 13564800
|
462
|
+
T_158_DAYS = 13651200
|
463
|
+
T_159_DAYS = 13737600
|
464
|
+
T_160_DAYS = 13824000
|
465
|
+
T_161_DAYS = 13910400
|
466
|
+
T_162_DAYS = 13996800
|
467
|
+
T_163_DAYS = 14083200
|
468
|
+
T_164_DAYS = 14169600
|
469
|
+
T_165_DAYS = 14256000
|
470
|
+
T_166_DAYS = 14342400
|
471
|
+
T_167_DAYS = 14428800
|
472
|
+
T_168_DAYS = 14515200
|
473
|
+
T_169_DAYS = 14601600
|
474
|
+
T_170_DAYS = 14688000
|
475
|
+
T_171_DAYS = 14774400
|
476
|
+
T_172_DAYS = 14860800
|
477
|
+
T_173_DAYS = 14947200
|
478
|
+
T_174_DAYS = 15033600
|
479
|
+
T_175_DAYS = 15120000
|
480
|
+
T_176_DAYS = 15206400
|
481
|
+
T_177_DAYS = 15292800
|
482
|
+
T_178_DAYS = 15379200
|
483
|
+
T_179_DAYS = 15465600
|
484
|
+
T_180_DAYS = 15552000
|
485
|
+
T_181_DAYS = 15638400
|
486
|
+
T_182_DAYS = 15724800
|
487
|
+
T_183_DAYS = 15811200
|
488
|
+
T_184_DAYS = 15897600
|
489
|
+
T_185_DAYS = 15984000
|
490
|
+
T_186_DAYS = 16070400
|
491
|
+
T_187_DAYS = 16156800
|
492
|
+
T_188_DAYS = 16243200
|
493
|
+
T_189_DAYS = 16329600
|
494
|
+
T_190_DAYS = 16416000
|
495
|
+
T_191_DAYS = 16502400
|
496
|
+
T_192_DAYS = 16588800
|
497
|
+
T_193_DAYS = 16675200
|
498
|
+
T_194_DAYS = 16761600
|
499
|
+
T_195_DAYS = 16848000
|
500
|
+
T_196_DAYS = 16934400
|
501
|
+
T_197_DAYS = 17020800
|
502
|
+
T_198_DAYS = 17107200
|
503
|
+
T_199_DAYS = 17193600
|
504
|
+
T_200_DAYS = 17280000
|
505
|
+
T_201_DAYS = 17366400
|
506
|
+
T_202_DAYS = 17452800
|
507
|
+
T_203_DAYS = 17539200
|
508
|
+
T_204_DAYS = 17625600
|
509
|
+
T_205_DAYS = 17712000
|
510
|
+
T_206_DAYS = 17798400
|
511
|
+
T_207_DAYS = 17884800
|
512
|
+
T_208_DAYS = 17971200
|
513
|
+
T_209_DAYS = 18057600
|
514
|
+
T_210_DAYS = 18144000
|
515
|
+
T_211_DAYS = 18230400
|
516
|
+
T_212_DAYS = 18316800
|
517
|
+
T_213_DAYS = 18403200
|
518
|
+
T_214_DAYS = 18489600
|
519
|
+
T_215_DAYS = 18576000
|
520
|
+
T_216_DAYS = 18662400
|
521
|
+
T_217_DAYS = 18748800
|
522
|
+
T_218_DAYS = 18835200
|
523
|
+
T_219_DAYS = 18921600
|
524
|
+
T_220_DAYS = 19008000
|
525
|
+
T_221_DAYS = 19094400
|
526
|
+
T_222_DAYS = 19180800
|
527
|
+
T_223_DAYS = 19267200
|
528
|
+
T_224_DAYS = 19353600
|
529
|
+
T_225_DAYS = 19440000
|
530
|
+
T_226_DAYS = 19526400
|
531
|
+
T_227_DAYS = 19612800
|
532
|
+
T_228_DAYS = 19699200
|
533
|
+
T_229_DAYS = 19785600
|
534
|
+
T_230_DAYS = 19872000
|
535
|
+
T_231_DAYS = 19958400
|
536
|
+
T_232_DAYS = 20044800
|
537
|
+
T_233_DAYS = 20131200
|
538
|
+
T_234_DAYS = 20217600
|
539
|
+
T_235_DAYS = 20304000
|
540
|
+
T_236_DAYS = 20390400
|
541
|
+
T_237_DAYS = 20476800
|
542
|
+
T_238_DAYS = 20563200
|
543
|
+
T_239_DAYS = 20649600
|
544
|
+
T_240_DAYS = 20736000
|
545
|
+
T_241_DAYS = 20822400
|
546
|
+
T_242_DAYS = 20908800
|
547
|
+
T_243_DAYS = 20995200
|
548
|
+
T_244_DAYS = 21081600
|
549
|
+
T_245_DAYS = 21168000
|
550
|
+
T_246_DAYS = 21254400
|
551
|
+
T_247_DAYS = 21340800
|
552
|
+
T_248_DAYS = 21427200
|
553
|
+
T_249_DAYS = 21513600
|
554
|
+
T_250_DAYS = 21600000
|
555
|
+
T_251_DAYS = 21686400
|
556
|
+
T_252_DAYS = 21772800
|
557
|
+
T_253_DAYS = 21859200
|
558
|
+
T_254_DAYS = 21945600
|
559
|
+
T_255_DAYS = 22032000
|
560
|
+
T_256_DAYS = 22118400
|
561
|
+
T_257_DAYS = 22204800
|
562
|
+
T_258_DAYS = 22291200
|
563
|
+
T_259_DAYS = 22377600
|
564
|
+
T_260_DAYS = 22464000
|
565
|
+
T_261_DAYS = 22550400
|
566
|
+
T_262_DAYS = 22636800
|
567
|
+
T_263_DAYS = 22723200
|
568
|
+
T_264_DAYS = 22809600
|
569
|
+
T_265_DAYS = 22896000
|
570
|
+
T_266_DAYS = 22982400
|
571
|
+
T_267_DAYS = 23068800
|
572
|
+
T_268_DAYS = 23155200
|
573
|
+
T_269_DAYS = 23241600
|
574
|
+
T_270_DAYS = 23328000
|
575
|
+
T_271_DAYS = 23414400
|
576
|
+
T_272_DAYS = 23500800
|
577
|
+
T_273_DAYS = 23587200
|
578
|
+
T_274_DAYS = 23673600
|
579
|
+
T_275_DAYS = 23760000
|
580
|
+
T_276_DAYS = 23846400
|
581
|
+
T_277_DAYS = 23932800
|
582
|
+
T_278_DAYS = 24019200
|
583
|
+
T_279_DAYS = 24105600
|
584
|
+
T_280_DAYS = 24192000
|
585
|
+
T_281_DAYS = 24278400
|
586
|
+
T_282_DAYS = 24364800
|
587
|
+
T_283_DAYS = 24451200
|
588
|
+
T_284_DAYS = 24537600
|
589
|
+
T_285_DAYS = 24624000
|
590
|
+
T_286_DAYS = 24710400
|
591
|
+
T_287_DAYS = 24796800
|
592
|
+
T_288_DAYS = 24883200
|
593
|
+
T_289_DAYS = 24969600
|
594
|
+
T_290_DAYS = 25056000
|
595
|
+
T_291_DAYS = 25142400
|
596
|
+
T_292_DAYS = 25228800
|
597
|
+
T_293_DAYS = 25315200
|
598
|
+
T_294_DAYS = 25401600
|
599
|
+
T_295_DAYS = 25488000
|
600
|
+
T_296_DAYS = 25574400
|
601
|
+
T_297_DAYS = 25660800
|
602
|
+
T_298_DAYS = 25747200
|
603
|
+
T_299_DAYS = 25833600
|
604
|
+
T_300_DAYS = 25920000
|
605
|
+
T_301_DAYS = 26006400
|
606
|
+
T_302_DAYS = 26092800
|
607
|
+
T_303_DAYS = 26179200
|
608
|
+
T_304_DAYS = 26265600
|
609
|
+
T_305_DAYS = 26352000
|
610
|
+
T_306_DAYS = 26438400
|
611
|
+
T_307_DAYS = 26524800
|
612
|
+
T_308_DAYS = 26611200
|
613
|
+
T_309_DAYS = 26697600
|
614
|
+
T_310_DAYS = 26784000
|
615
|
+
T_311_DAYS = 26870400
|
616
|
+
T_312_DAYS = 26956800
|
617
|
+
T_313_DAYS = 27043200
|
618
|
+
T_314_DAYS = 27129600
|
619
|
+
T_315_DAYS = 27216000
|
620
|
+
T_316_DAYS = 27302400
|
621
|
+
T_317_DAYS = 27388800
|
622
|
+
T_318_DAYS = 27475200
|
623
|
+
T_319_DAYS = 27561600
|
624
|
+
T_320_DAYS = 27648000
|
625
|
+
T_321_DAYS = 27734400
|
626
|
+
T_322_DAYS = 27820800
|
627
|
+
T_323_DAYS = 27907200
|
628
|
+
T_324_DAYS = 27993600
|
629
|
+
T_325_DAYS = 28080000
|
630
|
+
T_326_DAYS = 28166400
|
631
|
+
T_327_DAYS = 28252800
|
632
|
+
T_328_DAYS = 28339200
|
633
|
+
T_329_DAYS = 28425600
|
634
|
+
T_330_DAYS = 28512000
|
635
|
+
T_331_DAYS = 28598400
|
636
|
+
T_332_DAYS = 28684800
|
637
|
+
T_333_DAYS = 28771200
|
638
|
+
T_334_DAYS = 28857600
|
639
|
+
T_335_DAYS = 28944000
|
640
|
+
T_336_DAYS = 29030400
|
641
|
+
T_337_DAYS = 29116800
|
642
|
+
T_338_DAYS = 29203200
|
643
|
+
T_339_DAYS = 29289600
|
644
|
+
T_340_DAYS = 29376000
|
645
|
+
T_341_DAYS = 29462400
|
646
|
+
T_342_DAYS = 29548800
|
647
|
+
T_343_DAYS = 29635200
|
648
|
+
T_344_DAYS = 29721600
|
649
|
+
T_345_DAYS = 29808000
|
650
|
+
T_346_DAYS = 29894400
|
651
|
+
T_347_DAYS = 29980800
|
652
|
+
T_348_DAYS = 30067200
|
653
|
+
T_349_DAYS = 30153600
|
654
|
+
T_350_DAYS = 30240000
|
655
|
+
T_351_DAYS = 30326400
|
656
|
+
T_352_DAYS = 30412800
|
657
|
+
T_353_DAYS = 30499200
|
658
|
+
T_354_DAYS = 30585600
|
659
|
+
T_355_DAYS = 30672000
|
660
|
+
T_356_DAYS = 30758400
|
661
|
+
T_357_DAYS = 30844800
|
662
|
+
T_358_DAYS = 30931200
|
663
|
+
T_359_DAYS = 31017600
|
664
|
+
T_360_DAYS = 31104000
|
665
|
+
T_361_DAYS = 31190400
|
666
|
+
T_362_DAYS = 31276800
|
667
|
+
T_363_DAYS = 31363200
|
668
|
+
T_364_DAYS = 31449600
|
669
|
+
T_365_DAYS = 31536000
|
670
|
+
T_366_DAYS = 31622400
|
671
|
+
T_367_DAYS = 31708800
|
672
|
+
T_368_DAYS = 31795200
|
673
|
+
T_369_DAYS = 31881600
|
674
|
+
T_370_DAYS = 31968000
|
675
|
+
T_371_DAYS = 32054400
|
676
|
+
T_372_DAYS = 32140800
|
677
|
+
T_373_DAYS = 32227200
|
678
|
+
T_374_DAYS = 32313600
|
679
|
+
T_375_DAYS = 32400000
|
680
|
+
T_376_DAYS = 32486400
|
681
|
+
T_377_DAYS = 32572800
|
682
|
+
T_378_DAYS = 32659200
|
683
|
+
T_379_DAYS = 32745600
|
684
|
+
T_380_DAYS = 32832000
|
685
|
+
T_381_DAYS = 32918400
|
686
|
+
T_382_DAYS = 33004800
|
687
|
+
T_383_DAYS = 33091200
|
688
|
+
T_384_DAYS = 33177600
|
689
|
+
T_385_DAYS = 33264000
|
690
|
+
T_386_DAYS = 33350400
|
691
|
+
T_387_DAYS = 33436800
|
692
|
+
T_388_DAYS = 33523200
|
693
|
+
T_389_DAYS = 33609600
|
694
|
+
T_390_DAYS = 33696000
|
695
|
+
T_391_DAYS = 33782400
|
696
|
+
T_392_DAYS = 33868800
|
697
|
+
T_393_DAYS = 33955200
|
698
|
+
T_394_DAYS = 34041600
|
699
|
+
T_395_DAYS = 34128000
|
700
|
+
T_396_DAYS = 34214400
|
701
|
+
T_397_DAYS = 34300800
|
702
|
+
T_398_DAYS = 34387200
|
703
|
+
T_399_DAYS = 34473600
|
704
|
+
T_400_DAYS = 34560000
|
705
|
+
T_401_DAYS = 34646400
|
706
|
+
T_402_DAYS = 34732800
|
707
|
+
T_403_DAYS = 34819200
|
708
|
+
T_404_DAYS = 34905600
|
709
|
+
T_405_DAYS = 34992000
|
710
|
+
T_406_DAYS = 35078400
|
711
|
+
T_407_DAYS = 35164800
|
712
|
+
T_408_DAYS = 35251200
|
713
|
+
T_409_DAYS = 35337600
|
714
|
+
T_410_DAYS = 35424000
|
715
|
+
T_411_DAYS = 35510400
|
716
|
+
T_412_DAYS = 35596800
|
717
|
+
T_413_DAYS = 35683200
|
718
|
+
T_414_DAYS = 35769600
|
719
|
+
T_415_DAYS = 35856000
|
720
|
+
T_416_DAYS = 35942400
|
721
|
+
T_417_DAYS = 36028800
|
722
|
+
T_418_DAYS = 36115200
|
723
|
+
T_419_DAYS = 36201600
|
724
|
+
T_420_DAYS = 36288000
|
725
|
+
T_421_DAYS = 36374400
|
726
|
+
T_422_DAYS = 36460800
|
727
|
+
T_423_DAYS = 36547200
|
728
|
+
T_424_DAYS = 36633600
|
729
|
+
T_425_DAYS = 36720000
|
730
|
+
T_426_DAYS = 36806400
|
731
|
+
T_427_DAYS = 36892800
|
732
|
+
T_428_DAYS = 36979200
|
733
|
+
T_429_DAYS = 37065600
|
734
|
+
T_430_DAYS = 37152000
|
735
|
+
T_431_DAYS = 37238400
|
736
|
+
T_432_DAYS = 37324800
|
737
|
+
T_433_DAYS = 37411200
|
738
|
+
T_434_DAYS = 37497600
|
739
|
+
T_435_DAYS = 37584000
|
740
|
+
T_436_DAYS = 37670400
|
741
|
+
T_437_DAYS = 37756800
|
742
|
+
T_438_DAYS = 37843200
|
743
|
+
T_439_DAYS = 37929600
|
744
|
+
T_440_DAYS = 38016000
|
745
|
+
T_441_DAYS = 38102400
|
746
|
+
T_442_DAYS = 38188800
|
747
|
+
T_443_DAYS = 38275200
|
748
|
+
T_444_DAYS = 38361600
|
749
|
+
T_445_DAYS = 38448000
|
750
|
+
T_446_DAYS = 38534400
|
751
|
+
T_447_DAYS = 38620800
|
752
|
+
T_448_DAYS = 38707200
|
753
|
+
T_449_DAYS = 38793600
|
754
|
+
T_450_DAYS = 38880000
|
755
|
+
T_451_DAYS = 38966400
|
756
|
+
T_452_DAYS = 39052800
|
757
|
+
T_453_DAYS = 39139200
|
758
|
+
T_454_DAYS = 39225600
|
759
|
+
T_455_DAYS = 39312000
|
760
|
+
T_456_DAYS = 39398400
|
761
|
+
T_457_DAYS = 39484800
|
762
|
+
T_458_DAYS = 39571200
|
763
|
+
T_459_DAYS = 39657600
|
764
|
+
T_460_DAYS = 39744000
|
765
|
+
T_461_DAYS = 39830400
|
766
|
+
T_462_DAYS = 39916800
|
767
|
+
T_463_DAYS = 40003200
|
768
|
+
T_464_DAYS = 40089600
|
769
|
+
T_465_DAYS = 40176000
|
770
|
+
T_466_DAYS = 40262400
|
771
|
+
T_467_DAYS = 40348800
|
772
|
+
T_468_DAYS = 40435200
|
773
|
+
T_469_DAYS = 40521600
|
774
|
+
T_470_DAYS = 40608000
|
775
|
+
T_471_DAYS = 40694400
|
776
|
+
T_472_DAYS = 40780800
|
777
|
+
T_473_DAYS = 40867200
|
778
|
+
T_474_DAYS = 40953600
|
779
|
+
T_475_DAYS = 41040000
|
780
|
+
T_476_DAYS = 41126400
|
781
|
+
T_477_DAYS = 41212800
|
782
|
+
T_478_DAYS = 41299200
|
783
|
+
T_479_DAYS = 41385600
|
784
|
+
T_480_DAYS = 41472000
|
785
|
+
T_481_DAYS = 41558400
|
786
|
+
T_482_DAYS = 41644800
|
787
|
+
T_483_DAYS = 41731200
|
788
|
+
T_484_DAYS = 41817600
|
789
|
+
T_485_DAYS = 41904000
|
790
|
+
T_486_DAYS = 41990400
|
791
|
+
T_487_DAYS = 42076800
|
792
|
+
T_488_DAYS = 42163200
|
793
|
+
T_489_DAYS = 42249600
|
794
|
+
T_490_DAYS = 42336000
|
795
|
+
T_491_DAYS = 42422400
|
796
|
+
T_492_DAYS = 42508800
|
797
|
+
T_493_DAYS = 42595200
|
798
|
+
T_494_DAYS = 42681600
|
799
|
+
T_495_DAYS = 42768000
|
800
|
+
T_496_DAYS = 42854400
|
801
|
+
T_497_DAYS = 42940800
|
802
|
+
T_498_DAYS = 43027200
|
803
|
+
T_499_DAYS = 43113600
|
804
|
+
T_500_DAYS = 43200000
|
805
|
+
T_0_WEEK = 0
|
806
|
+
T_1_WEEK = 604800
|
807
|
+
T_2_WEEKS = 1209600
|
808
|
+
T_3_WEEKS = 1814400
|
809
|
+
T_4_WEEKS = 2419200
|
810
|
+
T_5_WEEKS = 3024000
|
811
|
+
T_6_WEEKS = 3628800
|
812
|
+
T_7_WEEKS = 4233600
|
813
|
+
T_8_WEEKS = 4838400
|
814
|
+
T_9_WEEKS = 5443200
|
815
|
+
T_10_WEEKS = 6048000
|
816
|
+
T_11_WEEKS = 6652800
|
817
|
+
T_12_WEEKS = 7257600
|
818
|
+
T_13_WEEKS = 7862400
|
819
|
+
T_14_WEEKS = 8467200
|
820
|
+
T_15_WEEKS = 9072000
|
821
|
+
T_16_WEEKS = 9676800
|
822
|
+
T_17_WEEKS = 10281600
|
823
|
+
T_18_WEEKS = 10886400
|
824
|
+
T_19_WEEKS = 11491200
|
825
|
+
T_20_WEEKS = 12096000
|
826
|
+
T_21_WEEKS = 12700800
|
827
|
+
T_22_WEEKS = 13305600
|
828
|
+
T_23_WEEKS = 13910400
|
829
|
+
T_24_WEEKS = 14515200
|
830
|
+
T_25_WEEKS = 15120000
|
831
|
+
T_26_WEEKS = 15724800
|
832
|
+
T_27_WEEKS = 16329600
|
833
|
+
T_28_WEEKS = 16934400
|
834
|
+
T_29_WEEKS = 17539200
|
835
|
+
T_30_WEEKS = 18144000
|
836
|
+
T_31_WEEKS = 18748800
|
837
|
+
T_32_WEEKS = 19353600
|
838
|
+
T_33_WEEKS = 19958400
|
839
|
+
T_34_WEEKS = 20563200
|
840
|
+
T_35_WEEKS = 21168000
|
841
|
+
T_36_WEEKS = 21772800
|
842
|
+
T_37_WEEKS = 22377600
|
843
|
+
T_38_WEEKS = 22982400
|
844
|
+
T_39_WEEKS = 23587200
|
845
|
+
T_40_WEEKS = 24192000
|
846
|
+
T_41_WEEKS = 24796800
|
847
|
+
T_42_WEEKS = 25401600
|
848
|
+
T_43_WEEKS = 26006400
|
849
|
+
T_44_WEEKS = 26611200
|
850
|
+
T_45_WEEKS = 27216000
|
851
|
+
T_46_WEEKS = 27820800
|
852
|
+
T_47_WEEKS = 28425600
|
853
|
+
T_48_WEEKS = 29030400
|
854
|
+
T_49_WEEKS = 29635200
|
855
|
+
T_50_WEEKS = 30240000
|
856
|
+
T_51_WEEKS = 30844800
|
857
|
+
T_52_WEEKS = 31449600
|
858
|
+
T_53_WEEKS = 32054400
|
859
|
+
T_54_WEEKS = 32659200
|
860
|
+
T_55_WEEKS = 33264000
|
861
|
+
T_56_WEEKS = 33868800
|
862
|
+
T_57_WEEKS = 34473600
|
863
|
+
T_58_WEEKS = 35078400
|
864
|
+
T_59_WEEKS = 35683200
|
865
|
+
T_60_WEEKS = 36288000
|
866
|
+
T_61_WEEKS = 36892800
|
867
|
+
T_62_WEEKS = 37497600
|
868
|
+
T_63_WEEKS = 38102400
|
869
|
+
T_64_WEEKS = 38707200
|
870
|
+
T_65_WEEKS = 39312000
|
871
|
+
T_66_WEEKS = 39916800
|
872
|
+
T_67_WEEKS = 40521600
|
873
|
+
T_68_WEEKS = 41126400
|
874
|
+
T_69_WEEKS = 41731200
|
875
|
+
T_70_WEEKS = 42336000
|
876
|
+
T_71_WEEKS = 42940800
|
877
|
+
T_72_WEEKS = 43545600
|
878
|
+
T_73_WEEKS = 44150400
|
879
|
+
T_74_WEEKS = 44755200
|
880
|
+
T_75_WEEKS = 45360000
|
881
|
+
T_76_WEEKS = 45964800
|
882
|
+
T_77_WEEKS = 46569600
|
883
|
+
T_78_WEEKS = 47174400
|
884
|
+
T_79_WEEKS = 47779200
|
885
|
+
T_80_WEEKS = 48384000
|
886
|
+
T_81_WEEKS = 48988800
|
887
|
+
T_82_WEEKS = 49593600
|
888
|
+
T_83_WEEKS = 50198400
|
889
|
+
T_84_WEEKS = 50803200
|
890
|
+
T_85_WEEKS = 51408000
|
891
|
+
T_86_WEEKS = 52012800
|
892
|
+
T_87_WEEKS = 52617600
|
893
|
+
T_88_WEEKS = 53222400
|
894
|
+
T_89_WEEKS = 53827200
|
895
|
+
T_90_WEEKS = 54432000
|
896
|
+
T_91_WEEKS = 55036800
|
897
|
+
T_92_WEEKS = 55641600
|
898
|
+
T_93_WEEKS = 56246400
|
899
|
+
T_94_WEEKS = 56851200
|
900
|
+
T_95_WEEKS = 57456000
|
901
|
+
T_96_WEEKS = 58060800
|
902
|
+
T_97_WEEKS = 58665600
|
903
|
+
T_98_WEEKS = 59270400
|
904
|
+
T_99_WEEKS = 59875200
|
905
|
+
T_100_WEEKS = 60480000
|
906
|
+
T_0_MONTH = 0
|
907
|
+
T_1_MONTH = 2592000
|
908
|
+
T_2_MONTHS = 5184000
|
909
|
+
T_3_MONTHS = 7776000
|
910
|
+
T_4_MONTHS = 10368000
|
911
|
+
T_5_MONTHS = 12960000
|
912
|
+
T_6_MONTHS = 15552000
|
913
|
+
T_7_MONTHS = 18144000
|
914
|
+
T_8_MONTHS = 20736000
|
915
|
+
T_9_MONTHS = 23328000
|
916
|
+
T_10_MONTHS = 25920000
|
917
|
+
T_11_MONTHS = 28512000
|
918
|
+
T_12_MONTHS = 31104000
|
919
|
+
T_13_MONTHS = 33696000
|
920
|
+
T_14_MONTHS = 36288000
|
921
|
+
T_15_MONTHS = 38880000
|
922
|
+
T_16_MONTHS = 41472000
|
923
|
+
T_17_MONTHS = 44064000
|
924
|
+
T_18_MONTHS = 46656000
|
925
|
+
T_19_MONTHS = 49248000
|
926
|
+
T_20_MONTHS = 51840000
|
927
|
+
T_21_MONTHS = 54432000
|
928
|
+
T_22_MONTHS = 57024000
|
929
|
+
T_23_MONTHS = 59616000
|
930
|
+
T_24_MONTHS = 62208000
|
931
|
+
T_25_MONTHS = 64800000
|
932
|
+
T_26_MONTHS = 67392000
|
933
|
+
T_27_MONTHS = 69984000
|
934
|
+
T_28_MONTHS = 72576000
|
935
|
+
T_29_MONTHS = 75168000
|
936
|
+
T_30_MONTHS = 77760000
|
937
|
+
T_31_MONTHS = 80352000
|
938
|
+
T_32_MONTHS = 82944000
|
939
|
+
T_33_MONTHS = 85536000
|
940
|
+
T_34_MONTHS = 88128000
|
941
|
+
T_35_MONTHS = 90720000
|
942
|
+
T_36_MONTHS = 93312000
|
943
|
+
T_37_MONTHS = 95904000
|
944
|
+
T_38_MONTHS = 98496000
|
945
|
+
T_39_MONTHS = 101088000
|
946
|
+
T_40_MONTHS = 103680000
|
947
|
+
T_41_MONTHS = 106272000
|
948
|
+
T_42_MONTHS = 108864000
|
949
|
+
T_43_MONTHS = 111456000
|
950
|
+
T_44_MONTHS = 114048000
|
951
|
+
T_45_MONTHS = 116640000
|
952
|
+
T_46_MONTHS = 119232000
|
953
|
+
T_47_MONTHS = 121824000
|
954
|
+
T_48_MONTHS = 124416000
|
955
|
+
T_49_MONTHS = 127008000
|
956
|
+
T_50_MONTHS = 129600000
|
957
|
+
T_51_MONTHS = 132192000
|
958
|
+
T_52_MONTHS = 134784000
|
959
|
+
T_53_MONTHS = 137376000
|
960
|
+
T_54_MONTHS = 139968000
|
961
|
+
T_55_MONTHS = 142560000
|
962
|
+
T_56_MONTHS = 145152000
|
963
|
+
T_57_MONTHS = 147744000
|
964
|
+
T_58_MONTHS = 150336000
|
965
|
+
T_59_MONTHS = 152928000
|
966
|
+
T_60_MONTHS = 155520000
|
967
|
+
T_61_MONTHS = 158112000
|
968
|
+
T_62_MONTHS = 160704000
|
969
|
+
T_63_MONTHS = 163296000
|
970
|
+
T_64_MONTHS = 165888000
|
971
|
+
T_65_MONTHS = 168480000
|
972
|
+
T_66_MONTHS = 171072000
|
973
|
+
T_67_MONTHS = 173664000
|
974
|
+
T_68_MONTHS = 176256000
|
975
|
+
T_69_MONTHS = 178848000
|
976
|
+
T_70_MONTHS = 181440000
|
977
|
+
T_71_MONTHS = 184032000
|
978
|
+
T_72_MONTHS = 186624000
|
979
|
+
T_73_MONTHS = 189216000
|
980
|
+
T_74_MONTHS = 191808000
|
981
|
+
T_75_MONTHS = 194400000
|
982
|
+
T_76_MONTHS = 196992000
|
983
|
+
T_77_MONTHS = 199584000
|
984
|
+
T_78_MONTHS = 202176000
|
985
|
+
T_79_MONTHS = 204768000
|
986
|
+
T_80_MONTHS = 207360000
|
987
|
+
T_81_MONTHS = 209952000
|
988
|
+
T_82_MONTHS = 212544000
|
989
|
+
T_83_MONTHS = 215136000
|
990
|
+
T_84_MONTHS = 217728000
|
991
|
+
T_85_MONTHS = 220320000
|
992
|
+
T_86_MONTHS = 222912000
|
993
|
+
T_87_MONTHS = 225504000
|
994
|
+
T_88_MONTHS = 228096000
|
995
|
+
T_89_MONTHS = 230688000
|
996
|
+
T_90_MONTHS = 233280000
|
997
|
+
T_91_MONTHS = 235872000
|
998
|
+
T_92_MONTHS = 238464000
|
999
|
+
T_93_MONTHS = 241056000
|
1000
|
+
T_94_MONTHS = 243648000
|
1001
|
+
T_95_MONTHS = 246240000
|
1002
|
+
T_96_MONTHS = 248832000
|
1003
|
+
T_97_MONTHS = 251424000
|
1004
|
+
T_98_MONTHS = 254016000
|
1005
|
+
T_99_MONTHS = 256608000
|
1006
|
+
T_100_MONTHS = 259200000
|
1007
|
+
T_0_YEAR = 0
|
1008
|
+
T_1_YEAR = 31557600
|
1009
|
+
T_2_YEARS = 63115200
|
1010
|
+
T_3_YEARS = 94672800
|
1011
|
+
T_4_YEARS = 126230400
|
1012
|
+
T_5_YEARS = 157788000
|
1013
|
+
T_6_YEARS = 189345600
|
1014
|
+
T_7_YEARS = 220903200
|
1015
|
+
T_8_YEARS = 252460800
|
1016
|
+
T_9_YEARS = 284018400
|
1017
|
+
T_10_YEARS = 315576000
|
1018
|
+
T_11_YEARS = 347133600
|
1019
|
+
T_12_YEARS = 378691200
|
1020
|
+
T_13_YEARS = 410248800
|
1021
|
+
T_14_YEARS = 441806400
|
1022
|
+
T_15_YEARS = 473364000
|
1023
|
+
T_16_YEARS = 504921600
|
1024
|
+
T_17_YEARS = 536479200
|
1025
|
+
T_18_YEARS = 568036800
|
1026
|
+
T_19_YEARS = 599594400
|
1027
|
+
T_20_YEARS = 631152000
|
1028
|
+
T_21_YEARS = 662709600
|
1029
|
+
T_22_YEARS = 694267200
|
1030
|
+
T_23_YEARS = 725824800
|
1031
|
+
T_24_YEARS = 757382400
|
1032
|
+
T_25_YEARS = 788940000
|
1033
|
+
T_26_YEARS = 820497600
|
1034
|
+
T_27_YEARS = 852055200
|
1035
|
+
T_28_YEARS = 883612800
|
1036
|
+
T_29_YEARS = 915170400
|
1037
|
+
T_30_YEARS = 946728000
|
1038
|
+
T_31_YEARS = 978285600
|
1039
|
+
T_32_YEARS = 1009843200
|
1040
|
+
T_33_YEARS = 1041400800
|
1041
|
+
T_34_YEARS = 1072958400
|
1042
|
+
T_35_YEARS = 1104516000
|
1043
|
+
T_36_YEARS = 1136073600
|
1044
|
+
T_37_YEARS = 1167631200
|
1045
|
+
T_38_YEARS = 1199188800
|
1046
|
+
T_39_YEARS = 1230746400
|
1047
|
+
T_40_YEARS = 1262304000
|
1048
|
+
T_41_YEARS = 1293861600
|
1049
|
+
T_42_YEARS = 1325419200
|
1050
|
+
T_43_YEARS = 1356976800
|
1051
|
+
T_44_YEARS = 1388534400
|
1052
|
+
T_45_YEARS = 1420092000
|
1053
|
+
T_46_YEARS = 1451649600
|
1054
|
+
T_47_YEARS = 1483207200
|
1055
|
+
T_48_YEARS = 1514764800
|
1056
|
+
T_49_YEARS = 1546322400
|
1057
|
+
T_50_YEARS = 1577880000
|
1058
|
+
T_51_YEARS = 1609437600
|
1059
|
+
T_52_YEARS = 1640995200
|
1060
|
+
T_53_YEARS = 1672552800
|
1061
|
+
T_54_YEARS = 1704110400
|
1062
|
+
T_55_YEARS = 1735668000
|
1063
|
+
T_56_YEARS = 1767225600
|
1064
|
+
T_57_YEARS = 1798783200
|
1065
|
+
T_58_YEARS = 1830340800
|
1066
|
+
T_59_YEARS = 1861898400
|
1067
|
+
T_60_YEARS = 1893456000
|
1068
|
+
T_61_YEARS = 1925013600
|
1069
|
+
T_62_YEARS = 1956571200
|
1070
|
+
T_63_YEARS = 1988128800
|
1071
|
+
T_64_YEARS = 2019686400
|
1072
|
+
T_65_YEARS = 2051244000
|
1073
|
+
T_66_YEARS = 2082801600
|
1074
|
+
T_67_YEARS = 2114359200
|
1075
|
+
T_68_YEARS = 2145916800
|
1076
|
+
T_69_YEARS = 2177474400
|
1077
|
+
T_70_YEARS = 2209032000
|
1078
|
+
T_71_YEARS = 2240589600
|
1079
|
+
T_72_YEARS = 2272147200
|
1080
|
+
T_73_YEARS = 2303704800
|
1081
|
+
T_74_YEARS = 2335262400
|
1082
|
+
T_75_YEARS = 2366820000
|
1083
|
+
T_76_YEARS = 2398377600
|
1084
|
+
T_77_YEARS = 2429935200
|
1085
|
+
T_78_YEARS = 2461492800
|
1086
|
+
T_79_YEARS = 2493050400
|
1087
|
+
T_80_YEARS = 2524608000
|
1088
|
+
T_81_YEARS = 2556165600
|
1089
|
+
T_82_YEARS = 2587723200
|
1090
|
+
T_83_YEARS = 2619280800
|
1091
|
+
T_84_YEARS = 2650838400
|
1092
|
+
T_85_YEARS = 2682396000
|
1093
|
+
T_86_YEARS = 2713953600
|
1094
|
+
T_87_YEARS = 2745511200
|
1095
|
+
T_88_YEARS = 2777068800
|
1096
|
+
T_89_YEARS = 2808626400
|
1097
|
+
T_90_YEARS = 2840184000
|
1098
|
+
T_91_YEARS = 2871741600
|
1099
|
+
T_92_YEARS = 2903299200
|
1100
|
+
T_93_YEARS = 2934856800
|
1101
|
+
T_94_YEARS = 2966414400
|
1102
|
+
T_95_YEARS = 2997972000
|
1103
|
+
T_96_YEARS = 3029529600
|
1104
|
+
T_97_YEARS = 3061087200
|
1105
|
+
T_98_YEARS = 3092644800
|
1106
|
+
T_99_YEARS = 3124202400
|
1107
|
+
T_100_YEARS = 3155760000
|
1108
|
+
T_0_SOLAR_YEAR = 0
|
1109
|
+
T_1_SOLAR_YEAR = 31558150
|
1110
|
+
T_2_SOLAR_YEARS = 63116300
|
1111
|
+
T_3_SOLAR_YEARS = 94674450
|
1112
|
+
T_4_SOLAR_YEARS = 126232600
|
1113
|
+
T_5_SOLAR_YEARS = 157790750
|
1114
|
+
T_6_SOLAR_YEARS = 189348900
|
1115
|
+
T_7_SOLAR_YEARS = 220907050
|
1116
|
+
T_8_SOLAR_YEARS = 252465200
|
1117
|
+
T_9_SOLAR_YEARS = 284023350
|
1118
|
+
T_10_SOLAR_YEARS = 315581500
|
1119
|
+
T_11_SOLAR_YEARS = 347139650
|
1120
|
+
T_12_SOLAR_YEARS = 378697800
|
1121
|
+
T_13_SOLAR_YEARS = 410255950
|
1122
|
+
T_14_SOLAR_YEARS = 441814100
|
1123
|
+
T_15_SOLAR_YEARS = 473372250
|
1124
|
+
T_16_SOLAR_YEARS = 504930400
|
1125
|
+
T_17_SOLAR_YEARS = 536488550
|
1126
|
+
T_18_SOLAR_YEARS = 568046700
|
1127
|
+
T_19_SOLAR_YEARS = 599604850
|
1128
|
+
T_20_SOLAR_YEARS = 631163000
|
1129
|
+
T_21_SOLAR_YEARS = 662721150
|
1130
|
+
T_22_SOLAR_YEARS = 694279300
|
1131
|
+
T_23_SOLAR_YEARS = 725837450
|
1132
|
+
T_24_SOLAR_YEARS = 757395600
|
1133
|
+
T_25_SOLAR_YEARS = 788953750
|
1134
|
+
T_26_SOLAR_YEARS = 820511900
|
1135
|
+
T_27_SOLAR_YEARS = 852070050
|
1136
|
+
T_28_SOLAR_YEARS = 883628200
|
1137
|
+
T_29_SOLAR_YEARS = 915186350
|
1138
|
+
T_30_SOLAR_YEARS = 946744500
|
1139
|
+
T_31_SOLAR_YEARS = 978302650
|
1140
|
+
T_32_SOLAR_YEARS = 1009860800
|
1141
|
+
T_33_SOLAR_YEARS = 1041418950
|
1142
|
+
T_34_SOLAR_YEARS = 1072977100
|
1143
|
+
T_35_SOLAR_YEARS = 1104535250
|
1144
|
+
T_36_SOLAR_YEARS = 1136093400
|
1145
|
+
T_37_SOLAR_YEARS = 1167651550
|
1146
|
+
T_38_SOLAR_YEARS = 1199209700
|
1147
|
+
T_39_SOLAR_YEARS = 1230767850
|
1148
|
+
T_40_SOLAR_YEARS = 1262326000
|
1149
|
+
T_41_SOLAR_YEARS = 1293884150
|
1150
|
+
T_42_SOLAR_YEARS = 1325442300
|
1151
|
+
T_43_SOLAR_YEARS = 1357000450
|
1152
|
+
T_44_SOLAR_YEARS = 1388558600
|
1153
|
+
T_45_SOLAR_YEARS = 1420116750
|
1154
|
+
T_46_SOLAR_YEARS = 1451674900
|
1155
|
+
T_47_SOLAR_YEARS = 1483233050
|
1156
|
+
T_48_SOLAR_YEARS = 1514791200
|
1157
|
+
T_49_SOLAR_YEARS = 1546349350
|
1158
|
+
T_50_SOLAR_YEARS = 1577907500
|
1159
|
+
T_51_SOLAR_YEARS = 1609465650
|
1160
|
+
T_52_SOLAR_YEARS = 1641023800
|
1161
|
+
T_53_SOLAR_YEARS = 1672581950
|
1162
|
+
T_54_SOLAR_YEARS = 1704140100
|
1163
|
+
T_55_SOLAR_YEARS = 1735698250
|
1164
|
+
T_56_SOLAR_YEARS = 1767256400
|
1165
|
+
T_57_SOLAR_YEARS = 1798814550
|
1166
|
+
T_58_SOLAR_YEARS = 1830372700
|
1167
|
+
T_59_SOLAR_YEARS = 1861930850
|
1168
|
+
T_60_SOLAR_YEARS = 1893489000
|
1169
|
+
T_61_SOLAR_YEARS = 1925047150
|
1170
|
+
T_62_SOLAR_YEARS = 1956605300
|
1171
|
+
T_63_SOLAR_YEARS = 1988163450
|
1172
|
+
T_64_SOLAR_YEARS = 2019721600
|
1173
|
+
T_65_SOLAR_YEARS = 2051279750
|
1174
|
+
T_66_SOLAR_YEARS = 2082837900
|
1175
|
+
T_67_SOLAR_YEARS = 2114396050
|
1176
|
+
T_68_SOLAR_YEARS = 2145954200
|
1177
|
+
T_69_SOLAR_YEARS = 2177512350
|
1178
|
+
T_70_SOLAR_YEARS = 2209070500
|
1179
|
+
T_71_SOLAR_YEARS = 2240628650
|
1180
|
+
T_72_SOLAR_YEARS = 2272186800
|
1181
|
+
T_73_SOLAR_YEARS = 2303744950
|
1182
|
+
T_74_SOLAR_YEARS = 2335303100
|
1183
|
+
T_75_SOLAR_YEARS = 2366861250
|
1184
|
+
T_76_SOLAR_YEARS = 2398419400
|
1185
|
+
T_77_SOLAR_YEARS = 2429977550
|
1186
|
+
T_78_SOLAR_YEARS = 2461535700
|
1187
|
+
T_79_SOLAR_YEARS = 2493093850
|
1188
|
+
T_80_SOLAR_YEARS = 2524652000
|
1189
|
+
T_81_SOLAR_YEARS = 2556210150
|
1190
|
+
T_82_SOLAR_YEARS = 2587768300
|
1191
|
+
T_83_SOLAR_YEARS = 2619326450
|
1192
|
+
T_84_SOLAR_YEARS = 2650884600
|
1193
|
+
T_85_SOLAR_YEARS = 2682442750
|
1194
|
+
T_86_SOLAR_YEARS = 2714000900
|
1195
|
+
T_87_SOLAR_YEARS = 2745559050
|
1196
|
+
T_88_SOLAR_YEARS = 2777117200
|
1197
|
+
T_89_SOLAR_YEARS = 2808675350
|
1198
|
+
T_90_SOLAR_YEARS = 2840233500
|
1199
|
+
T_91_SOLAR_YEARS = 2871791650
|
1200
|
+
T_92_SOLAR_YEARS = 2903349800
|
1201
|
+
T_93_SOLAR_YEARS = 2934907950
|
1202
|
+
T_94_SOLAR_YEARS = 2966466100
|
1203
|
+
T_95_SOLAR_YEARS = 2998024250
|
1204
|
+
T_96_SOLAR_YEARS = 3029582400
|
1205
|
+
T_97_SOLAR_YEARS = 3061140550
|
1206
|
+
T_98_SOLAR_YEARS = 3092698700
|
1207
|
+
T_99_SOLAR_YEARS = 3124256850
|
1208
|
+
T_100_SOLAR_YEARS = 3155815000
|
data/time_constants.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{time_constants}
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Evan Weaver"]
|
9
9
|
s.cert_chain = ["/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem"]
|
10
|
-
s.date = %q{2011-
|
10
|
+
s.date = %q{2011-03-21}
|
11
11
|
s.description = %q{Time constants, in seconds, so you don't have to use slow ActiveSupport helpers.}
|
12
12
|
s.email = %q{}
|
13
13
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README", "lib/time_constants.rb"]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Time_constants", "--main", "README"]
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
s.rubyforge_project = %q{twitter}
|
19
|
-
s.rubygems_version = %q{1.
|
19
|
+
s.rubygems_version = %q{1.6.0}
|
20
20
|
s.signing_key = %q{/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-private_key.pem}
|
21
21
|
s.summary = %q{Time constants, in seconds, so you don't have to use slow ActiveSupport helpers.}
|
22
22
|
s.test_files = ["test/unit/time_constants_test.rb"]
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: time_constants
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 2
|
9
|
+
version: "0.2"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Evan Weaver
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
yZ0=
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2011-
|
38
|
+
date: 2011-03-21 00:00:00 -07:00
|
39
39
|
default_executable:
|
40
40
|
dependencies: []
|
41
41
|
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements: []
|
96
96
|
|
97
97
|
rubyforge_project: twitter
|
98
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.6.0
|
99
99
|
signing_key:
|
100
100
|
specification_version: 3
|
101
101
|
summary: Time constants, in seconds, so you don't have to use slow ActiveSupport helpers.
|
metadata.gz.sig
CHANGED
Binary file
|