Eclipse |
Top Previous Next |
Calculates the next eclipse.
function NextEclipse(var dete:TDateTime; sun:boolean): TEclipse;
Description Calculates the next eclipse after the given date. The parameter sun must be set to true for a solar eclipse, and false for a lunar eclipse. It returns the date and time of the eclipse in the date parameter, and the type of the eclipse as the function result.
Reference This function is based upon chapter 54 (52) of "Astronomlcal Algorithms".
|