Sealed methods
Performs subtraction on specific combinations of dates and durations.
- arg1 arg2 => diff
<date> or <duration>. See description for details.
<duration>, or an instance of <date> if arg1 is a <date>. 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 subtraction 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 subtract a date from a duration, and you cannot subtract different types of duration. 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 | diff |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|