|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.formula.function.builtin.DaysBetween
public final class DaysBetween
daysbetween(y1,m1,d1, y2,m2,d2): the number of days between two calendar dates. Accepts fractional days.
Constructor Summary | |
---|---|
DaysBetween()
|
Method Summary | |
---|---|
Decimal |
calculate(Decimal... aArgs)
Takes 6 arguments, consisting of a pair of year-month-day triplets. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DaysBetween()
Method Detail |
---|
public Decimal calculate(Decimal... aArgs)
Check.date(Decimal, Decimal, Decimal)
.
Example (with Decimals represented by their values, for convenience):
daysbetween(1991, 7, 11, 2018, 11, 26) => 10,000
calculate
in interface Function
aArgs
- 0 or more arguments to the function.
|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |