Formula 1.0.0

Class JulianDate

  extended by hirondelle.formula.function.builtin.JulianDate
All Implemented Interfaces:

public final class JulianDate
extends Object
implements Function

jd(year, month, day): the Julian Date of a calendar date.

The Julian Date is defined by astronomers as a simple sequential date reckoning. Its primary use is to make it simple to calculate the number of days between two dates in the Gregorian calendar.

Constructor Summary
Method Summary
 Decimal calculate(Decimal... aArgs)
          Takes 3 parameters for year, month, and day.
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public JulianDate()
Method Detail


public Decimal calculate(Decimal... aArgs)
Takes 3 parameters for year, month, and day. The day may contain a fraction. Uses, Decimal, Decimal).

Specified by:
calculate in interface Function
aArgs - 0 or more arguments to the function.

Formula 1.0.0

Copyright Hirondelle Systems. Published January 31, 2013