PreviousPhase

delphimoon

Previous phase

Algorithms

Top  Previous  Next

 

Calculates the date of previous phase

 

function Last_Phase(date:TDateTime; phase:TMoonPhase): TDateTime;

 

Description

Calculales the date of the previous phase of the given type before the date given.

 

Reference

This function is based upon chapters 49 (47) of "Astronomical Algorithms" for the major phases, and chapters 47 (45) and 25 (24) for the minor phases.