All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class myStuff.MoonAge

java.lang.Object
   |
   +----myStuff.MoonAge

public class MoonAge
extends Object

Variable Index

 o DEG_IN_RADIAN
 o EIGHTH_OF_MONTH
 o PERIOD

Constructor Index

 o MoonAge()

Method Index

 o daysOld(double)
 o flmoon(int, int, JulianDate)
Gives jd (+- 2 min) of phase nph on lunation n; replaces less accurate Numerical Recipes routine.
 o lunAge(JulianDate, int)
compute age in days of moon since last new, and lunation of last new moon.
 o main(String[])
 o moonPhase(JulianDate)
gives the days since last new moon, or New, 1st Qrt, Full, and 3rd Qtr, as appropiate

Variables

 o DEG_IN_RADIAN
  public final static double DEG_IN_RADIAN
 o EIGHTH_OF_MONTH
  public final static double EIGHTH_OF_MONTH
 o PERIOD
  public final static double PERIOD

Constructors

 o MoonAge
  public MoonAge()

Methods

 o main
  public static void main(String args[])
 o lunAge
  public static double lunAge(JulianDate jd,
                              int nlun)
compute age in days of moon since last new, and lunation of last new moon.

 o 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

 o daysOld
  public static int daysOld(double age)
 o 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