timeboss 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +5 -4
- data/lib/timeboss/calendar.rb +0 -1
- data/lib/timeboss/calendar/day.rb +0 -1
- data/lib/timeboss/calendar/half.rb +0 -1
- data/lib/timeboss/calendar/month.rb +0 -1
- data/lib/timeboss/calendar/parser.rb +0 -1
- data/lib/timeboss/calendar/period.rb +0 -1
- data/lib/timeboss/calendar/quarter.rb +0 -1
- data/lib/timeboss/calendar/support/formatter.rb +2 -2
- data/lib/timeboss/calendar/support/month_basis.rb +0 -2
- data/lib/timeboss/calendar/support/monthly_unit.rb +0 -2
- data/lib/timeboss/calendar/support/navigable.rb +0 -1
- data/lib/timeboss/calendar/support/shiftable.rb +218 -29
- data/lib/timeboss/calendar/support/translatable.rb +92 -0
- data/lib/timeboss/calendar/support/unit.rb +2 -1
- data/lib/timeboss/calendar/waypoints.rb +0 -1
- data/lib/timeboss/calendar/waypoints/absolute.rb +0 -1
- data/lib/timeboss/calendar/waypoints/relative.rb +0 -1
- data/lib/timeboss/calendar/week.rb +0 -1
- data/lib/timeboss/calendar/year.rb +0 -1
- data/lib/timeboss/calendars.rb +0 -1
- data/lib/timeboss/version.rb +1 -1
- metadata +4 -49
- data/doc/TimeBoss.html +0 -146
- data/doc/TimeBoss/Calendar.html +0 -137
- data/doc/TimeBoss/Calendar/Day.html +0 -594
- data/doc/TimeBoss/Calendar/Half.html +0 -396
- data/doc/TimeBoss/Calendar/Month.html +0 -396
- data/doc/TimeBoss/Calendar/Parser.html +0 -386
- data/doc/TimeBoss/Calendar/Period.html +0 -841
- data/doc/TimeBoss/Calendar/Quarter.html +0 -396
- data/doc/TimeBoss/Calendar/Support.html +0 -131
- data/doc/TimeBoss/Calendar/Support/Formatter.html +0 -459
- data/doc/TimeBoss/Calendar/Support/MonthBased.html +0 -591
- data/doc/TimeBoss/Calendar/Support/MonthBasis.html +0 -437
- data/doc/TimeBoss/Calendar/Support/MonthlyUnit.html +0 -591
- data/doc/TimeBoss/Calendar/Support/Navigable.html +0 -723
- data/doc/TimeBoss/Calendar/Support/Shiftable.html +0 -138
- data/doc/TimeBoss/Calendar/Support/Unit.html +0 -1299
- data/doc/TimeBoss/Calendar/Waypoints.html +0 -155
- data/doc/TimeBoss/Calendar/Waypoints/Absolute.html +0 -1378
- data/doc/TimeBoss/Calendar/Waypoints/Relative.html +0 -4308
- data/doc/TimeBoss/Calendar/Week.html +0 -671
- data/doc/TimeBoss/Calendar/Year.html +0 -319
- data/doc/TimeBoss/Calendars.html +0 -336
- data/doc/TimeBoss/Calendars/Broadcast.html +0 -221
- data/doc/TimeBoss/Calendars/Broadcast/Basis.html +0 -278
- data/doc/TimeBoss/Calendars/Entry.html +0 -399
- data/doc/TimeBoss/Support.html +0 -115
- data/doc/TimeBoss/Support/Shellable.html +0 -249
- data/doc/_index.html +0 -416
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -496
- data/doc/file.README.html +0 -299
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -299
- data/doc/js/app.js +0 -314
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1139
- data/doc/top-level-namespace.html +0 -110
- data/lib/timeboss/calendar/support.rb +0 -8
@@ -1,4308 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Module: TimeBoss::Calendar::Waypoints::Relative
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.25
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
16
|
-
|
17
|
-
<script type="text/javascript">
|
18
|
-
pathId = "TimeBoss::Calendar::Waypoints::Relative";
|
19
|
-
relpath = '../../../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../../../_index.html">Index (R)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../../../TimeBoss.html" title="TimeBoss (module)">TimeBoss</a></span></span> » <span class='title'><span class='object_link'><a href="../../Calendar.html" title="TimeBoss::Calendar (class)">Calendar</a></span></span> » <span class='title'><span class='object_link'><a href="../Waypoints.html" title="TimeBoss::Calendar::Waypoints (module)">Waypoints</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Relative</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../../../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div id="content"><h1>Module: TimeBoss::Calendar::Waypoints::Relative
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
</h1>
|
67
|
-
<div class="box_info">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<dl>
|
78
|
-
<dt>Included in:</dt>
|
79
|
-
<dd><span class='object_link'><a href="../Waypoints.html" title="TimeBoss::Calendar::Waypoints (module)">TimeBoss::Calendar::Waypoints</a></span></dd>
|
80
|
-
</dl>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
<dl>
|
85
|
-
<dt>Defined in:</dt>
|
86
|
-
<dd>lib/timeboss/calendar/waypoints/relative.rb</dd>
|
87
|
-
</dl>
|
88
|
-
|
89
|
-
</div>
|
90
|
-
|
91
|
-
<h2>Overview</h2><div class="docstring">
|
92
|
-
<div class="discussion">
|
93
|
-
|
94
|
-
<p>Provides implementation for periods relative to today within a calendar.</p>
|
95
|
-
|
96
|
-
|
97
|
-
</div>
|
98
|
-
</div>
|
99
|
-
<div class="tags">
|
100
|
-
|
101
|
-
|
102
|
-
</div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<h2>
|
111
|
-
Instance Method Summary
|
112
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
113
|
-
</h2>
|
114
|
-
|
115
|
-
<ul class="summary">
|
116
|
-
|
117
|
-
<li class="public ">
|
118
|
-
<span class="summary_signature">
|
119
|
-
|
120
|
-
<a href="#days_ago-instance_method" title="#days_ago (instance method)">#<strong>days_ago</strong> ⇒ Calendar::Day </a>
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
</span>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
<span class="summary_desc"><div class='inline'>
|
135
|
-
<p>Get the day that occurred the specified number of days ago.</p>
|
136
|
-
</div></span>
|
137
|
-
|
138
|
-
</li>
|
139
|
-
|
140
|
-
|
141
|
-
<li class="public ">
|
142
|
-
<span class="summary_signature">
|
143
|
-
|
144
|
-
<a href="#days_ahead-instance_method" title="#days_ahead (instance method)">#<strong>days_ahead</strong> ⇒ Calendar::Day </a>
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
</span>
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
<span class="summary_desc"><div class='inline'>
|
159
|
-
<p>Get the day that occurred the specified number of days ahead.</p>
|
160
|
-
</div></span>
|
161
|
-
|
162
|
-
</li>
|
163
|
-
|
164
|
-
|
165
|
-
<li class="public ">
|
166
|
-
<span class="summary_signature">
|
167
|
-
|
168
|
-
<a href="#days_back-instance_method" title="#days_back (instance method)">#<strong>days_back</strong> ⇒ Array<Calendar::Day> </a>
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
</span>
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
<span class="summary_desc"><div class='inline'>
|
183
|
-
<p>Get a quantity of days back from today.</p>
|
184
|
-
</div></span>
|
185
|
-
|
186
|
-
</li>
|
187
|
-
|
188
|
-
|
189
|
-
<li class="public ">
|
190
|
-
<span class="summary_signature">
|
191
|
-
|
192
|
-
<a href="#days_for-instance_method" title="#days_for (instance method)">#<strong>days_for</strong> ⇒ Array<Calendar::Day> </a>
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
</span>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
<span class="summary_desc"><div class='inline'>
|
207
|
-
<p>Get a list of days within the specified period unit.</p>
|
208
|
-
</div></span>
|
209
|
-
|
210
|
-
</li>
|
211
|
-
|
212
|
-
|
213
|
-
<li class="public ">
|
214
|
-
<span class="summary_signature">
|
215
|
-
|
216
|
-
<a href="#days_forward-instance_method" title="#days_forward (instance method)">#<strong>days_forward</strong> ⇒ Array<Calendar::Day> </a>
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
</span>
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
<span class="summary_desc"><div class='inline'>
|
231
|
-
<p>Get a quantity of days forward from today.</p>
|
232
|
-
</div></span>
|
233
|
-
|
234
|
-
</li>
|
235
|
-
|
236
|
-
|
237
|
-
<li class="public ">
|
238
|
-
<span class="summary_signature">
|
239
|
-
|
240
|
-
<a href="#halves_ago-instance_method" title="#halves_ago (instance method)">#<strong>halves_ago</strong> ⇒ Calendar::Half </a>
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
</span>
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
<span class="summary_desc"><div class='inline'>
|
255
|
-
<p>Get the half that occurred the specified number of halves ago.</p>
|
256
|
-
</div></span>
|
257
|
-
|
258
|
-
</li>
|
259
|
-
|
260
|
-
|
261
|
-
<li class="public ">
|
262
|
-
<span class="summary_signature">
|
263
|
-
|
264
|
-
<a href="#halves_ahead-instance_method" title="#halves_ahead (instance method)">#<strong>halves_ahead</strong> ⇒ Calendar::Half </a>
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
</span>
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
<span class="summary_desc"><div class='inline'>
|
279
|
-
<p>Get the half that occurred the specified number of halves ahead.</p>
|
280
|
-
</div></span>
|
281
|
-
|
282
|
-
</li>
|
283
|
-
|
284
|
-
|
285
|
-
<li class="public ">
|
286
|
-
<span class="summary_signature">
|
287
|
-
|
288
|
-
<a href="#halves_back-instance_method" title="#halves_back (instance method)">#<strong>halves_back</strong> ⇒ Array<Calendar::Half> </a>
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
</span>
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
<span class="summary_desc"><div class='inline'>
|
303
|
-
<p>Get a quantity of halves back from this half.</p>
|
304
|
-
</div></span>
|
305
|
-
|
306
|
-
</li>
|
307
|
-
|
308
|
-
|
309
|
-
<li class="public ">
|
310
|
-
<span class="summary_signature">
|
311
|
-
|
312
|
-
<a href="#halves_for-instance_method" title="#halves_for (instance method)">#<strong>halves_for</strong> ⇒ Array<Calendar::Half> </a>
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
</span>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
<span class="summary_desc"><div class='inline'>
|
327
|
-
<p>Get a list of halves within the specified period unit.</p>
|
328
|
-
</div></span>
|
329
|
-
|
330
|
-
</li>
|
331
|
-
|
332
|
-
|
333
|
-
<li class="public ">
|
334
|
-
<span class="summary_signature">
|
335
|
-
|
336
|
-
<a href="#halves_forward-instance_method" title="#halves_forward (instance method)">#<strong>halves_forward</strong> ⇒ Array<Calendar::Half> </a>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
</span>
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
<span class="summary_desc"><div class='inline'>
|
351
|
-
<p>Get a quantity of halves forward from this half.</p>
|
352
|
-
</div></span>
|
353
|
-
|
354
|
-
</li>
|
355
|
-
|
356
|
-
|
357
|
-
<li class="public ">
|
358
|
-
<span class="summary_signature">
|
359
|
-
|
360
|
-
<a href="#last_day-instance_method" title="#last_day (instance method)">#<strong>last_day</strong> ⇒ Calendar::Day </a>
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
(also: #yesterday)
|
365
|
-
|
366
|
-
</span>
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
<span class="summary_desc"><div class='inline'>
|
377
|
-
<p>Get the previous day within the active calendar.</p>
|
378
|
-
</div></span>
|
379
|
-
|
380
|
-
</li>
|
381
|
-
|
382
|
-
|
383
|
-
<li class="public ">
|
384
|
-
<span class="summary_signature">
|
385
|
-
|
386
|
-
<a href="#last_half-instance_method" title="#last_half (instance method)">#<strong>last_half</strong> ⇒ Calendar::Half </a>
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
</span>
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
<span class="summary_desc"><div class='inline'>
|
401
|
-
<p>Get the previous half within the active calendar.</p>
|
402
|
-
</div></span>
|
403
|
-
|
404
|
-
</li>
|
405
|
-
|
406
|
-
|
407
|
-
<li class="public ">
|
408
|
-
<span class="summary_signature">
|
409
|
-
|
410
|
-
<a href="#last_month-instance_method" title="#last_month (instance method)">#<strong>last_month</strong> ⇒ Calendar::Month </a>
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
</span>
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
<span class="summary_desc"><div class='inline'>
|
425
|
-
<p>Get the previous month within the active calendar.</p>
|
426
|
-
</div></span>
|
427
|
-
|
428
|
-
</li>
|
429
|
-
|
430
|
-
|
431
|
-
<li class="public ">
|
432
|
-
<span class="summary_signature">
|
433
|
-
|
434
|
-
<a href="#last_quarter-instance_method" title="#last_quarter (instance method)">#<strong>last_quarter</strong> ⇒ Calendar::Quarter </a>
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
</span>
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
<span class="summary_desc"><div class='inline'>
|
449
|
-
<p>Get the previous quarter within the active calendar.</p>
|
450
|
-
</div></span>
|
451
|
-
|
452
|
-
</li>
|
453
|
-
|
454
|
-
|
455
|
-
<li class="public ">
|
456
|
-
<span class="summary_signature">
|
457
|
-
|
458
|
-
<a href="#last_week-instance_method" title="#last_week (instance method)">#<strong>last_week</strong> ⇒ Calendar::Week </a>
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
</span>
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
<span class="summary_desc"><div class='inline'>
|
473
|
-
<p>Get the previous week within the active calendar.</p>
|
474
|
-
</div></span>
|
475
|
-
|
476
|
-
</li>
|
477
|
-
|
478
|
-
|
479
|
-
<li class="public ">
|
480
|
-
<span class="summary_signature">
|
481
|
-
|
482
|
-
<a href="#last_year-instance_method" title="#last_year (instance method)">#<strong>last_year</strong> ⇒ Calendar::Year </a>
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
</span>
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
<span class="summary_desc"><div class='inline'>
|
497
|
-
<p>Get the previous year within the active calendar.</p>
|
498
|
-
</div></span>
|
499
|
-
|
500
|
-
</li>
|
501
|
-
|
502
|
-
|
503
|
-
<li class="public ">
|
504
|
-
<span class="summary_signature">
|
505
|
-
|
506
|
-
<a href="#months_ago-instance_method" title="#months_ago (instance method)">#<strong>months_ago</strong> ⇒ Calendar::Month </a>
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
</span>
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
<span class="summary_desc"><div class='inline'>
|
521
|
-
<p>Get the month that occurred the specified number of months ago.</p>
|
522
|
-
</div></span>
|
523
|
-
|
524
|
-
</li>
|
525
|
-
|
526
|
-
|
527
|
-
<li class="public ">
|
528
|
-
<span class="summary_signature">
|
529
|
-
|
530
|
-
<a href="#months_ahead-instance_method" title="#months_ahead (instance method)">#<strong>months_ahead</strong> ⇒ Calendar::Month </a>
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
</span>
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
<span class="summary_desc"><div class='inline'>
|
545
|
-
<p>Get the month that occurred the specified number of months ahead.</p>
|
546
|
-
</div></span>
|
547
|
-
|
548
|
-
</li>
|
549
|
-
|
550
|
-
|
551
|
-
<li class="public ">
|
552
|
-
<span class="summary_signature">
|
553
|
-
|
554
|
-
<a href="#months_back-instance_method" title="#months_back (instance method)">#<strong>months_back</strong> ⇒ Array<Calendar::Month> </a>
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
</span>
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
<span class="summary_desc"><div class='inline'>
|
569
|
-
<p>Get a quantity of months back from this month.</p>
|
570
|
-
</div></span>
|
571
|
-
|
572
|
-
</li>
|
573
|
-
|
574
|
-
|
575
|
-
<li class="public ">
|
576
|
-
<span class="summary_signature">
|
577
|
-
|
578
|
-
<a href="#months_for-instance_method" title="#months_for (instance method)">#<strong>months_for</strong> ⇒ Array<Calendar::Month> </a>
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
</span>
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
<span class="summary_desc"><div class='inline'>
|
593
|
-
<p>Get a list of months within the specified period unit.</p>
|
594
|
-
</div></span>
|
595
|
-
|
596
|
-
</li>
|
597
|
-
|
598
|
-
|
599
|
-
<li class="public ">
|
600
|
-
<span class="summary_signature">
|
601
|
-
|
602
|
-
<a href="#months_forward-instance_method" title="#months_forward (instance method)">#<strong>months_forward</strong> ⇒ Array<Calendar::Month> </a>
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
</span>
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
<span class="summary_desc"><div class='inline'>
|
617
|
-
<p>Get a quantity of months forward from this month.</p>
|
618
|
-
</div></span>
|
619
|
-
|
620
|
-
</li>
|
621
|
-
|
622
|
-
|
623
|
-
<li class="public ">
|
624
|
-
<span class="summary_signature">
|
625
|
-
|
626
|
-
<a href="#next_day-instance_method" title="#next_day (instance method)">#<strong>next_day</strong> ⇒ Calendar::Day </a>
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
(also: #tomorrow)
|
631
|
-
|
632
|
-
</span>
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
<span class="summary_desc"><div class='inline'>
|
643
|
-
<p>Get the next day within the active calendar.</p>
|
644
|
-
</div></span>
|
645
|
-
|
646
|
-
</li>
|
647
|
-
|
648
|
-
|
649
|
-
<li class="public ">
|
650
|
-
<span class="summary_signature">
|
651
|
-
|
652
|
-
<a href="#next_half-instance_method" title="#next_half (instance method)">#<strong>next_half</strong> ⇒ Calendar::Half </a>
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
</span>
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
<span class="summary_desc"><div class='inline'>
|
667
|
-
<p>Get the next half within the active calendar.</p>
|
668
|
-
</div></span>
|
669
|
-
|
670
|
-
</li>
|
671
|
-
|
672
|
-
|
673
|
-
<li class="public ">
|
674
|
-
<span class="summary_signature">
|
675
|
-
|
676
|
-
<a href="#next_month-instance_method" title="#next_month (instance method)">#<strong>next_month</strong> ⇒ Calendar::Month </a>
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
</span>
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
<span class="summary_desc"><div class='inline'>
|
691
|
-
<p>Get the next month within the active calendar.</p>
|
692
|
-
</div></span>
|
693
|
-
|
694
|
-
</li>
|
695
|
-
|
696
|
-
|
697
|
-
<li class="public ">
|
698
|
-
<span class="summary_signature">
|
699
|
-
|
700
|
-
<a href="#next_quarter-instance_method" title="#next_quarter (instance method)">#<strong>next_quarter</strong> ⇒ Calendar::Quarter </a>
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
</span>
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
<span class="summary_desc"><div class='inline'>
|
715
|
-
<p>Get the next quarter within the active calendar.</p>
|
716
|
-
</div></span>
|
717
|
-
|
718
|
-
</li>
|
719
|
-
|
720
|
-
|
721
|
-
<li class="public ">
|
722
|
-
<span class="summary_signature">
|
723
|
-
|
724
|
-
<a href="#next_week-instance_method" title="#next_week (instance method)">#<strong>next_week</strong> ⇒ Calendar::Week </a>
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
</span>
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
<span class="summary_desc"><div class='inline'>
|
739
|
-
<p>Get the next week within the active calendar.</p>
|
740
|
-
</div></span>
|
741
|
-
|
742
|
-
</li>
|
743
|
-
|
744
|
-
|
745
|
-
<li class="public ">
|
746
|
-
<span class="summary_signature">
|
747
|
-
|
748
|
-
<a href="#next_year-instance_method" title="#next_year (instance method)">#<strong>next_year</strong> ⇒ Calendar::Year </a>
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
</span>
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
<span class="summary_desc"><div class='inline'>
|
763
|
-
<p>Get the next year within the active calendar.</p>
|
764
|
-
</div></span>
|
765
|
-
|
766
|
-
</li>
|
767
|
-
|
768
|
-
|
769
|
-
<li class="public ">
|
770
|
-
<span class="summary_signature">
|
771
|
-
|
772
|
-
<a href="#quarters_ago-instance_method" title="#quarters_ago (instance method)">#<strong>quarters_ago</strong> ⇒ Calendar::Quarter </a>
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
</span>
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
<span class="summary_desc"><div class='inline'>
|
787
|
-
<p>Get the quarter that occurred the specified number of quarters ago.</p>
|
788
|
-
</div></span>
|
789
|
-
|
790
|
-
</li>
|
791
|
-
|
792
|
-
|
793
|
-
<li class="public ">
|
794
|
-
<span class="summary_signature">
|
795
|
-
|
796
|
-
<a href="#quarters_ahead-instance_method" title="#quarters_ahead (instance method)">#<strong>quarters_ahead</strong> ⇒ Calendar::Quarter </a>
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
</span>
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
<span class="summary_desc"><div class='inline'>
|
811
|
-
<p>Get the quarter that occurred the specified number of days ahead.</p>
|
812
|
-
</div></span>
|
813
|
-
|
814
|
-
</li>
|
815
|
-
|
816
|
-
|
817
|
-
<li class="public ">
|
818
|
-
<span class="summary_signature">
|
819
|
-
|
820
|
-
<a href="#quarters_back-instance_method" title="#quarters_back (instance method)">#<strong>quarters_back</strong> ⇒ Array<Calendar::Quarter> </a>
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
</span>
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
<span class="summary_desc"><div class='inline'>
|
835
|
-
<p>Get a quantity of quarters back from this quarter.</p>
|
836
|
-
</div></span>
|
837
|
-
|
838
|
-
</li>
|
839
|
-
|
840
|
-
|
841
|
-
<li class="public ">
|
842
|
-
<span class="summary_signature">
|
843
|
-
|
844
|
-
<a href="#quarters_for-instance_method" title="#quarters_for (instance method)">#<strong>quarters_for</strong> ⇒ Array<Calendar::Quarter> </a>
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
</span>
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
<span class="summary_desc"><div class='inline'>
|
859
|
-
<p>Get a list of quarters within the specified period unit.</p>
|
860
|
-
</div></span>
|
861
|
-
|
862
|
-
</li>
|
863
|
-
|
864
|
-
|
865
|
-
<li class="public ">
|
866
|
-
<span class="summary_signature">
|
867
|
-
|
868
|
-
<a href="#quarters_forward-instance_method" title="#quarters_forward (instance method)">#<strong>quarters_forward</strong> ⇒ Array<Calendar::Quarter> </a>
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
</span>
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
<span class="summary_desc"><div class='inline'>
|
883
|
-
<p>Get a quantity of quarters forward from this quarter.</p>
|
884
|
-
</div></span>
|
885
|
-
|
886
|
-
</li>
|
887
|
-
|
888
|
-
|
889
|
-
<li class="public ">
|
890
|
-
<span class="summary_signature">
|
891
|
-
|
892
|
-
<a href="#this_day-instance_method" title="#this_day (instance method)">#<strong>this_day</strong> ⇒ Calendar::Day </a>
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
(also: #today)
|
897
|
-
|
898
|
-
</span>
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
<span class="summary_desc"><div class='inline'>
|
909
|
-
<p>Get the current day within the active calendar.</p>
|
910
|
-
</div></span>
|
911
|
-
|
912
|
-
</li>
|
913
|
-
|
914
|
-
|
915
|
-
<li class="public ">
|
916
|
-
<span class="summary_signature">
|
917
|
-
|
918
|
-
<a href="#this_half-instance_method" title="#this_half (instance method)">#<strong>this_half</strong> ⇒ Calendar::Half </a>
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
</span>
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
<span class="summary_desc"><div class='inline'>
|
933
|
-
<p>Get the current half within the active calendar.</p>
|
934
|
-
</div></span>
|
935
|
-
|
936
|
-
</li>
|
937
|
-
|
938
|
-
|
939
|
-
<li class="public ">
|
940
|
-
<span class="summary_signature">
|
941
|
-
|
942
|
-
<a href="#this_month-instance_method" title="#this_month (instance method)">#<strong>this_month</strong> ⇒ Calendar::Month </a>
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
</span>
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
<span class="summary_desc"><div class='inline'>
|
957
|
-
<p>Get the current month within the active calendar.</p>
|
958
|
-
</div></span>
|
959
|
-
|
960
|
-
</li>
|
961
|
-
|
962
|
-
|
963
|
-
<li class="public ">
|
964
|
-
<span class="summary_signature">
|
965
|
-
|
966
|
-
<a href="#this_quarter-instance_method" title="#this_quarter (instance method)">#<strong>this_quarter</strong> ⇒ Calendar::Quarter </a>
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
</span>
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
<span class="summary_desc"><div class='inline'>
|
981
|
-
<p>Get the current quarter within the active calendar.</p>
|
982
|
-
</div></span>
|
983
|
-
|
984
|
-
</li>
|
985
|
-
|
986
|
-
|
987
|
-
<li class="public ">
|
988
|
-
<span class="summary_signature">
|
989
|
-
|
990
|
-
<a href="#this_week-instance_method" title="#this_week (instance method)">#<strong>this_week</strong> ⇒ Calendar::Week </a>
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
</span>
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
<span class="summary_desc"><div class='inline'>
|
1005
|
-
<p>Get the current week within the active calendar.</p>
|
1006
|
-
</div></span>
|
1007
|
-
|
1008
|
-
</li>
|
1009
|
-
|
1010
|
-
|
1011
|
-
<li class="public ">
|
1012
|
-
<span class="summary_signature">
|
1013
|
-
|
1014
|
-
<a href="#this_year-instance_method" title="#this_year (instance method)">#<strong>this_year</strong> ⇒ Calendar::Year </a>
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
</span>
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
<span class="summary_desc"><div class='inline'>
|
1029
|
-
<p>Get the current year within the active calendar.</p>
|
1030
|
-
</div></span>
|
1031
|
-
|
1032
|
-
</li>
|
1033
|
-
|
1034
|
-
|
1035
|
-
<li class="public ">
|
1036
|
-
<span class="summary_signature">
|
1037
|
-
|
1038
|
-
<a href="#weeks_ago-instance_method" title="#weeks_ago (instance method)">#<strong>weeks_ago</strong> ⇒ Calendar::Week </a>
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
</span>
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
<span class="summary_desc"><div class='inline'>
|
1053
|
-
<p>Get the week that occurred the specified number of weeks ago.</p>
|
1054
|
-
</div></span>
|
1055
|
-
|
1056
|
-
</li>
|
1057
|
-
|
1058
|
-
|
1059
|
-
<li class="public ">
|
1060
|
-
<span class="summary_signature">
|
1061
|
-
|
1062
|
-
<a href="#weeks_ahead-instance_method" title="#weeks_ahead (instance method)">#<strong>weeks_ahead</strong> ⇒ Calendar::Week </a>
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
</span>
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
<span class="summary_desc"><div class='inline'>
|
1077
|
-
<p>Get the week that occurred the specified number of weeks ahead.</p>
|
1078
|
-
</div></span>
|
1079
|
-
|
1080
|
-
</li>
|
1081
|
-
|
1082
|
-
|
1083
|
-
<li class="public ">
|
1084
|
-
<span class="summary_signature">
|
1085
|
-
|
1086
|
-
<a href="#weeks_back-instance_method" title="#weeks_back (instance method)">#<strong>weeks_back</strong> ⇒ Array<Calendar::Week> </a>
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
</span>
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
<span class="summary_desc"><div class='inline'>
|
1101
|
-
<p>Get a quantity of weeks back from this week.</p>
|
1102
|
-
</div></span>
|
1103
|
-
|
1104
|
-
</li>
|
1105
|
-
|
1106
|
-
|
1107
|
-
<li class="public ">
|
1108
|
-
<span class="summary_signature">
|
1109
|
-
|
1110
|
-
<a href="#weeks_for-instance_method" title="#weeks_for (instance method)">#<strong>weeks_for</strong> ⇒ Array<Calendar::Week> </a>
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
</span>
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
<span class="summary_desc"><div class='inline'>
|
1125
|
-
<p>Get a list of weeks within the specified period unit.</p>
|
1126
|
-
</div></span>
|
1127
|
-
|
1128
|
-
</li>
|
1129
|
-
|
1130
|
-
|
1131
|
-
<li class="public ">
|
1132
|
-
<span class="summary_signature">
|
1133
|
-
|
1134
|
-
<a href="#weeks_forward-instance_method" title="#weeks_forward (instance method)">#<strong>weeks_forward</strong> ⇒ Array<Calendar::Week> </a>
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
</span>
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
<span class="summary_desc"><div class='inline'>
|
1149
|
-
<p>Get a quantity of weeks forward from this week.</p>
|
1150
|
-
</div></span>
|
1151
|
-
|
1152
|
-
</li>
|
1153
|
-
|
1154
|
-
|
1155
|
-
<li class="public ">
|
1156
|
-
<span class="summary_signature">
|
1157
|
-
|
1158
|
-
<a href="#years_ago-instance_method" title="#years_ago (instance method)">#<strong>years_ago</strong> ⇒ Calendar::Year </a>
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
</span>
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
<span class="summary_desc"><div class='inline'>
|
1173
|
-
<p>Get the year that occurred the specified number of years ago.</p>
|
1174
|
-
</div></span>
|
1175
|
-
|
1176
|
-
</li>
|
1177
|
-
|
1178
|
-
|
1179
|
-
<li class="public ">
|
1180
|
-
<span class="summary_signature">
|
1181
|
-
|
1182
|
-
<a href="#years_ahead-instance_method" title="#years_ahead (instance method)">#<strong>years_ahead</strong> ⇒ Calendar::Year </a>
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
</span>
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
<span class="summary_desc"><div class='inline'>
|
1197
|
-
<p>Get the year that occurred the specified number of years ahead.</p>
|
1198
|
-
</div></span>
|
1199
|
-
|
1200
|
-
</li>
|
1201
|
-
|
1202
|
-
|
1203
|
-
<li class="public ">
|
1204
|
-
<span class="summary_signature">
|
1205
|
-
|
1206
|
-
<a href="#years_back-instance_method" title="#years_back (instance method)">#<strong>years_back</strong> ⇒ Array<Calendar::Year> </a>
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
</span>
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
<span class="summary_desc"><div class='inline'>
|
1221
|
-
<p>Get a quantity of years back from this year.</p>
|
1222
|
-
</div></span>
|
1223
|
-
|
1224
|
-
</li>
|
1225
|
-
|
1226
|
-
|
1227
|
-
<li class="public ">
|
1228
|
-
<span class="summary_signature">
|
1229
|
-
|
1230
|
-
<a href="#years_for-instance_method" title="#years_for (instance method)">#<strong>years_for</strong> ⇒ Array<Calendar::Year> </a>
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
</span>
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
<span class="summary_desc"><div class='inline'>
|
1245
|
-
<p>Get a list of years within the specified period unit.</p>
|
1246
|
-
</div></span>
|
1247
|
-
|
1248
|
-
</li>
|
1249
|
-
|
1250
|
-
|
1251
|
-
<li class="public ">
|
1252
|
-
<span class="summary_signature">
|
1253
|
-
|
1254
|
-
<a href="#years_forward-instance_method" title="#years_forward (instance method)">#<strong>years_forward</strong> ⇒ Array<Calendar::Year> </a>
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
</span>
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
<span class="summary_desc"><div class='inline'>
|
1269
|
-
<p>Get a quantity of years forward from this year.</p>
|
1270
|
-
</div></span>
|
1271
|
-
|
1272
|
-
</li>
|
1273
|
-
|
1274
|
-
|
1275
|
-
</ul>
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
<div id="instance_method_details" class="method_details_list">
|
1281
|
-
<h2>Instance Method Details</h2>
|
1282
|
-
|
1283
|
-
|
1284
|
-
<div class="method_details first">
|
1285
|
-
<h3 class="signature first" id="days_ago-instance_method">
|
1286
|
-
|
1287
|
-
#<strong>days_ago</strong> ⇒ <tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
</h3><div class="docstring">
|
1294
|
-
<div class="discussion">
|
1295
|
-
|
1296
|
-
<p>Get the day that occurred the specified number of days ago.</p>
|
1297
|
-
|
1298
|
-
|
1299
|
-
</div>
|
1300
|
-
</div>
|
1301
|
-
<div class="tags">
|
1302
|
-
<p class="tag_title">Parameters:</p>
|
1303
|
-
<ul class="param">
|
1304
|
-
|
1305
|
-
<li>
|
1306
|
-
|
1307
|
-
<span class='name'>quantity</span>
|
1308
|
-
|
1309
|
-
|
1310
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
—
|
1315
|
-
<div class='inline'>
|
1316
|
-
<p>the number of days before today</p>
|
1317
|
-
</div>
|
1318
|
-
|
1319
|
-
</li>
|
1320
|
-
|
1321
|
-
</ul>
|
1322
|
-
|
1323
|
-
<p class="tag_title">Returns:</p>
|
1324
|
-
<ul class="return">
|
1325
|
-
|
1326
|
-
<li>
|
1327
|
-
|
1328
|
-
|
1329
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>)</span>
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
</li>
|
1334
|
-
|
1335
|
-
</ul>
|
1336
|
-
|
1337
|
-
</div><table class="source_code">
|
1338
|
-
<tr>
|
1339
|
-
<td>
|
1340
|
-
<pre class="lines">
|
1341
|
-
|
1342
|
-
|
1343
|
-
</pre>
|
1344
|
-
</td>
|
1345
|
-
<td>
|
1346
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 56</span>
|
1347
|
-
|
1348
|
-
</pre>
|
1349
|
-
</td>
|
1350
|
-
</tr>
|
1351
|
-
</table>
|
1352
|
-
</div>
|
1353
|
-
|
1354
|
-
<div class="method_details ">
|
1355
|
-
<h3 class="signature " id="days_ahead-instance_method">
|
1356
|
-
|
1357
|
-
#<strong>days_ahead</strong> ⇒ <tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
</h3><div class="docstring">
|
1364
|
-
<div class="discussion">
|
1365
|
-
|
1366
|
-
<p>Get the day that occurred the specified number of days ahead.</p>
|
1367
|
-
|
1368
|
-
|
1369
|
-
</div>
|
1370
|
-
</div>
|
1371
|
-
<div class="tags">
|
1372
|
-
<p class="tag_title">Parameters:</p>
|
1373
|
-
<ul class="param">
|
1374
|
-
|
1375
|
-
<li>
|
1376
|
-
|
1377
|
-
<span class='name'>quantity</span>
|
1378
|
-
|
1379
|
-
|
1380
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
—
|
1385
|
-
<div class='inline'>
|
1386
|
-
<p>the number of days after today</p>
|
1387
|
-
</div>
|
1388
|
-
|
1389
|
-
</li>
|
1390
|
-
|
1391
|
-
</ul>
|
1392
|
-
|
1393
|
-
<p class="tag_title">Returns:</p>
|
1394
|
-
<ul class="return">
|
1395
|
-
|
1396
|
-
<li>
|
1397
|
-
|
1398
|
-
|
1399
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>)</span>
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
</li>
|
1404
|
-
|
1405
|
-
</ul>
|
1406
|
-
|
1407
|
-
</div><table class="source_code">
|
1408
|
-
<tr>
|
1409
|
-
<td>
|
1410
|
-
<pre class="lines">
|
1411
|
-
|
1412
|
-
|
1413
|
-
</pre>
|
1414
|
-
</td>
|
1415
|
-
<td>
|
1416
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 66</span>
|
1417
|
-
|
1418
|
-
</pre>
|
1419
|
-
</td>
|
1420
|
-
</tr>
|
1421
|
-
</table>
|
1422
|
-
</div>
|
1423
|
-
|
1424
|
-
<div class="method_details ">
|
1425
|
-
<h3 class="signature " id="days_back-instance_method">
|
1426
|
-
|
1427
|
-
#<strong>days_back</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span>></tt>
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
</h3><div class="docstring">
|
1434
|
-
<div class="discussion">
|
1435
|
-
|
1436
|
-
<p>Get a quantity of days back from today.</p>
|
1437
|
-
|
1438
|
-
|
1439
|
-
</div>
|
1440
|
-
</div>
|
1441
|
-
<div class="tags">
|
1442
|
-
<p class="tag_title">Parameters:</p>
|
1443
|
-
<ul class="param">
|
1444
|
-
|
1445
|
-
<li>
|
1446
|
-
|
1447
|
-
<span class='name'>quantity</span>
|
1448
|
-
|
1449
|
-
|
1450
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
—
|
1455
|
-
<div class='inline'>
|
1456
|
-
<p>the number of days requested</p>
|
1457
|
-
</div>
|
1458
|
-
|
1459
|
-
</li>
|
1460
|
-
|
1461
|
-
</ul>
|
1462
|
-
|
1463
|
-
<p class="tag_title">Returns:</p>
|
1464
|
-
<ul class="return">
|
1465
|
-
|
1466
|
-
<li>
|
1467
|
-
|
1468
|
-
|
1469
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span>></tt>)</span>
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
</li>
|
1474
|
-
|
1475
|
-
</ul>
|
1476
|
-
|
1477
|
-
</div><table class="source_code">
|
1478
|
-
<tr>
|
1479
|
-
<td>
|
1480
|
-
<pre class="lines">
|
1481
|
-
|
1482
|
-
|
1483
|
-
</pre>
|
1484
|
-
</td>
|
1485
|
-
<td>
|
1486
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 51</span>
|
1487
|
-
|
1488
|
-
</pre>
|
1489
|
-
</td>
|
1490
|
-
</tr>
|
1491
|
-
</table>
|
1492
|
-
</div>
|
1493
|
-
|
1494
|
-
<div class="method_details ">
|
1495
|
-
<h3 class="signature " id="days_for-instance_method">
|
1496
|
-
|
1497
|
-
#<strong>days_for</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span>></tt>
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
</h3><div class="docstring">
|
1504
|
-
<div class="discussion">
|
1505
|
-
|
1506
|
-
<p>Get a list of days within the specified period unit.</p>
|
1507
|
-
|
1508
|
-
|
1509
|
-
</div>
|
1510
|
-
</div>
|
1511
|
-
<div class="tags">
|
1512
|
-
<p class="tag_title">Parameters:</p>
|
1513
|
-
<ul class="param">
|
1514
|
-
|
1515
|
-
<li>
|
1516
|
-
|
1517
|
-
<span class='name'>period</span>
|
1518
|
-
|
1519
|
-
|
1520
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Support/Unit.html" title="TimeBoss::Calendar::Support::Unit (class)">Calendar::Support::Unit</a></span></tt>)</span>
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
—
|
1525
|
-
<div class='inline'>
|
1526
|
-
<p>the containing period unit</p>
|
1527
|
-
</div>
|
1528
|
-
|
1529
|
-
</li>
|
1530
|
-
|
1531
|
-
</ul>
|
1532
|
-
|
1533
|
-
<p class="tag_title">Returns:</p>
|
1534
|
-
<ul class="return">
|
1535
|
-
|
1536
|
-
<li>
|
1537
|
-
|
1538
|
-
|
1539
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span>></tt>)</span>
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
</li>
|
1544
|
-
|
1545
|
-
</ul>
|
1546
|
-
|
1547
|
-
</div><table class="source_code">
|
1548
|
-
<tr>
|
1549
|
-
<td>
|
1550
|
-
<pre class="lines">
|
1551
|
-
|
1552
|
-
|
1553
|
-
</pre>
|
1554
|
-
</td>
|
1555
|
-
<td>
|
1556
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 46</span>
|
1557
|
-
|
1558
|
-
</pre>
|
1559
|
-
</td>
|
1560
|
-
</tr>
|
1561
|
-
</table>
|
1562
|
-
</div>
|
1563
|
-
|
1564
|
-
<div class="method_details ">
|
1565
|
-
<h3 class="signature " id="days_forward-instance_method">
|
1566
|
-
|
1567
|
-
#<strong>days_forward</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span>></tt>
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
</h3><div class="docstring">
|
1574
|
-
<div class="discussion">
|
1575
|
-
|
1576
|
-
<p>Get a quantity of days forward from today.</p>
|
1577
|
-
|
1578
|
-
|
1579
|
-
</div>
|
1580
|
-
</div>
|
1581
|
-
<div class="tags">
|
1582
|
-
<p class="tag_title">Parameters:</p>
|
1583
|
-
<ul class="param">
|
1584
|
-
|
1585
|
-
<li>
|
1586
|
-
|
1587
|
-
<span class='name'>quantity</span>
|
1588
|
-
|
1589
|
-
|
1590
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
—
|
1595
|
-
<div class='inline'>
|
1596
|
-
<p>the number of days requested</p>
|
1597
|
-
</div>
|
1598
|
-
|
1599
|
-
</li>
|
1600
|
-
|
1601
|
-
</ul>
|
1602
|
-
|
1603
|
-
<p class="tag_title">Returns:</p>
|
1604
|
-
<ul class="return">
|
1605
|
-
|
1606
|
-
<li>
|
1607
|
-
|
1608
|
-
|
1609
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span>></tt>)</span>
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
</li>
|
1614
|
-
|
1615
|
-
</ul>
|
1616
|
-
|
1617
|
-
</div><table class="source_code">
|
1618
|
-
<tr>
|
1619
|
-
<td>
|
1620
|
-
<pre class="lines">
|
1621
|
-
|
1622
|
-
|
1623
|
-
</pre>
|
1624
|
-
</td>
|
1625
|
-
<td>
|
1626
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 61</span>
|
1627
|
-
|
1628
|
-
</pre>
|
1629
|
-
</td>
|
1630
|
-
</tr>
|
1631
|
-
</table>
|
1632
|
-
</div>
|
1633
|
-
|
1634
|
-
<div class="method_details ">
|
1635
|
-
<h3 class="signature " id="halves_ago-instance_method">
|
1636
|
-
|
1637
|
-
#<strong>halves_ago</strong> ⇒ <tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
</h3><div class="docstring">
|
1644
|
-
<div class="discussion">
|
1645
|
-
|
1646
|
-
<p>Get the half that occurred the specified number of halves ago.</p>
|
1647
|
-
|
1648
|
-
|
1649
|
-
</div>
|
1650
|
-
</div>
|
1651
|
-
<div class="tags">
|
1652
|
-
<p class="tag_title">Parameters:</p>
|
1653
|
-
<ul class="param">
|
1654
|
-
|
1655
|
-
<li>
|
1656
|
-
|
1657
|
-
<span class='name'>quantity</span>
|
1658
|
-
|
1659
|
-
|
1660
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
—
|
1665
|
-
<div class='inline'>
|
1666
|
-
<p>the number of halves before this half</p>
|
1667
|
-
</div>
|
1668
|
-
|
1669
|
-
</li>
|
1670
|
-
|
1671
|
-
</ul>
|
1672
|
-
|
1673
|
-
<p class="tag_title">Returns:</p>
|
1674
|
-
<ul class="return">
|
1675
|
-
|
1676
|
-
<li>
|
1677
|
-
|
1678
|
-
|
1679
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>)</span>
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
</li>
|
1684
|
-
|
1685
|
-
</ul>
|
1686
|
-
|
1687
|
-
</div><table class="source_code">
|
1688
|
-
<tr>
|
1689
|
-
<td>
|
1690
|
-
<pre class="lines">
|
1691
|
-
|
1692
|
-
|
1693
|
-
</pre>
|
1694
|
-
</td>
|
1695
|
-
<td>
|
1696
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 212</span>
|
1697
|
-
|
1698
|
-
</pre>
|
1699
|
-
</td>
|
1700
|
-
</tr>
|
1701
|
-
</table>
|
1702
|
-
</div>
|
1703
|
-
|
1704
|
-
<div class="method_details ">
|
1705
|
-
<h3 class="signature " id="halves_ahead-instance_method">
|
1706
|
-
|
1707
|
-
#<strong>halves_ahead</strong> ⇒ <tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
</h3><div class="docstring">
|
1714
|
-
<div class="discussion">
|
1715
|
-
|
1716
|
-
<p>Get the half that occurred the specified number of halves ahead.</p>
|
1717
|
-
|
1718
|
-
|
1719
|
-
</div>
|
1720
|
-
</div>
|
1721
|
-
<div class="tags">
|
1722
|
-
<p class="tag_title">Parameters:</p>
|
1723
|
-
<ul class="param">
|
1724
|
-
|
1725
|
-
<li>
|
1726
|
-
|
1727
|
-
<span class='name'>quantity</span>
|
1728
|
-
|
1729
|
-
|
1730
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
—
|
1735
|
-
<div class='inline'>
|
1736
|
-
<p>the number of halves after this half</p>
|
1737
|
-
</div>
|
1738
|
-
|
1739
|
-
</li>
|
1740
|
-
|
1741
|
-
</ul>
|
1742
|
-
|
1743
|
-
<p class="tag_title">Returns:</p>
|
1744
|
-
<ul class="return">
|
1745
|
-
|
1746
|
-
<li>
|
1747
|
-
|
1748
|
-
|
1749
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>)</span>
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
</li>
|
1754
|
-
|
1755
|
-
</ul>
|
1756
|
-
|
1757
|
-
</div><table class="source_code">
|
1758
|
-
<tr>
|
1759
|
-
<td>
|
1760
|
-
<pre class="lines">
|
1761
|
-
|
1762
|
-
|
1763
|
-
</pre>
|
1764
|
-
</td>
|
1765
|
-
<td>
|
1766
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 222</span>
|
1767
|
-
|
1768
|
-
</pre>
|
1769
|
-
</td>
|
1770
|
-
</tr>
|
1771
|
-
</table>
|
1772
|
-
</div>
|
1773
|
-
|
1774
|
-
<div class="method_details ">
|
1775
|
-
<h3 class="signature " id="halves_back-instance_method">
|
1776
|
-
|
1777
|
-
#<strong>halves_back</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span>></tt>
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
</h3><div class="docstring">
|
1784
|
-
<div class="discussion">
|
1785
|
-
|
1786
|
-
<p>Get a quantity of halves back from this half.</p>
|
1787
|
-
|
1788
|
-
|
1789
|
-
</div>
|
1790
|
-
</div>
|
1791
|
-
<div class="tags">
|
1792
|
-
<p class="tag_title">Parameters:</p>
|
1793
|
-
<ul class="param">
|
1794
|
-
|
1795
|
-
<li>
|
1796
|
-
|
1797
|
-
<span class='name'>quantity</span>
|
1798
|
-
|
1799
|
-
|
1800
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
—
|
1805
|
-
<div class='inline'>
|
1806
|
-
<p>the number of halves requested</p>
|
1807
|
-
</div>
|
1808
|
-
|
1809
|
-
</li>
|
1810
|
-
|
1811
|
-
</ul>
|
1812
|
-
|
1813
|
-
<p class="tag_title">Returns:</p>
|
1814
|
-
<ul class="return">
|
1815
|
-
|
1816
|
-
<li>
|
1817
|
-
|
1818
|
-
|
1819
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span>></tt>)</span>
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
</li>
|
1824
|
-
|
1825
|
-
</ul>
|
1826
|
-
|
1827
|
-
</div><table class="source_code">
|
1828
|
-
<tr>
|
1829
|
-
<td>
|
1830
|
-
<pre class="lines">
|
1831
|
-
|
1832
|
-
|
1833
|
-
</pre>
|
1834
|
-
</td>
|
1835
|
-
<td>
|
1836
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 207</span>
|
1837
|
-
|
1838
|
-
</pre>
|
1839
|
-
</td>
|
1840
|
-
</tr>
|
1841
|
-
</table>
|
1842
|
-
</div>
|
1843
|
-
|
1844
|
-
<div class="method_details ">
|
1845
|
-
<h3 class="signature " id="halves_for-instance_method">
|
1846
|
-
|
1847
|
-
#<strong>halves_for</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span>></tt>
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
</h3><div class="docstring">
|
1854
|
-
<div class="discussion">
|
1855
|
-
|
1856
|
-
<p>Get a list of halves within the specified period unit.</p>
|
1857
|
-
|
1858
|
-
|
1859
|
-
</div>
|
1860
|
-
</div>
|
1861
|
-
<div class="tags">
|
1862
|
-
<p class="tag_title">Parameters:</p>
|
1863
|
-
<ul class="param">
|
1864
|
-
|
1865
|
-
<li>
|
1866
|
-
|
1867
|
-
<span class='name'>period</span>
|
1868
|
-
|
1869
|
-
|
1870
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Support/Unit.html" title="TimeBoss::Calendar::Support::Unit (class)">Calendar::Support::Unit</a></span></tt>)</span>
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
—
|
1875
|
-
<div class='inline'>
|
1876
|
-
<p>the containing period unit</p>
|
1877
|
-
</div>
|
1878
|
-
|
1879
|
-
</li>
|
1880
|
-
|
1881
|
-
</ul>
|
1882
|
-
|
1883
|
-
<p class="tag_title">Returns:</p>
|
1884
|
-
<ul class="return">
|
1885
|
-
|
1886
|
-
<li>
|
1887
|
-
|
1888
|
-
|
1889
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span>></tt>)</span>
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
</li>
|
1894
|
-
|
1895
|
-
</ul>
|
1896
|
-
|
1897
|
-
</div><table class="source_code">
|
1898
|
-
<tr>
|
1899
|
-
<td>
|
1900
|
-
<pre class="lines">
|
1901
|
-
|
1902
|
-
|
1903
|
-
</pre>
|
1904
|
-
</td>
|
1905
|
-
<td>
|
1906
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 202</span>
|
1907
|
-
|
1908
|
-
</pre>
|
1909
|
-
</td>
|
1910
|
-
</tr>
|
1911
|
-
</table>
|
1912
|
-
</div>
|
1913
|
-
|
1914
|
-
<div class="method_details ">
|
1915
|
-
<h3 class="signature " id="halves_forward-instance_method">
|
1916
|
-
|
1917
|
-
#<strong>halves_forward</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span>></tt>
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
</h3><div class="docstring">
|
1924
|
-
<div class="discussion">
|
1925
|
-
|
1926
|
-
<p>Get a quantity of halves forward from this half.</p>
|
1927
|
-
|
1928
|
-
|
1929
|
-
</div>
|
1930
|
-
</div>
|
1931
|
-
<div class="tags">
|
1932
|
-
<p class="tag_title">Parameters:</p>
|
1933
|
-
<ul class="param">
|
1934
|
-
|
1935
|
-
<li>
|
1936
|
-
|
1937
|
-
<span class='name'>quantity</span>
|
1938
|
-
|
1939
|
-
|
1940
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
—
|
1945
|
-
<div class='inline'>
|
1946
|
-
<p>the number of halves requested</p>
|
1947
|
-
</div>
|
1948
|
-
|
1949
|
-
</li>
|
1950
|
-
|
1951
|
-
</ul>
|
1952
|
-
|
1953
|
-
<p class="tag_title">Returns:</p>
|
1954
|
-
<ul class="return">
|
1955
|
-
|
1956
|
-
<li>
|
1957
|
-
|
1958
|
-
|
1959
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span>></tt>)</span>
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
</li>
|
1964
|
-
|
1965
|
-
</ul>
|
1966
|
-
|
1967
|
-
</div><table class="source_code">
|
1968
|
-
<tr>
|
1969
|
-
<td>
|
1970
|
-
<pre class="lines">
|
1971
|
-
|
1972
|
-
|
1973
|
-
</pre>
|
1974
|
-
</td>
|
1975
|
-
<td>
|
1976
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 217</span>
|
1977
|
-
|
1978
|
-
</pre>
|
1979
|
-
</td>
|
1980
|
-
</tr>
|
1981
|
-
</table>
|
1982
|
-
</div>
|
1983
|
-
|
1984
|
-
<div class="method_details ">
|
1985
|
-
<h3 class="signature " id="last_day-instance_method">
|
1986
|
-
|
1987
|
-
#<strong>last_day</strong> ⇒ <tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
1991
|
-
<span class="aliases">Also known as:
|
1992
|
-
<span class="names"><span id='yesterday-instance_method'>yesterday</span></span>
|
1993
|
-
</span>
|
1994
|
-
|
1995
|
-
|
1996
|
-
|
1997
|
-
</h3><div class="docstring">
|
1998
|
-
<div class="discussion">
|
1999
|
-
|
2000
|
-
<p>Get the previous day within the active calendar.</p>
|
2001
|
-
|
2002
|
-
|
2003
|
-
</div>
|
2004
|
-
</div>
|
2005
|
-
<div class="tags">
|
2006
|
-
|
2007
|
-
<p class="tag_title">Returns:</p>
|
2008
|
-
<ul class="return">
|
2009
|
-
|
2010
|
-
<li>
|
2011
|
-
|
2012
|
-
|
2013
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>)</span>
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
</li>
|
2018
|
-
|
2019
|
-
</ul>
|
2020
|
-
|
2021
|
-
</div><table class="source_code">
|
2022
|
-
<tr>
|
2023
|
-
<td>
|
2024
|
-
<pre class="lines">
|
2025
|
-
|
2026
|
-
|
2027
|
-
</pre>
|
2028
|
-
</td>
|
2029
|
-
<td>
|
2030
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 38</span>
|
2031
|
-
|
2032
|
-
</pre>
|
2033
|
-
</td>
|
2034
|
-
</tr>
|
2035
|
-
</table>
|
2036
|
-
</div>
|
2037
|
-
|
2038
|
-
<div class="method_details ">
|
2039
|
-
<h3 class="signature " id="last_half-instance_method">
|
2040
|
-
|
2041
|
-
#<strong>last_half</strong> ⇒ <tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>
|
2042
|
-
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
</h3><div class="docstring">
|
2048
|
-
<div class="discussion">
|
2049
|
-
|
2050
|
-
<p>Get the previous half within the active calendar.</p>
|
2051
|
-
|
2052
|
-
|
2053
|
-
</div>
|
2054
|
-
</div>
|
2055
|
-
<div class="tags">
|
2056
|
-
|
2057
|
-
<p class="tag_title">Returns:</p>
|
2058
|
-
<ul class="return">
|
2059
|
-
|
2060
|
-
<li>
|
2061
|
-
|
2062
|
-
|
2063
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>)</span>
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
</li>
|
2068
|
-
|
2069
|
-
</ul>
|
2070
|
-
|
2071
|
-
</div><table class="source_code">
|
2072
|
-
<tr>
|
2073
|
-
<td>
|
2074
|
-
<pre class="lines">
|
2075
|
-
|
2076
|
-
|
2077
|
-
</pre>
|
2078
|
-
</td>
|
2079
|
-
<td>
|
2080
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 194</span>
|
2081
|
-
|
2082
|
-
</pre>
|
2083
|
-
</td>
|
2084
|
-
</tr>
|
2085
|
-
</table>
|
2086
|
-
</div>
|
2087
|
-
|
2088
|
-
<div class="method_details ">
|
2089
|
-
<h3 class="signature " id="last_month-instance_method">
|
2090
|
-
|
2091
|
-
#<strong>last_month</strong> ⇒ <tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
</h3><div class="docstring">
|
2098
|
-
<div class="discussion">
|
2099
|
-
|
2100
|
-
<p>Get the previous month within the active calendar.</p>
|
2101
|
-
|
2102
|
-
|
2103
|
-
</div>
|
2104
|
-
</div>
|
2105
|
-
<div class="tags">
|
2106
|
-
|
2107
|
-
<p class="tag_title">Returns:</p>
|
2108
|
-
<ul class="return">
|
2109
|
-
|
2110
|
-
<li>
|
2111
|
-
|
2112
|
-
|
2113
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>)</span>
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
</li>
|
2118
|
-
|
2119
|
-
</ul>
|
2120
|
-
|
2121
|
-
</div><table class="source_code">
|
2122
|
-
<tr>
|
2123
|
-
<td>
|
2124
|
-
<pre class="lines">
|
2125
|
-
|
2126
|
-
|
2127
|
-
</pre>
|
2128
|
-
</td>
|
2129
|
-
<td>
|
2130
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 116</span>
|
2131
|
-
|
2132
|
-
</pre>
|
2133
|
-
</td>
|
2134
|
-
</tr>
|
2135
|
-
</table>
|
2136
|
-
</div>
|
2137
|
-
|
2138
|
-
<div class="method_details ">
|
2139
|
-
<h3 class="signature " id="last_quarter-instance_method">
|
2140
|
-
|
2141
|
-
#<strong>last_quarter</strong> ⇒ <tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
</h3><div class="docstring">
|
2148
|
-
<div class="discussion">
|
2149
|
-
|
2150
|
-
<p>Get the previous quarter within the active calendar.</p>
|
2151
|
-
|
2152
|
-
|
2153
|
-
</div>
|
2154
|
-
</div>
|
2155
|
-
<div class="tags">
|
2156
|
-
|
2157
|
-
<p class="tag_title">Returns:</p>
|
2158
|
-
<ul class="return">
|
2159
|
-
|
2160
|
-
<li>
|
2161
|
-
|
2162
|
-
|
2163
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>)</span>
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
</li>
|
2168
|
-
|
2169
|
-
</ul>
|
2170
|
-
|
2171
|
-
</div><table class="source_code">
|
2172
|
-
<tr>
|
2173
|
-
<td>
|
2174
|
-
<pre class="lines">
|
2175
|
-
|
2176
|
-
|
2177
|
-
</pre>
|
2178
|
-
</td>
|
2179
|
-
<td>
|
2180
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 155</span>
|
2181
|
-
|
2182
|
-
</pre>
|
2183
|
-
</td>
|
2184
|
-
</tr>
|
2185
|
-
</table>
|
2186
|
-
</div>
|
2187
|
-
|
2188
|
-
<div class="method_details ">
|
2189
|
-
<h3 class="signature " id="last_week-instance_method">
|
2190
|
-
|
2191
|
-
#<strong>last_week</strong> ⇒ <tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
</h3><div class="docstring">
|
2198
|
-
<div class="discussion">
|
2199
|
-
|
2200
|
-
<p>Get the previous week within the active calendar.</p>
|
2201
|
-
|
2202
|
-
|
2203
|
-
</div>
|
2204
|
-
</div>
|
2205
|
-
<div class="tags">
|
2206
|
-
|
2207
|
-
<p class="tag_title">Returns:</p>
|
2208
|
-
<ul class="return">
|
2209
|
-
|
2210
|
-
<li>
|
2211
|
-
|
2212
|
-
|
2213
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>)</span>
|
2214
|
-
|
2215
|
-
|
2216
|
-
|
2217
|
-
</li>
|
2218
|
-
|
2219
|
-
</ul>
|
2220
|
-
|
2221
|
-
</div><table class="source_code">
|
2222
|
-
<tr>
|
2223
|
-
<td>
|
2224
|
-
<pre class="lines">
|
2225
|
-
|
2226
|
-
|
2227
|
-
</pre>
|
2228
|
-
</td>
|
2229
|
-
<td>
|
2230
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 77</span>
|
2231
|
-
|
2232
|
-
</pre>
|
2233
|
-
</td>
|
2234
|
-
</tr>
|
2235
|
-
</table>
|
2236
|
-
</div>
|
2237
|
-
|
2238
|
-
<div class="method_details ">
|
2239
|
-
<h3 class="signature " id="last_year-instance_method">
|
2240
|
-
|
2241
|
-
#<strong>last_year</strong> ⇒ <tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
</h3><div class="docstring">
|
2248
|
-
<div class="discussion">
|
2249
|
-
|
2250
|
-
<p>Get the previous year within the active calendar.</p>
|
2251
|
-
|
2252
|
-
|
2253
|
-
</div>
|
2254
|
-
</div>
|
2255
|
-
<div class="tags">
|
2256
|
-
|
2257
|
-
<p class="tag_title">Returns:</p>
|
2258
|
-
<ul class="return">
|
2259
|
-
|
2260
|
-
<li>
|
2261
|
-
|
2262
|
-
|
2263
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>)</span>
|
2264
|
-
|
2265
|
-
|
2266
|
-
|
2267
|
-
</li>
|
2268
|
-
|
2269
|
-
</ul>
|
2270
|
-
|
2271
|
-
</div><table class="source_code">
|
2272
|
-
<tr>
|
2273
|
-
<td>
|
2274
|
-
<pre class="lines">
|
2275
|
-
|
2276
|
-
|
2277
|
-
</pre>
|
2278
|
-
</td>
|
2279
|
-
<td>
|
2280
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 233</span>
|
2281
|
-
|
2282
|
-
</pre>
|
2283
|
-
</td>
|
2284
|
-
</tr>
|
2285
|
-
</table>
|
2286
|
-
</div>
|
2287
|
-
|
2288
|
-
<div class="method_details ">
|
2289
|
-
<h3 class="signature " id="months_ago-instance_method">
|
2290
|
-
|
2291
|
-
#<strong>months_ago</strong> ⇒ <tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
</h3><div class="docstring">
|
2298
|
-
<div class="discussion">
|
2299
|
-
|
2300
|
-
<p>Get the month that occurred the specified number of months ago.</p>
|
2301
|
-
|
2302
|
-
|
2303
|
-
</div>
|
2304
|
-
</div>
|
2305
|
-
<div class="tags">
|
2306
|
-
<p class="tag_title">Parameters:</p>
|
2307
|
-
<ul class="param">
|
2308
|
-
|
2309
|
-
<li>
|
2310
|
-
|
2311
|
-
<span class='name'>quantity</span>
|
2312
|
-
|
2313
|
-
|
2314
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
2315
|
-
|
2316
|
-
|
2317
|
-
|
2318
|
-
—
|
2319
|
-
<div class='inline'>
|
2320
|
-
<p>the number of months before this month</p>
|
2321
|
-
</div>
|
2322
|
-
|
2323
|
-
</li>
|
2324
|
-
|
2325
|
-
</ul>
|
2326
|
-
|
2327
|
-
<p class="tag_title">Returns:</p>
|
2328
|
-
<ul class="return">
|
2329
|
-
|
2330
|
-
<li>
|
2331
|
-
|
2332
|
-
|
2333
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>)</span>
|
2334
|
-
|
2335
|
-
|
2336
|
-
|
2337
|
-
</li>
|
2338
|
-
|
2339
|
-
</ul>
|
2340
|
-
|
2341
|
-
</div><table class="source_code">
|
2342
|
-
<tr>
|
2343
|
-
<td>
|
2344
|
-
<pre class="lines">
|
2345
|
-
|
2346
|
-
|
2347
|
-
</pre>
|
2348
|
-
</td>
|
2349
|
-
<td>
|
2350
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 134</span>
|
2351
|
-
|
2352
|
-
</pre>
|
2353
|
-
</td>
|
2354
|
-
</tr>
|
2355
|
-
</table>
|
2356
|
-
</div>
|
2357
|
-
|
2358
|
-
<div class="method_details ">
|
2359
|
-
<h3 class="signature " id="months_ahead-instance_method">
|
2360
|
-
|
2361
|
-
#<strong>months_ahead</strong> ⇒ <tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>
|
2362
|
-
|
2363
|
-
|
2364
|
-
|
2365
|
-
|
2366
|
-
|
2367
|
-
</h3><div class="docstring">
|
2368
|
-
<div class="discussion">
|
2369
|
-
|
2370
|
-
<p>Get the month that occurred the specified number of months ahead.</p>
|
2371
|
-
|
2372
|
-
|
2373
|
-
</div>
|
2374
|
-
</div>
|
2375
|
-
<div class="tags">
|
2376
|
-
<p class="tag_title">Parameters:</p>
|
2377
|
-
<ul class="param">
|
2378
|
-
|
2379
|
-
<li>
|
2380
|
-
|
2381
|
-
<span class='name'>quantity</span>
|
2382
|
-
|
2383
|
-
|
2384
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
2385
|
-
|
2386
|
-
|
2387
|
-
|
2388
|
-
—
|
2389
|
-
<div class='inline'>
|
2390
|
-
<p>the number of months after this month</p>
|
2391
|
-
</div>
|
2392
|
-
|
2393
|
-
</li>
|
2394
|
-
|
2395
|
-
</ul>
|
2396
|
-
|
2397
|
-
<p class="tag_title">Returns:</p>
|
2398
|
-
<ul class="return">
|
2399
|
-
|
2400
|
-
<li>
|
2401
|
-
|
2402
|
-
|
2403
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>)</span>
|
2404
|
-
|
2405
|
-
|
2406
|
-
|
2407
|
-
</li>
|
2408
|
-
|
2409
|
-
</ul>
|
2410
|
-
|
2411
|
-
</div><table class="source_code">
|
2412
|
-
<tr>
|
2413
|
-
<td>
|
2414
|
-
<pre class="lines">
|
2415
|
-
|
2416
|
-
|
2417
|
-
</pre>
|
2418
|
-
</td>
|
2419
|
-
<td>
|
2420
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 144</span>
|
2421
|
-
|
2422
|
-
</pre>
|
2423
|
-
</td>
|
2424
|
-
</tr>
|
2425
|
-
</table>
|
2426
|
-
</div>
|
2427
|
-
|
2428
|
-
<div class="method_details ">
|
2429
|
-
<h3 class="signature " id="months_back-instance_method">
|
2430
|
-
|
2431
|
-
#<strong>months_back</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span>></tt>
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
2436
|
-
|
2437
|
-
</h3><div class="docstring">
|
2438
|
-
<div class="discussion">
|
2439
|
-
|
2440
|
-
<p>Get a quantity of months back from this month.</p>
|
2441
|
-
|
2442
|
-
|
2443
|
-
</div>
|
2444
|
-
</div>
|
2445
|
-
<div class="tags">
|
2446
|
-
<p class="tag_title">Parameters:</p>
|
2447
|
-
<ul class="param">
|
2448
|
-
|
2449
|
-
<li>
|
2450
|
-
|
2451
|
-
<span class='name'>quantity</span>
|
2452
|
-
|
2453
|
-
|
2454
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
2455
|
-
|
2456
|
-
|
2457
|
-
|
2458
|
-
—
|
2459
|
-
<div class='inline'>
|
2460
|
-
<p>the number of months requested</p>
|
2461
|
-
</div>
|
2462
|
-
|
2463
|
-
</li>
|
2464
|
-
|
2465
|
-
</ul>
|
2466
|
-
|
2467
|
-
<p class="tag_title">Returns:</p>
|
2468
|
-
<ul class="return">
|
2469
|
-
|
2470
|
-
<li>
|
2471
|
-
|
2472
|
-
|
2473
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span>></tt>)</span>
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
</li>
|
2478
|
-
|
2479
|
-
</ul>
|
2480
|
-
|
2481
|
-
</div><table class="source_code">
|
2482
|
-
<tr>
|
2483
|
-
<td>
|
2484
|
-
<pre class="lines">
|
2485
|
-
|
2486
|
-
|
2487
|
-
</pre>
|
2488
|
-
</td>
|
2489
|
-
<td>
|
2490
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 129</span>
|
2491
|
-
|
2492
|
-
</pre>
|
2493
|
-
</td>
|
2494
|
-
</tr>
|
2495
|
-
</table>
|
2496
|
-
</div>
|
2497
|
-
|
2498
|
-
<div class="method_details ">
|
2499
|
-
<h3 class="signature " id="months_for-instance_method">
|
2500
|
-
|
2501
|
-
#<strong>months_for</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span>></tt>
|
2502
|
-
|
2503
|
-
|
2504
|
-
|
2505
|
-
|
2506
|
-
|
2507
|
-
</h3><div class="docstring">
|
2508
|
-
<div class="discussion">
|
2509
|
-
|
2510
|
-
<p>Get a list of months within the specified period unit.</p>
|
2511
|
-
|
2512
|
-
|
2513
|
-
</div>
|
2514
|
-
</div>
|
2515
|
-
<div class="tags">
|
2516
|
-
<p class="tag_title">Parameters:</p>
|
2517
|
-
<ul class="param">
|
2518
|
-
|
2519
|
-
<li>
|
2520
|
-
|
2521
|
-
<span class='name'>period</span>
|
2522
|
-
|
2523
|
-
|
2524
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Support/Unit.html" title="TimeBoss::Calendar::Support::Unit (class)">Calendar::Support::Unit</a></span></tt>)</span>
|
2525
|
-
|
2526
|
-
|
2527
|
-
|
2528
|
-
—
|
2529
|
-
<div class='inline'>
|
2530
|
-
<p>the containing period unit</p>
|
2531
|
-
</div>
|
2532
|
-
|
2533
|
-
</li>
|
2534
|
-
|
2535
|
-
</ul>
|
2536
|
-
|
2537
|
-
<p class="tag_title">Returns:</p>
|
2538
|
-
<ul class="return">
|
2539
|
-
|
2540
|
-
<li>
|
2541
|
-
|
2542
|
-
|
2543
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span>></tt>)</span>
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
</li>
|
2548
|
-
|
2549
|
-
</ul>
|
2550
|
-
|
2551
|
-
</div><table class="source_code">
|
2552
|
-
<tr>
|
2553
|
-
<td>
|
2554
|
-
<pre class="lines">
|
2555
|
-
|
2556
|
-
|
2557
|
-
</pre>
|
2558
|
-
</td>
|
2559
|
-
<td>
|
2560
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 124</span>
|
2561
|
-
|
2562
|
-
</pre>
|
2563
|
-
</td>
|
2564
|
-
</tr>
|
2565
|
-
</table>
|
2566
|
-
</div>
|
2567
|
-
|
2568
|
-
<div class="method_details ">
|
2569
|
-
<h3 class="signature " id="months_forward-instance_method">
|
2570
|
-
|
2571
|
-
#<strong>months_forward</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span>></tt>
|
2572
|
-
|
2573
|
-
|
2574
|
-
|
2575
|
-
|
2576
|
-
|
2577
|
-
</h3><div class="docstring">
|
2578
|
-
<div class="discussion">
|
2579
|
-
|
2580
|
-
<p>Get a quantity of months forward from this month.</p>
|
2581
|
-
|
2582
|
-
|
2583
|
-
</div>
|
2584
|
-
</div>
|
2585
|
-
<div class="tags">
|
2586
|
-
<p class="tag_title">Parameters:</p>
|
2587
|
-
<ul class="param">
|
2588
|
-
|
2589
|
-
<li>
|
2590
|
-
|
2591
|
-
<span class='name'>quantity</span>
|
2592
|
-
|
2593
|
-
|
2594
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
2595
|
-
|
2596
|
-
|
2597
|
-
|
2598
|
-
—
|
2599
|
-
<div class='inline'>
|
2600
|
-
<p>the number of months requested</p>
|
2601
|
-
</div>
|
2602
|
-
|
2603
|
-
</li>
|
2604
|
-
|
2605
|
-
</ul>
|
2606
|
-
|
2607
|
-
<p class="tag_title">Returns:</p>
|
2608
|
-
<ul class="return">
|
2609
|
-
|
2610
|
-
<li>
|
2611
|
-
|
2612
|
-
|
2613
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span>></tt>)</span>
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
</li>
|
2618
|
-
|
2619
|
-
</ul>
|
2620
|
-
|
2621
|
-
</div><table class="source_code">
|
2622
|
-
<tr>
|
2623
|
-
<td>
|
2624
|
-
<pre class="lines">
|
2625
|
-
|
2626
|
-
|
2627
|
-
</pre>
|
2628
|
-
</td>
|
2629
|
-
<td>
|
2630
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 139</span>
|
2631
|
-
|
2632
|
-
</pre>
|
2633
|
-
</td>
|
2634
|
-
</tr>
|
2635
|
-
</table>
|
2636
|
-
</div>
|
2637
|
-
|
2638
|
-
<div class="method_details ">
|
2639
|
-
<h3 class="signature " id="next_day-instance_method">
|
2640
|
-
|
2641
|
-
#<strong>next_day</strong> ⇒ <tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>
|
2642
|
-
|
2643
|
-
|
2644
|
-
|
2645
|
-
<span class="aliases">Also known as:
|
2646
|
-
<span class="names"><span id='tomorrow-instance_method'>tomorrow</span></span>
|
2647
|
-
</span>
|
2648
|
-
|
2649
|
-
|
2650
|
-
|
2651
|
-
</h3><div class="docstring">
|
2652
|
-
<div class="discussion">
|
2653
|
-
|
2654
|
-
<p>Get the next day within the active calendar.</p>
|
2655
|
-
|
2656
|
-
|
2657
|
-
</div>
|
2658
|
-
</div>
|
2659
|
-
<div class="tags">
|
2660
|
-
|
2661
|
-
<p class="tag_title">Returns:</p>
|
2662
|
-
<ul class="return">
|
2663
|
-
|
2664
|
-
<li>
|
2665
|
-
|
2666
|
-
|
2667
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>)</span>
|
2668
|
-
|
2669
|
-
|
2670
|
-
|
2671
|
-
</li>
|
2672
|
-
|
2673
|
-
</ul>
|
2674
|
-
|
2675
|
-
</div><table class="source_code">
|
2676
|
-
<tr>
|
2677
|
-
<td>
|
2678
|
-
<pre class="lines">
|
2679
|
-
|
2680
|
-
|
2681
|
-
</pre>
|
2682
|
-
</td>
|
2683
|
-
<td>
|
2684
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 42</span>
|
2685
|
-
|
2686
|
-
</pre>
|
2687
|
-
</td>
|
2688
|
-
</tr>
|
2689
|
-
</table>
|
2690
|
-
</div>
|
2691
|
-
|
2692
|
-
<div class="method_details ">
|
2693
|
-
<h3 class="signature " id="next_half-instance_method">
|
2694
|
-
|
2695
|
-
#<strong>next_half</strong> ⇒ <tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>
|
2696
|
-
|
2697
|
-
|
2698
|
-
|
2699
|
-
|
2700
|
-
|
2701
|
-
</h3><div class="docstring">
|
2702
|
-
<div class="discussion">
|
2703
|
-
|
2704
|
-
<p>Get the next half within the active calendar.</p>
|
2705
|
-
|
2706
|
-
|
2707
|
-
</div>
|
2708
|
-
</div>
|
2709
|
-
<div class="tags">
|
2710
|
-
|
2711
|
-
<p class="tag_title">Returns:</p>
|
2712
|
-
<ul class="return">
|
2713
|
-
|
2714
|
-
<li>
|
2715
|
-
|
2716
|
-
|
2717
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>)</span>
|
2718
|
-
|
2719
|
-
|
2720
|
-
|
2721
|
-
</li>
|
2722
|
-
|
2723
|
-
</ul>
|
2724
|
-
|
2725
|
-
</div><table class="source_code">
|
2726
|
-
<tr>
|
2727
|
-
<td>
|
2728
|
-
<pre class="lines">
|
2729
|
-
|
2730
|
-
|
2731
|
-
</pre>
|
2732
|
-
</td>
|
2733
|
-
<td>
|
2734
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 198</span>
|
2735
|
-
|
2736
|
-
</pre>
|
2737
|
-
</td>
|
2738
|
-
</tr>
|
2739
|
-
</table>
|
2740
|
-
</div>
|
2741
|
-
|
2742
|
-
<div class="method_details ">
|
2743
|
-
<h3 class="signature " id="next_month-instance_method">
|
2744
|
-
|
2745
|
-
#<strong>next_month</strong> ⇒ <tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>
|
2746
|
-
|
2747
|
-
|
2748
|
-
|
2749
|
-
|
2750
|
-
|
2751
|
-
</h3><div class="docstring">
|
2752
|
-
<div class="discussion">
|
2753
|
-
|
2754
|
-
<p>Get the next month within the active calendar.</p>
|
2755
|
-
|
2756
|
-
|
2757
|
-
</div>
|
2758
|
-
</div>
|
2759
|
-
<div class="tags">
|
2760
|
-
|
2761
|
-
<p class="tag_title">Returns:</p>
|
2762
|
-
<ul class="return">
|
2763
|
-
|
2764
|
-
<li>
|
2765
|
-
|
2766
|
-
|
2767
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>)</span>
|
2768
|
-
|
2769
|
-
|
2770
|
-
|
2771
|
-
</li>
|
2772
|
-
|
2773
|
-
</ul>
|
2774
|
-
|
2775
|
-
</div><table class="source_code">
|
2776
|
-
<tr>
|
2777
|
-
<td>
|
2778
|
-
<pre class="lines">
|
2779
|
-
|
2780
|
-
|
2781
|
-
</pre>
|
2782
|
-
</td>
|
2783
|
-
<td>
|
2784
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 120</span>
|
2785
|
-
|
2786
|
-
</pre>
|
2787
|
-
</td>
|
2788
|
-
</tr>
|
2789
|
-
</table>
|
2790
|
-
</div>
|
2791
|
-
|
2792
|
-
<div class="method_details ">
|
2793
|
-
<h3 class="signature " id="next_quarter-instance_method">
|
2794
|
-
|
2795
|
-
#<strong>next_quarter</strong> ⇒ <tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>
|
2796
|
-
|
2797
|
-
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
</h3><div class="docstring">
|
2802
|
-
<div class="discussion">
|
2803
|
-
|
2804
|
-
<p>Get the next quarter within the active calendar.</p>
|
2805
|
-
|
2806
|
-
|
2807
|
-
</div>
|
2808
|
-
</div>
|
2809
|
-
<div class="tags">
|
2810
|
-
|
2811
|
-
<p class="tag_title">Returns:</p>
|
2812
|
-
<ul class="return">
|
2813
|
-
|
2814
|
-
<li>
|
2815
|
-
|
2816
|
-
|
2817
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>)</span>
|
2818
|
-
|
2819
|
-
|
2820
|
-
|
2821
|
-
</li>
|
2822
|
-
|
2823
|
-
</ul>
|
2824
|
-
|
2825
|
-
</div><table class="source_code">
|
2826
|
-
<tr>
|
2827
|
-
<td>
|
2828
|
-
<pre class="lines">
|
2829
|
-
|
2830
|
-
|
2831
|
-
</pre>
|
2832
|
-
</td>
|
2833
|
-
<td>
|
2834
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 159</span>
|
2835
|
-
|
2836
|
-
</pre>
|
2837
|
-
</td>
|
2838
|
-
</tr>
|
2839
|
-
</table>
|
2840
|
-
</div>
|
2841
|
-
|
2842
|
-
<div class="method_details ">
|
2843
|
-
<h3 class="signature " id="next_week-instance_method">
|
2844
|
-
|
2845
|
-
#<strong>next_week</strong> ⇒ <tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>
|
2846
|
-
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
</h3><div class="docstring">
|
2852
|
-
<div class="discussion">
|
2853
|
-
|
2854
|
-
<p>Get the next week within the active calendar.</p>
|
2855
|
-
|
2856
|
-
|
2857
|
-
</div>
|
2858
|
-
</div>
|
2859
|
-
<div class="tags">
|
2860
|
-
|
2861
|
-
<p class="tag_title">Returns:</p>
|
2862
|
-
<ul class="return">
|
2863
|
-
|
2864
|
-
<li>
|
2865
|
-
|
2866
|
-
|
2867
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>)</span>
|
2868
|
-
|
2869
|
-
|
2870
|
-
|
2871
|
-
</li>
|
2872
|
-
|
2873
|
-
</ul>
|
2874
|
-
|
2875
|
-
</div><table class="source_code">
|
2876
|
-
<tr>
|
2877
|
-
<td>
|
2878
|
-
<pre class="lines">
|
2879
|
-
|
2880
|
-
|
2881
|
-
</pre>
|
2882
|
-
</td>
|
2883
|
-
<td>
|
2884
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 81</span>
|
2885
|
-
|
2886
|
-
</pre>
|
2887
|
-
</td>
|
2888
|
-
</tr>
|
2889
|
-
</table>
|
2890
|
-
</div>
|
2891
|
-
|
2892
|
-
<div class="method_details ">
|
2893
|
-
<h3 class="signature " id="next_year-instance_method">
|
2894
|
-
|
2895
|
-
#<strong>next_year</strong> ⇒ <tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>
|
2896
|
-
|
2897
|
-
|
2898
|
-
|
2899
|
-
|
2900
|
-
|
2901
|
-
</h3><div class="docstring">
|
2902
|
-
<div class="discussion">
|
2903
|
-
|
2904
|
-
<p>Get the next year within the active calendar.</p>
|
2905
|
-
|
2906
|
-
|
2907
|
-
</div>
|
2908
|
-
</div>
|
2909
|
-
<div class="tags">
|
2910
|
-
|
2911
|
-
<p class="tag_title">Returns:</p>
|
2912
|
-
<ul class="return">
|
2913
|
-
|
2914
|
-
<li>
|
2915
|
-
|
2916
|
-
|
2917
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>)</span>
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2921
|
-
</li>
|
2922
|
-
|
2923
|
-
</ul>
|
2924
|
-
|
2925
|
-
</div><table class="source_code">
|
2926
|
-
<tr>
|
2927
|
-
<td>
|
2928
|
-
<pre class="lines">
|
2929
|
-
|
2930
|
-
|
2931
|
-
</pre>
|
2932
|
-
</td>
|
2933
|
-
<td>
|
2934
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 237</span>
|
2935
|
-
|
2936
|
-
</pre>
|
2937
|
-
</td>
|
2938
|
-
</tr>
|
2939
|
-
</table>
|
2940
|
-
</div>
|
2941
|
-
|
2942
|
-
<div class="method_details ">
|
2943
|
-
<h3 class="signature " id="quarters_ago-instance_method">
|
2944
|
-
|
2945
|
-
#<strong>quarters_ago</strong> ⇒ <tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>
|
2946
|
-
|
2947
|
-
|
2948
|
-
|
2949
|
-
|
2950
|
-
|
2951
|
-
</h3><div class="docstring">
|
2952
|
-
<div class="discussion">
|
2953
|
-
|
2954
|
-
<p>Get the quarter that occurred the specified number of quarters ago.</p>
|
2955
|
-
|
2956
|
-
|
2957
|
-
</div>
|
2958
|
-
</div>
|
2959
|
-
<div class="tags">
|
2960
|
-
<p class="tag_title">Parameters:</p>
|
2961
|
-
<ul class="param">
|
2962
|
-
|
2963
|
-
<li>
|
2964
|
-
|
2965
|
-
<span class='name'>quantity</span>
|
2966
|
-
|
2967
|
-
|
2968
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
2969
|
-
|
2970
|
-
|
2971
|
-
|
2972
|
-
—
|
2973
|
-
<div class='inline'>
|
2974
|
-
<p>the number of quarters before this quarter</p>
|
2975
|
-
</div>
|
2976
|
-
|
2977
|
-
</li>
|
2978
|
-
|
2979
|
-
</ul>
|
2980
|
-
|
2981
|
-
<p class="tag_title">Returns:</p>
|
2982
|
-
<ul class="return">
|
2983
|
-
|
2984
|
-
<li>
|
2985
|
-
|
2986
|
-
|
2987
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>)</span>
|
2988
|
-
|
2989
|
-
|
2990
|
-
|
2991
|
-
</li>
|
2992
|
-
|
2993
|
-
</ul>
|
2994
|
-
|
2995
|
-
</div><table class="source_code">
|
2996
|
-
<tr>
|
2997
|
-
<td>
|
2998
|
-
<pre class="lines">
|
2999
|
-
|
3000
|
-
|
3001
|
-
</pre>
|
3002
|
-
</td>
|
3003
|
-
<td>
|
3004
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 173</span>
|
3005
|
-
|
3006
|
-
</pre>
|
3007
|
-
</td>
|
3008
|
-
</tr>
|
3009
|
-
</table>
|
3010
|
-
</div>
|
3011
|
-
|
3012
|
-
<div class="method_details ">
|
3013
|
-
<h3 class="signature " id="quarters_ahead-instance_method">
|
3014
|
-
|
3015
|
-
#<strong>quarters_ahead</strong> ⇒ <tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
3019
|
-
|
3020
|
-
|
3021
|
-
</h3><div class="docstring">
|
3022
|
-
<div class="discussion">
|
3023
|
-
|
3024
|
-
<p>Get the quarter that occurred the specified number of days ahead.</p>
|
3025
|
-
|
3026
|
-
|
3027
|
-
</div>
|
3028
|
-
</div>
|
3029
|
-
<div class="tags">
|
3030
|
-
<p class="tag_title">Parameters:</p>
|
3031
|
-
<ul class="param">
|
3032
|
-
|
3033
|
-
<li>
|
3034
|
-
|
3035
|
-
<span class='name'>quantity</span>
|
3036
|
-
|
3037
|
-
|
3038
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3039
|
-
|
3040
|
-
|
3041
|
-
|
3042
|
-
—
|
3043
|
-
<div class='inline'>
|
3044
|
-
<p>the number of quarters after this quarter</p>
|
3045
|
-
</div>
|
3046
|
-
|
3047
|
-
</li>
|
3048
|
-
|
3049
|
-
</ul>
|
3050
|
-
|
3051
|
-
<p class="tag_title">Returns:</p>
|
3052
|
-
<ul class="return">
|
3053
|
-
|
3054
|
-
<li>
|
3055
|
-
|
3056
|
-
|
3057
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>)</span>
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
</li>
|
3062
|
-
|
3063
|
-
</ul>
|
3064
|
-
|
3065
|
-
</div><table class="source_code">
|
3066
|
-
<tr>
|
3067
|
-
<td>
|
3068
|
-
<pre class="lines">
|
3069
|
-
|
3070
|
-
|
3071
|
-
</pre>
|
3072
|
-
</td>
|
3073
|
-
<td>
|
3074
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 183</span>
|
3075
|
-
|
3076
|
-
</pre>
|
3077
|
-
</td>
|
3078
|
-
</tr>
|
3079
|
-
</table>
|
3080
|
-
</div>
|
3081
|
-
|
3082
|
-
<div class="method_details ">
|
3083
|
-
<h3 class="signature " id="quarters_back-instance_method">
|
3084
|
-
|
3085
|
-
#<strong>quarters_back</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span>></tt>
|
3086
|
-
|
3087
|
-
|
3088
|
-
|
3089
|
-
|
3090
|
-
|
3091
|
-
</h3><div class="docstring">
|
3092
|
-
<div class="discussion">
|
3093
|
-
|
3094
|
-
<p>Get a quantity of quarters back from this quarter.</p>
|
3095
|
-
|
3096
|
-
|
3097
|
-
</div>
|
3098
|
-
</div>
|
3099
|
-
<div class="tags">
|
3100
|
-
<p class="tag_title">Parameters:</p>
|
3101
|
-
<ul class="param">
|
3102
|
-
|
3103
|
-
<li>
|
3104
|
-
|
3105
|
-
<span class='name'>quantity</span>
|
3106
|
-
|
3107
|
-
|
3108
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3109
|
-
|
3110
|
-
|
3111
|
-
|
3112
|
-
—
|
3113
|
-
<div class='inline'>
|
3114
|
-
<p>the number of quarters requested</p>
|
3115
|
-
</div>
|
3116
|
-
|
3117
|
-
</li>
|
3118
|
-
|
3119
|
-
</ul>
|
3120
|
-
|
3121
|
-
<p class="tag_title">Returns:</p>
|
3122
|
-
<ul class="return">
|
3123
|
-
|
3124
|
-
<li>
|
3125
|
-
|
3126
|
-
|
3127
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span>></tt>)</span>
|
3128
|
-
|
3129
|
-
|
3130
|
-
|
3131
|
-
</li>
|
3132
|
-
|
3133
|
-
</ul>
|
3134
|
-
|
3135
|
-
</div><table class="source_code">
|
3136
|
-
<tr>
|
3137
|
-
<td>
|
3138
|
-
<pre class="lines">
|
3139
|
-
|
3140
|
-
|
3141
|
-
</pre>
|
3142
|
-
</td>
|
3143
|
-
<td>
|
3144
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 168</span>
|
3145
|
-
|
3146
|
-
</pre>
|
3147
|
-
</td>
|
3148
|
-
</tr>
|
3149
|
-
</table>
|
3150
|
-
</div>
|
3151
|
-
|
3152
|
-
<div class="method_details ">
|
3153
|
-
<h3 class="signature " id="quarters_for-instance_method">
|
3154
|
-
|
3155
|
-
#<strong>quarters_for</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span>></tt>
|
3156
|
-
|
3157
|
-
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3161
|
-
</h3><div class="docstring">
|
3162
|
-
<div class="discussion">
|
3163
|
-
|
3164
|
-
<p>Get a list of quarters within the specified period unit.</p>
|
3165
|
-
|
3166
|
-
|
3167
|
-
</div>
|
3168
|
-
</div>
|
3169
|
-
<div class="tags">
|
3170
|
-
<p class="tag_title">Parameters:</p>
|
3171
|
-
<ul class="param">
|
3172
|
-
|
3173
|
-
<li>
|
3174
|
-
|
3175
|
-
<span class='name'>period</span>
|
3176
|
-
|
3177
|
-
|
3178
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Support/Unit.html" title="TimeBoss::Calendar::Support::Unit (class)">Calendar::Support::Unit</a></span></tt>)</span>
|
3179
|
-
|
3180
|
-
|
3181
|
-
|
3182
|
-
—
|
3183
|
-
<div class='inline'>
|
3184
|
-
<p>the containing period unit</p>
|
3185
|
-
</div>
|
3186
|
-
|
3187
|
-
</li>
|
3188
|
-
|
3189
|
-
</ul>
|
3190
|
-
|
3191
|
-
<p class="tag_title">Returns:</p>
|
3192
|
-
<ul class="return">
|
3193
|
-
|
3194
|
-
<li>
|
3195
|
-
|
3196
|
-
|
3197
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span>></tt>)</span>
|
3198
|
-
|
3199
|
-
|
3200
|
-
|
3201
|
-
</li>
|
3202
|
-
|
3203
|
-
</ul>
|
3204
|
-
|
3205
|
-
</div><table class="source_code">
|
3206
|
-
<tr>
|
3207
|
-
<td>
|
3208
|
-
<pre class="lines">
|
3209
|
-
|
3210
|
-
|
3211
|
-
</pre>
|
3212
|
-
</td>
|
3213
|
-
<td>
|
3214
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 163</span>
|
3215
|
-
|
3216
|
-
</pre>
|
3217
|
-
</td>
|
3218
|
-
</tr>
|
3219
|
-
</table>
|
3220
|
-
</div>
|
3221
|
-
|
3222
|
-
<div class="method_details ">
|
3223
|
-
<h3 class="signature " id="quarters_forward-instance_method">
|
3224
|
-
|
3225
|
-
#<strong>quarters_forward</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span>></tt>
|
3226
|
-
|
3227
|
-
|
3228
|
-
|
3229
|
-
|
3230
|
-
|
3231
|
-
</h3><div class="docstring">
|
3232
|
-
<div class="discussion">
|
3233
|
-
|
3234
|
-
<p>Get a quantity of quarters forward from this quarter.</p>
|
3235
|
-
|
3236
|
-
|
3237
|
-
</div>
|
3238
|
-
</div>
|
3239
|
-
<div class="tags">
|
3240
|
-
<p class="tag_title">Parameters:</p>
|
3241
|
-
<ul class="param">
|
3242
|
-
|
3243
|
-
<li>
|
3244
|
-
|
3245
|
-
<span class='name'>quantity</span>
|
3246
|
-
|
3247
|
-
|
3248
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3249
|
-
|
3250
|
-
|
3251
|
-
|
3252
|
-
—
|
3253
|
-
<div class='inline'>
|
3254
|
-
<p>the number of quarters requested</p>
|
3255
|
-
</div>
|
3256
|
-
|
3257
|
-
</li>
|
3258
|
-
|
3259
|
-
</ul>
|
3260
|
-
|
3261
|
-
<p class="tag_title">Returns:</p>
|
3262
|
-
<ul class="return">
|
3263
|
-
|
3264
|
-
<li>
|
3265
|
-
|
3266
|
-
|
3267
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span>></tt>)</span>
|
3268
|
-
|
3269
|
-
|
3270
|
-
|
3271
|
-
</li>
|
3272
|
-
|
3273
|
-
</ul>
|
3274
|
-
|
3275
|
-
</div><table class="source_code">
|
3276
|
-
<tr>
|
3277
|
-
<td>
|
3278
|
-
<pre class="lines">
|
3279
|
-
|
3280
|
-
|
3281
|
-
</pre>
|
3282
|
-
</td>
|
3283
|
-
<td>
|
3284
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 178</span>
|
3285
|
-
|
3286
|
-
</pre>
|
3287
|
-
</td>
|
3288
|
-
</tr>
|
3289
|
-
</table>
|
3290
|
-
</div>
|
3291
|
-
|
3292
|
-
<div class="method_details ">
|
3293
|
-
<h3 class="signature " id="this_day-instance_method">
|
3294
|
-
|
3295
|
-
#<strong>this_day</strong> ⇒ <tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>
|
3296
|
-
|
3297
|
-
|
3298
|
-
|
3299
|
-
<span class="aliases">Also known as:
|
3300
|
-
<span class="names"><span id='today-instance_method'>today</span></span>
|
3301
|
-
</span>
|
3302
|
-
|
3303
|
-
|
3304
|
-
|
3305
|
-
</h3><div class="docstring">
|
3306
|
-
<div class="discussion">
|
3307
|
-
|
3308
|
-
<p>Get the current day within the active calendar.</p>
|
3309
|
-
|
3310
|
-
|
3311
|
-
</div>
|
3312
|
-
</div>
|
3313
|
-
<div class="tags">
|
3314
|
-
|
3315
|
-
<p class="tag_title">Returns:</p>
|
3316
|
-
<ul class="return">
|
3317
|
-
|
3318
|
-
<li>
|
3319
|
-
|
3320
|
-
|
3321
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Day.html" title="TimeBoss::Calendar::Day (class)">Calendar::Day</a></span></tt>)</span>
|
3322
|
-
|
3323
|
-
|
3324
|
-
|
3325
|
-
</li>
|
3326
|
-
|
3327
|
-
</ul>
|
3328
|
-
|
3329
|
-
</div><table class="source_code">
|
3330
|
-
<tr>
|
3331
|
-
<td>
|
3332
|
-
<pre class="lines">
|
3333
|
-
|
3334
|
-
|
3335
|
-
</pre>
|
3336
|
-
</td>
|
3337
|
-
<td>
|
3338
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 34</span>
|
3339
|
-
|
3340
|
-
</pre>
|
3341
|
-
</td>
|
3342
|
-
</tr>
|
3343
|
-
</table>
|
3344
|
-
</div>
|
3345
|
-
|
3346
|
-
<div class="method_details ">
|
3347
|
-
<h3 class="signature " id="this_half-instance_method">
|
3348
|
-
|
3349
|
-
#<strong>this_half</strong> ⇒ <tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>
|
3350
|
-
|
3351
|
-
|
3352
|
-
|
3353
|
-
|
3354
|
-
|
3355
|
-
</h3><div class="docstring">
|
3356
|
-
<div class="discussion">
|
3357
|
-
|
3358
|
-
<p>Get the current half within the active calendar.</p>
|
3359
|
-
|
3360
|
-
|
3361
|
-
</div>
|
3362
|
-
</div>
|
3363
|
-
<div class="tags">
|
3364
|
-
|
3365
|
-
<p class="tag_title">Returns:</p>
|
3366
|
-
<ul class="return">
|
3367
|
-
|
3368
|
-
<li>
|
3369
|
-
|
3370
|
-
|
3371
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Half.html" title="TimeBoss::Calendar::Half (class)">Calendar::Half</a></span></tt>)</span>
|
3372
|
-
|
3373
|
-
|
3374
|
-
|
3375
|
-
</li>
|
3376
|
-
|
3377
|
-
</ul>
|
3378
|
-
|
3379
|
-
</div><table class="source_code">
|
3380
|
-
<tr>
|
3381
|
-
<td>
|
3382
|
-
<pre class="lines">
|
3383
|
-
|
3384
|
-
|
3385
|
-
</pre>
|
3386
|
-
</td>
|
3387
|
-
<td>
|
3388
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 190</span>
|
3389
|
-
|
3390
|
-
</pre>
|
3391
|
-
</td>
|
3392
|
-
</tr>
|
3393
|
-
</table>
|
3394
|
-
</div>
|
3395
|
-
|
3396
|
-
<div class="method_details ">
|
3397
|
-
<h3 class="signature " id="this_month-instance_method">
|
3398
|
-
|
3399
|
-
#<strong>this_month</strong> ⇒ <tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>
|
3400
|
-
|
3401
|
-
|
3402
|
-
|
3403
|
-
|
3404
|
-
|
3405
|
-
</h3><div class="docstring">
|
3406
|
-
<div class="discussion">
|
3407
|
-
|
3408
|
-
<p>Get the current month within the active calendar.</p>
|
3409
|
-
|
3410
|
-
|
3411
|
-
</div>
|
3412
|
-
</div>
|
3413
|
-
<div class="tags">
|
3414
|
-
|
3415
|
-
<p class="tag_title">Returns:</p>
|
3416
|
-
<ul class="return">
|
3417
|
-
|
3418
|
-
<li>
|
3419
|
-
|
3420
|
-
|
3421
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Month.html" title="TimeBoss::Calendar::Month (class)">Calendar::Month</a></span></tt>)</span>
|
3422
|
-
|
3423
|
-
|
3424
|
-
|
3425
|
-
</li>
|
3426
|
-
|
3427
|
-
</ul>
|
3428
|
-
|
3429
|
-
</div><table class="source_code">
|
3430
|
-
<tr>
|
3431
|
-
<td>
|
3432
|
-
<pre class="lines">
|
3433
|
-
|
3434
|
-
|
3435
|
-
</pre>
|
3436
|
-
</td>
|
3437
|
-
<td>
|
3438
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 112</span>
|
3439
|
-
|
3440
|
-
</pre>
|
3441
|
-
</td>
|
3442
|
-
</tr>
|
3443
|
-
</table>
|
3444
|
-
</div>
|
3445
|
-
|
3446
|
-
<div class="method_details ">
|
3447
|
-
<h3 class="signature " id="this_quarter-instance_method">
|
3448
|
-
|
3449
|
-
#<strong>this_quarter</strong> ⇒ <tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>
|
3450
|
-
|
3451
|
-
|
3452
|
-
|
3453
|
-
|
3454
|
-
|
3455
|
-
</h3><div class="docstring">
|
3456
|
-
<div class="discussion">
|
3457
|
-
|
3458
|
-
<p>Get the current quarter within the active calendar.</p>
|
3459
|
-
|
3460
|
-
|
3461
|
-
</div>
|
3462
|
-
</div>
|
3463
|
-
<div class="tags">
|
3464
|
-
|
3465
|
-
<p class="tag_title">Returns:</p>
|
3466
|
-
<ul class="return">
|
3467
|
-
|
3468
|
-
<li>
|
3469
|
-
|
3470
|
-
|
3471
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Quarter.html" title="TimeBoss::Calendar::Quarter (class)">Calendar::Quarter</a></span></tt>)</span>
|
3472
|
-
|
3473
|
-
|
3474
|
-
|
3475
|
-
</li>
|
3476
|
-
|
3477
|
-
</ul>
|
3478
|
-
|
3479
|
-
</div><table class="source_code">
|
3480
|
-
<tr>
|
3481
|
-
<td>
|
3482
|
-
<pre class="lines">
|
3483
|
-
|
3484
|
-
|
3485
|
-
</pre>
|
3486
|
-
</td>
|
3487
|
-
<td>
|
3488
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 151</span>
|
3489
|
-
|
3490
|
-
</pre>
|
3491
|
-
</td>
|
3492
|
-
</tr>
|
3493
|
-
</table>
|
3494
|
-
</div>
|
3495
|
-
|
3496
|
-
<div class="method_details ">
|
3497
|
-
<h3 class="signature " id="this_week-instance_method">
|
3498
|
-
|
3499
|
-
#<strong>this_week</strong> ⇒ <tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>
|
3500
|
-
|
3501
|
-
|
3502
|
-
|
3503
|
-
|
3504
|
-
|
3505
|
-
</h3><div class="docstring">
|
3506
|
-
<div class="discussion">
|
3507
|
-
|
3508
|
-
<p>Get the current week within the active calendar.</p>
|
3509
|
-
|
3510
|
-
|
3511
|
-
</div>
|
3512
|
-
</div>
|
3513
|
-
<div class="tags">
|
3514
|
-
|
3515
|
-
<p class="tag_title">Returns:</p>
|
3516
|
-
<ul class="return">
|
3517
|
-
|
3518
|
-
<li>
|
3519
|
-
|
3520
|
-
|
3521
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>)</span>
|
3522
|
-
|
3523
|
-
|
3524
|
-
|
3525
|
-
</li>
|
3526
|
-
|
3527
|
-
</ul>
|
3528
|
-
|
3529
|
-
</div><table class="source_code">
|
3530
|
-
<tr>
|
3531
|
-
<td>
|
3532
|
-
<pre class="lines">
|
3533
|
-
|
3534
|
-
|
3535
|
-
</pre>
|
3536
|
-
</td>
|
3537
|
-
<td>
|
3538
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 73</span>
|
3539
|
-
|
3540
|
-
</pre>
|
3541
|
-
</td>
|
3542
|
-
</tr>
|
3543
|
-
</table>
|
3544
|
-
</div>
|
3545
|
-
|
3546
|
-
<div class="method_details ">
|
3547
|
-
<h3 class="signature " id="this_year-instance_method">
|
3548
|
-
|
3549
|
-
#<strong>this_year</strong> ⇒ <tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>
|
3550
|
-
|
3551
|
-
|
3552
|
-
|
3553
|
-
|
3554
|
-
|
3555
|
-
</h3><div class="docstring">
|
3556
|
-
<div class="discussion">
|
3557
|
-
|
3558
|
-
<p>Get the current year within the active calendar.</p>
|
3559
|
-
|
3560
|
-
|
3561
|
-
</div>
|
3562
|
-
</div>
|
3563
|
-
<div class="tags">
|
3564
|
-
|
3565
|
-
<p class="tag_title">Returns:</p>
|
3566
|
-
<ul class="return">
|
3567
|
-
|
3568
|
-
<li>
|
3569
|
-
|
3570
|
-
|
3571
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>)</span>
|
3572
|
-
|
3573
|
-
|
3574
|
-
|
3575
|
-
</li>
|
3576
|
-
|
3577
|
-
</ul>
|
3578
|
-
|
3579
|
-
</div><table class="source_code">
|
3580
|
-
<tr>
|
3581
|
-
<td>
|
3582
|
-
<pre class="lines">
|
3583
|
-
|
3584
|
-
|
3585
|
-
</pre>
|
3586
|
-
</td>
|
3587
|
-
<td>
|
3588
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 229</span>
|
3589
|
-
|
3590
|
-
</pre>
|
3591
|
-
</td>
|
3592
|
-
</tr>
|
3593
|
-
</table>
|
3594
|
-
</div>
|
3595
|
-
|
3596
|
-
<div class="method_details ">
|
3597
|
-
<h3 class="signature " id="weeks_ago-instance_method">
|
3598
|
-
|
3599
|
-
#<strong>weeks_ago</strong> ⇒ <tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>
|
3600
|
-
|
3601
|
-
|
3602
|
-
|
3603
|
-
|
3604
|
-
|
3605
|
-
</h3><div class="docstring">
|
3606
|
-
<div class="discussion">
|
3607
|
-
|
3608
|
-
<p>Get the week that occurred the specified number of weeks ago.</p>
|
3609
|
-
|
3610
|
-
|
3611
|
-
</div>
|
3612
|
-
</div>
|
3613
|
-
<div class="tags">
|
3614
|
-
<p class="tag_title">Parameters:</p>
|
3615
|
-
<ul class="param">
|
3616
|
-
|
3617
|
-
<li>
|
3618
|
-
|
3619
|
-
<span class='name'>quantity</span>
|
3620
|
-
|
3621
|
-
|
3622
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3623
|
-
|
3624
|
-
|
3625
|
-
|
3626
|
-
—
|
3627
|
-
<div class='inline'>
|
3628
|
-
<p>the number of weeks before this week</p>
|
3629
|
-
</div>
|
3630
|
-
|
3631
|
-
</li>
|
3632
|
-
|
3633
|
-
</ul>
|
3634
|
-
|
3635
|
-
<p class="tag_title">Returns:</p>
|
3636
|
-
<ul class="return">
|
3637
|
-
|
3638
|
-
<li>
|
3639
|
-
|
3640
|
-
|
3641
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>)</span>
|
3642
|
-
|
3643
|
-
|
3644
|
-
|
3645
|
-
</li>
|
3646
|
-
|
3647
|
-
</ul>
|
3648
|
-
|
3649
|
-
</div><table class="source_code">
|
3650
|
-
<tr>
|
3651
|
-
<td>
|
3652
|
-
<pre class="lines">
|
3653
|
-
|
3654
|
-
|
3655
|
-
</pre>
|
3656
|
-
</td>
|
3657
|
-
<td>
|
3658
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 95</span>
|
3659
|
-
|
3660
|
-
</pre>
|
3661
|
-
</td>
|
3662
|
-
</tr>
|
3663
|
-
</table>
|
3664
|
-
</div>
|
3665
|
-
|
3666
|
-
<div class="method_details ">
|
3667
|
-
<h3 class="signature " id="weeks_ahead-instance_method">
|
3668
|
-
|
3669
|
-
#<strong>weeks_ahead</strong> ⇒ <tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3673
|
-
|
3674
|
-
|
3675
|
-
</h3><div class="docstring">
|
3676
|
-
<div class="discussion">
|
3677
|
-
|
3678
|
-
<p>Get the week that occurred the specified number of weeks ahead.</p>
|
3679
|
-
|
3680
|
-
|
3681
|
-
</div>
|
3682
|
-
</div>
|
3683
|
-
<div class="tags">
|
3684
|
-
<p class="tag_title">Parameters:</p>
|
3685
|
-
<ul class="param">
|
3686
|
-
|
3687
|
-
<li>
|
3688
|
-
|
3689
|
-
<span class='name'>quantity</span>
|
3690
|
-
|
3691
|
-
|
3692
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3693
|
-
|
3694
|
-
|
3695
|
-
|
3696
|
-
—
|
3697
|
-
<div class='inline'>
|
3698
|
-
<p>the number of weeks after this week</p>
|
3699
|
-
</div>
|
3700
|
-
|
3701
|
-
</li>
|
3702
|
-
|
3703
|
-
</ul>
|
3704
|
-
|
3705
|
-
<p class="tag_title">Returns:</p>
|
3706
|
-
<ul class="return">
|
3707
|
-
|
3708
|
-
<li>
|
3709
|
-
|
3710
|
-
|
3711
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span></tt>)</span>
|
3712
|
-
|
3713
|
-
|
3714
|
-
|
3715
|
-
</li>
|
3716
|
-
|
3717
|
-
</ul>
|
3718
|
-
|
3719
|
-
</div><table class="source_code">
|
3720
|
-
<tr>
|
3721
|
-
<td>
|
3722
|
-
<pre class="lines">
|
3723
|
-
|
3724
|
-
|
3725
|
-
</pre>
|
3726
|
-
</td>
|
3727
|
-
<td>
|
3728
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 105</span>
|
3729
|
-
|
3730
|
-
</pre>
|
3731
|
-
</td>
|
3732
|
-
</tr>
|
3733
|
-
</table>
|
3734
|
-
</div>
|
3735
|
-
|
3736
|
-
<div class="method_details ">
|
3737
|
-
<h3 class="signature " id="weeks_back-instance_method">
|
3738
|
-
|
3739
|
-
#<strong>weeks_back</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span>></tt>
|
3740
|
-
|
3741
|
-
|
3742
|
-
|
3743
|
-
|
3744
|
-
|
3745
|
-
</h3><div class="docstring">
|
3746
|
-
<div class="discussion">
|
3747
|
-
|
3748
|
-
<p>Get a quantity of weeks back from this week.</p>
|
3749
|
-
|
3750
|
-
|
3751
|
-
</div>
|
3752
|
-
</div>
|
3753
|
-
<div class="tags">
|
3754
|
-
<p class="tag_title">Parameters:</p>
|
3755
|
-
<ul class="param">
|
3756
|
-
|
3757
|
-
<li>
|
3758
|
-
|
3759
|
-
<span class='name'>quantity</span>
|
3760
|
-
|
3761
|
-
|
3762
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3763
|
-
|
3764
|
-
|
3765
|
-
|
3766
|
-
—
|
3767
|
-
<div class='inline'>
|
3768
|
-
<p>the number of weeks requested</p>
|
3769
|
-
</div>
|
3770
|
-
|
3771
|
-
</li>
|
3772
|
-
|
3773
|
-
</ul>
|
3774
|
-
|
3775
|
-
<p class="tag_title">Returns:</p>
|
3776
|
-
<ul class="return">
|
3777
|
-
|
3778
|
-
<li>
|
3779
|
-
|
3780
|
-
|
3781
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span>></tt>)</span>
|
3782
|
-
|
3783
|
-
|
3784
|
-
|
3785
|
-
</li>
|
3786
|
-
|
3787
|
-
</ul>
|
3788
|
-
|
3789
|
-
</div><table class="source_code">
|
3790
|
-
<tr>
|
3791
|
-
<td>
|
3792
|
-
<pre class="lines">
|
3793
|
-
|
3794
|
-
|
3795
|
-
</pre>
|
3796
|
-
</td>
|
3797
|
-
<td>
|
3798
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 90</span>
|
3799
|
-
|
3800
|
-
</pre>
|
3801
|
-
</td>
|
3802
|
-
</tr>
|
3803
|
-
</table>
|
3804
|
-
</div>
|
3805
|
-
|
3806
|
-
<div class="method_details ">
|
3807
|
-
<h3 class="signature " id="weeks_for-instance_method">
|
3808
|
-
|
3809
|
-
#<strong>weeks_for</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span>></tt>
|
3810
|
-
|
3811
|
-
|
3812
|
-
|
3813
|
-
|
3814
|
-
|
3815
|
-
</h3><div class="docstring">
|
3816
|
-
<div class="discussion">
|
3817
|
-
|
3818
|
-
<p>Get a list of weeks within the specified period unit.</p>
|
3819
|
-
|
3820
|
-
|
3821
|
-
</div>
|
3822
|
-
</div>
|
3823
|
-
<div class="tags">
|
3824
|
-
<p class="tag_title">Parameters:</p>
|
3825
|
-
<ul class="param">
|
3826
|
-
|
3827
|
-
<li>
|
3828
|
-
|
3829
|
-
<span class='name'>period</span>
|
3830
|
-
|
3831
|
-
|
3832
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Support/Unit.html" title="TimeBoss::Calendar::Support::Unit (class)">Calendar::Support::Unit</a></span></tt>)</span>
|
3833
|
-
|
3834
|
-
|
3835
|
-
|
3836
|
-
—
|
3837
|
-
<div class='inline'>
|
3838
|
-
<p>the containing period unit</p>
|
3839
|
-
</div>
|
3840
|
-
|
3841
|
-
</li>
|
3842
|
-
|
3843
|
-
</ul>
|
3844
|
-
|
3845
|
-
<p class="tag_title">Returns:</p>
|
3846
|
-
<ul class="return">
|
3847
|
-
|
3848
|
-
<li>
|
3849
|
-
|
3850
|
-
|
3851
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span>></tt>)</span>
|
3852
|
-
|
3853
|
-
|
3854
|
-
|
3855
|
-
</li>
|
3856
|
-
|
3857
|
-
</ul>
|
3858
|
-
|
3859
|
-
</div><table class="source_code">
|
3860
|
-
<tr>
|
3861
|
-
<td>
|
3862
|
-
<pre class="lines">
|
3863
|
-
|
3864
|
-
|
3865
|
-
</pre>
|
3866
|
-
</td>
|
3867
|
-
<td>
|
3868
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 85</span>
|
3869
|
-
|
3870
|
-
</pre>
|
3871
|
-
</td>
|
3872
|
-
</tr>
|
3873
|
-
</table>
|
3874
|
-
</div>
|
3875
|
-
|
3876
|
-
<div class="method_details ">
|
3877
|
-
<h3 class="signature " id="weeks_forward-instance_method">
|
3878
|
-
|
3879
|
-
#<strong>weeks_forward</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span>></tt>
|
3880
|
-
|
3881
|
-
|
3882
|
-
|
3883
|
-
|
3884
|
-
|
3885
|
-
</h3><div class="docstring">
|
3886
|
-
<div class="discussion">
|
3887
|
-
|
3888
|
-
<p>Get a quantity of weeks forward from this week.</p>
|
3889
|
-
|
3890
|
-
|
3891
|
-
</div>
|
3892
|
-
</div>
|
3893
|
-
<div class="tags">
|
3894
|
-
<p class="tag_title">Parameters:</p>
|
3895
|
-
<ul class="param">
|
3896
|
-
|
3897
|
-
<li>
|
3898
|
-
|
3899
|
-
<span class='name'>quantity</span>
|
3900
|
-
|
3901
|
-
|
3902
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3903
|
-
|
3904
|
-
|
3905
|
-
|
3906
|
-
—
|
3907
|
-
<div class='inline'>
|
3908
|
-
<p>the number of weeks requested</p>
|
3909
|
-
</div>
|
3910
|
-
|
3911
|
-
</li>
|
3912
|
-
|
3913
|
-
</ul>
|
3914
|
-
|
3915
|
-
<p class="tag_title">Returns:</p>
|
3916
|
-
<ul class="return">
|
3917
|
-
|
3918
|
-
<li>
|
3919
|
-
|
3920
|
-
|
3921
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Week.html" title="TimeBoss::Calendar::Week (class)">Calendar::Week</a></span>></tt>)</span>
|
3922
|
-
|
3923
|
-
|
3924
|
-
|
3925
|
-
</li>
|
3926
|
-
|
3927
|
-
</ul>
|
3928
|
-
|
3929
|
-
</div><table class="source_code">
|
3930
|
-
<tr>
|
3931
|
-
<td>
|
3932
|
-
<pre class="lines">
|
3933
|
-
|
3934
|
-
|
3935
|
-
</pre>
|
3936
|
-
</td>
|
3937
|
-
<td>
|
3938
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 100</span>
|
3939
|
-
|
3940
|
-
</pre>
|
3941
|
-
</td>
|
3942
|
-
</tr>
|
3943
|
-
</table>
|
3944
|
-
</div>
|
3945
|
-
|
3946
|
-
<div class="method_details ">
|
3947
|
-
<h3 class="signature " id="years_ago-instance_method">
|
3948
|
-
|
3949
|
-
#<strong>years_ago</strong> ⇒ <tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>
|
3950
|
-
|
3951
|
-
|
3952
|
-
|
3953
|
-
|
3954
|
-
|
3955
|
-
</h3><div class="docstring">
|
3956
|
-
<div class="discussion">
|
3957
|
-
|
3958
|
-
<p>Get the year that occurred the specified number of years ago.</p>
|
3959
|
-
|
3960
|
-
|
3961
|
-
</div>
|
3962
|
-
</div>
|
3963
|
-
<div class="tags">
|
3964
|
-
<p class="tag_title">Parameters:</p>
|
3965
|
-
<ul class="param">
|
3966
|
-
|
3967
|
-
<li>
|
3968
|
-
|
3969
|
-
<span class='name'>quantity</span>
|
3970
|
-
|
3971
|
-
|
3972
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
3973
|
-
|
3974
|
-
|
3975
|
-
|
3976
|
-
—
|
3977
|
-
<div class='inline'>
|
3978
|
-
<p>the number of years before this year</p>
|
3979
|
-
</div>
|
3980
|
-
|
3981
|
-
</li>
|
3982
|
-
|
3983
|
-
</ul>
|
3984
|
-
|
3985
|
-
<p class="tag_title">Returns:</p>
|
3986
|
-
<ul class="return">
|
3987
|
-
|
3988
|
-
<li>
|
3989
|
-
|
3990
|
-
|
3991
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>)</span>
|
3992
|
-
|
3993
|
-
|
3994
|
-
|
3995
|
-
</li>
|
3996
|
-
|
3997
|
-
</ul>
|
3998
|
-
|
3999
|
-
</div><table class="source_code">
|
4000
|
-
<tr>
|
4001
|
-
<td>
|
4002
|
-
<pre class="lines">
|
4003
|
-
|
4004
|
-
|
4005
|
-
</pre>
|
4006
|
-
</td>
|
4007
|
-
<td>
|
4008
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 251</span>
|
4009
|
-
|
4010
|
-
</pre>
|
4011
|
-
</td>
|
4012
|
-
</tr>
|
4013
|
-
</table>
|
4014
|
-
</div>
|
4015
|
-
|
4016
|
-
<div class="method_details ">
|
4017
|
-
<h3 class="signature " id="years_ahead-instance_method">
|
4018
|
-
|
4019
|
-
#<strong>years_ahead</strong> ⇒ <tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>
|
4020
|
-
|
4021
|
-
|
4022
|
-
|
4023
|
-
|
4024
|
-
|
4025
|
-
</h3><div class="docstring">
|
4026
|
-
<div class="discussion">
|
4027
|
-
|
4028
|
-
<p>Get the year that occurred the specified number of years ahead.</p>
|
4029
|
-
|
4030
|
-
|
4031
|
-
</div>
|
4032
|
-
</div>
|
4033
|
-
<div class="tags">
|
4034
|
-
<p class="tag_title">Parameters:</p>
|
4035
|
-
<ul class="param">
|
4036
|
-
|
4037
|
-
<li>
|
4038
|
-
|
4039
|
-
<span class='name'>quantity</span>
|
4040
|
-
|
4041
|
-
|
4042
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
4043
|
-
|
4044
|
-
|
4045
|
-
|
4046
|
-
—
|
4047
|
-
<div class='inline'>
|
4048
|
-
<p>the number of years after this year</p>
|
4049
|
-
</div>
|
4050
|
-
|
4051
|
-
</li>
|
4052
|
-
|
4053
|
-
</ul>
|
4054
|
-
|
4055
|
-
<p class="tag_title">Returns:</p>
|
4056
|
-
<ul class="return">
|
4057
|
-
|
4058
|
-
<li>
|
4059
|
-
|
4060
|
-
|
4061
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span></tt>)</span>
|
4062
|
-
|
4063
|
-
|
4064
|
-
|
4065
|
-
</li>
|
4066
|
-
|
4067
|
-
</ul>
|
4068
|
-
|
4069
|
-
</div><table class="source_code">
|
4070
|
-
<tr>
|
4071
|
-
<td>
|
4072
|
-
<pre class="lines">
|
4073
|
-
|
4074
|
-
|
4075
|
-
</pre>
|
4076
|
-
</td>
|
4077
|
-
<td>
|
4078
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 261</span>
|
4079
|
-
|
4080
|
-
</pre>
|
4081
|
-
</td>
|
4082
|
-
</tr>
|
4083
|
-
</table>
|
4084
|
-
</div>
|
4085
|
-
|
4086
|
-
<div class="method_details ">
|
4087
|
-
<h3 class="signature " id="years_back-instance_method">
|
4088
|
-
|
4089
|
-
#<strong>years_back</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span>></tt>
|
4090
|
-
|
4091
|
-
|
4092
|
-
|
4093
|
-
|
4094
|
-
|
4095
|
-
</h3><div class="docstring">
|
4096
|
-
<div class="discussion">
|
4097
|
-
|
4098
|
-
<p>Get a quantity of years back from this year.</p>
|
4099
|
-
|
4100
|
-
|
4101
|
-
</div>
|
4102
|
-
</div>
|
4103
|
-
<div class="tags">
|
4104
|
-
<p class="tag_title">Parameters:</p>
|
4105
|
-
<ul class="param">
|
4106
|
-
|
4107
|
-
<li>
|
4108
|
-
|
4109
|
-
<span class='name'>quantity</span>
|
4110
|
-
|
4111
|
-
|
4112
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
4113
|
-
|
4114
|
-
|
4115
|
-
|
4116
|
-
—
|
4117
|
-
<div class='inline'>
|
4118
|
-
<p>the number of years requested</p>
|
4119
|
-
</div>
|
4120
|
-
|
4121
|
-
</li>
|
4122
|
-
|
4123
|
-
</ul>
|
4124
|
-
|
4125
|
-
<p class="tag_title">Returns:</p>
|
4126
|
-
<ul class="return">
|
4127
|
-
|
4128
|
-
<li>
|
4129
|
-
|
4130
|
-
|
4131
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span>></tt>)</span>
|
4132
|
-
|
4133
|
-
|
4134
|
-
|
4135
|
-
</li>
|
4136
|
-
|
4137
|
-
</ul>
|
4138
|
-
|
4139
|
-
</div><table class="source_code">
|
4140
|
-
<tr>
|
4141
|
-
<td>
|
4142
|
-
<pre class="lines">
|
4143
|
-
|
4144
|
-
|
4145
|
-
</pre>
|
4146
|
-
</td>
|
4147
|
-
<td>
|
4148
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 246</span>
|
4149
|
-
|
4150
|
-
</pre>
|
4151
|
-
</td>
|
4152
|
-
</tr>
|
4153
|
-
</table>
|
4154
|
-
</div>
|
4155
|
-
|
4156
|
-
<div class="method_details ">
|
4157
|
-
<h3 class="signature " id="years_for-instance_method">
|
4158
|
-
|
4159
|
-
#<strong>years_for</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span>></tt>
|
4160
|
-
|
4161
|
-
|
4162
|
-
|
4163
|
-
|
4164
|
-
|
4165
|
-
</h3><div class="docstring">
|
4166
|
-
<div class="discussion">
|
4167
|
-
|
4168
|
-
<p>Get a list of years within the specified period unit.</p>
|
4169
|
-
|
4170
|
-
|
4171
|
-
</div>
|
4172
|
-
</div>
|
4173
|
-
<div class="tags">
|
4174
|
-
<p class="tag_title">Parameters:</p>
|
4175
|
-
<ul class="param">
|
4176
|
-
|
4177
|
-
<li>
|
4178
|
-
|
4179
|
-
<span class='name'>period</span>
|
4180
|
-
|
4181
|
-
|
4182
|
-
<span class='type'>(<tt><span class='object_link'><a href="../Support/Unit.html" title="TimeBoss::Calendar::Support::Unit (class)">Calendar::Support::Unit</a></span></tt>)</span>
|
4183
|
-
|
4184
|
-
|
4185
|
-
|
4186
|
-
—
|
4187
|
-
<div class='inline'>
|
4188
|
-
<p>the containing period unit</p>
|
4189
|
-
</div>
|
4190
|
-
|
4191
|
-
</li>
|
4192
|
-
|
4193
|
-
</ul>
|
4194
|
-
|
4195
|
-
<p class="tag_title">Returns:</p>
|
4196
|
-
<ul class="return">
|
4197
|
-
|
4198
|
-
<li>
|
4199
|
-
|
4200
|
-
|
4201
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span>></tt>)</span>
|
4202
|
-
|
4203
|
-
|
4204
|
-
|
4205
|
-
</li>
|
4206
|
-
|
4207
|
-
</ul>
|
4208
|
-
|
4209
|
-
</div><table class="source_code">
|
4210
|
-
<tr>
|
4211
|
-
<td>
|
4212
|
-
<pre class="lines">
|
4213
|
-
|
4214
|
-
|
4215
|
-
</pre>
|
4216
|
-
</td>
|
4217
|
-
<td>
|
4218
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 241</span>
|
4219
|
-
|
4220
|
-
</pre>
|
4221
|
-
</td>
|
4222
|
-
</tr>
|
4223
|
-
</table>
|
4224
|
-
</div>
|
4225
|
-
|
4226
|
-
<div class="method_details ">
|
4227
|
-
<h3 class="signature " id="years_forward-instance_method">
|
4228
|
-
|
4229
|
-
#<strong>years_forward</strong> ⇒ <tt>Array<<span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span>></tt>
|
4230
|
-
|
4231
|
-
|
4232
|
-
|
4233
|
-
|
4234
|
-
|
4235
|
-
</h3><div class="docstring">
|
4236
|
-
<div class="discussion">
|
4237
|
-
|
4238
|
-
<p>Get a quantity of years forward from this year.</p>
|
4239
|
-
|
4240
|
-
|
4241
|
-
</div>
|
4242
|
-
</div>
|
4243
|
-
<div class="tags">
|
4244
|
-
<p class="tag_title">Parameters:</p>
|
4245
|
-
<ul class="param">
|
4246
|
-
|
4247
|
-
<li>
|
4248
|
-
|
4249
|
-
<span class='name'>quantity</span>
|
4250
|
-
|
4251
|
-
|
4252
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
4253
|
-
|
4254
|
-
|
4255
|
-
|
4256
|
-
—
|
4257
|
-
<div class='inline'>
|
4258
|
-
<p>the number of years requested</p>
|
4259
|
-
</div>
|
4260
|
-
|
4261
|
-
</li>
|
4262
|
-
|
4263
|
-
</ul>
|
4264
|
-
|
4265
|
-
<p class="tag_title">Returns:</p>
|
4266
|
-
<ul class="return">
|
4267
|
-
|
4268
|
-
<li>
|
4269
|
-
|
4270
|
-
|
4271
|
-
<span class='type'>(<tt>Array<<span class='object_link'><a href="../Year.html" title="TimeBoss::Calendar::Year (class)">Calendar::Year</a></span>></tt>)</span>
|
4272
|
-
|
4273
|
-
|
4274
|
-
|
4275
|
-
</li>
|
4276
|
-
|
4277
|
-
</ul>
|
4278
|
-
|
4279
|
-
</div><table class="source_code">
|
4280
|
-
<tr>
|
4281
|
-
<td>
|
4282
|
-
<pre class="lines">
|
4283
|
-
|
4284
|
-
|
4285
|
-
</pre>
|
4286
|
-
</td>
|
4287
|
-
<td>
|
4288
|
-
<pre class="code"><span class="info file"># File 'lib/timeboss/calendar/waypoints/relative.rb', line 256</span>
|
4289
|
-
|
4290
|
-
</pre>
|
4291
|
-
</td>
|
4292
|
-
</tr>
|
4293
|
-
</table>
|
4294
|
-
</div>
|
4295
|
-
|
4296
|
-
</div>
|
4297
|
-
|
4298
|
-
</div>
|
4299
|
-
|
4300
|
-
<div id="footer">
|
4301
|
-
Generated on Sun Jul 19 10:12:11 2020 by
|
4302
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
4303
|
-
0.9.25 (ruby-2.4.1).
|
4304
|
-
</div>
|
4305
|
-
|
4306
|
-
</div>
|
4307
|
-
</body>
|
4308
|
-
</html>
|