70 static const double RAD;
90 static double phase(
int mon,
int day,
int year);
102 static void nextphase(
int& mon,
int& day,
int& year,
int& hr,
int& min,
int nph);
120 static double flmoon(
int n,
int nph,
long& jd,
double& frac);
143 static bool isDST(
long jd);
148 static bool isDST(
int mon,
int day,
int year);
Calculate the phase of the moon.
static long Calendar2Julian(int mon, int day, int year)
static double flmoon(int n, int nph, long &jd, double &frac)
static const double RAD
Radians to degree convertion.
static double phase(int mon, int day, int year)
static void nextphase(int &mon, int &day, int &year, int &hr, int &min, int nph)
static const double MEAN_LUNAR_CYCLE
static bool isDST(long jd)
static void Julian2Calendar(long jd, int &mon, int &day, int &year)