|
Formula 1.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objecthirondelle.formula.function.builtin.DayFromJD
public final class DayFromJD
dayfromjd(jd): convert a Julian Date into a calendar date. Accepts fractional days.
| Constructor Summary | |
|---|---|
DayFromJD()
|
|
| Method Summary | |
|---|---|
Decimal |
calculate(Decimal... aArgs)
The single argument is a Julian Date. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DayFromJD()
| Method Detail |
|---|
public Decimal calculate(Decimal... aArgs)
dayfromjd(2436116.31) => 19571004.81
The return value is an encoding of a date into a Decimal. In the above example, the returned date is
1957-01-04.81 (January 4, 1957 19h 26m)where the decimal portion reflects a fraction of a day.
calculate in interface FunctionaArgs - 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 | ||||||||