All Packages Class Hierarchy This Package Previous Next Index
Class myStuff.MoonAge
java.lang.Object
|
+----myStuff.MoonAge
- public class MoonAge
- extends Object
-
DEG_IN_RADIAN
-
-
EIGHTH_OF_MONTH
-
-
PERIOD
-
-
MoonAge()
-
-
daysOld(double)
-
-
flmoon(int, int, JulianDate)
- Gives jd (+- 2 min) of phase nph on lunation n; replaces
less accurate Numerical Recipes routine.
-
lunAge(JulianDate, int)
- compute age in days of moon since last new, and lunation of last new moon.
-
main(String[])
-
-
moonPhase(JulianDate)
- gives the days since last new moon, or New,
1st Qrt, Full, and 3rd Qtr, as appropiate
DEG_IN_RADIAN
public final static double DEG_IN_RADIAN
EIGHTH_OF_MONTH
public final static double EIGHTH_OF_MONTH
PERIOD
public final static double PERIOD
MoonAge
public MoonAge()
main
public static void main(String args[])
lunAge
public static double lunAge(JulianDate jd,
int nlun)
- compute age in days of moon since last new, and lunation of last new moon.
flmoon
public static void flmoon(int n,
int nph,
JulianDate jdout)
- Gives jd (+- 2 min) of phase nph on lunation n; replaces
less accurate Numerical Recipes routine. This routine
implements formulae found in Jean Meeus' *Astronomical Formulae
for Calculators*, 2nd edition, Willman-Bell. A very useful
book!!
n, nph lunation and phase; nph = 0 new, 1 1st, 2 full, 3 last
jdout jd of requested phase
daysOld
public static int daysOld(double age)
moonPhase
public static String moonPhase(JulianDate jd)
- gives the days since last new moon, or New,
1st Qrt, Full, and 3rd Qtr, as appropiate
All Packages Class Hierarchy This Package Previous Next Index