|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.formula.function.builtin.Weekday
public final class Weekday
weekday(year, month, day): the day of the week for the given calendar day.
Constructor Summary | |
---|---|
Weekday()
|
Method Summary | |
---|---|
Decimal |
calculate(Decimal... aArgs)
Returns 1 for Sunday, 2 for Monday, and so on. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Weekday()
Method Detail |
---|
public Decimal calculate(Decimal... aArgs)
Takes 3 parameters for year-month-day (in that order).
The day may contain a fraction.
Uses Check.date(Decimal, Decimal, Decimal)
.
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 |