Sealed methods
Performs addition on specific combinations of dates and durations.
+ arg1 arg2 => sum
<date> or <duration>. See description for details.
<date> or <duration>. See description for details.
<date> or <duration>. See description for details.
system
date
A number of methods are defined for the + generic function to allow summing of various combinations of dates and durations. Note that there is not a method defined for every possible combination of date and duration. Specifically, you cannot sum different types of duration, and you cannot sum two dates. The return value can be either a date or a duration, depending on the arguments supplied. The table below lists the methods that are defined on +.
arg1 | arg2 | sum |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|