Click or drag to resize

CelestialGet_Lunar_Eclipse_Table Method

Returns a List containing solar eclipse data for the century at the specified location. Century return is based on the date passed.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.5.1.1
Syntax
C#
public static List<LunarEclipseDetails> Get_Lunar_Eclipse_Table(
	double lat,
	double longi,
	DateTime date
)

Parameters

lat
Type: SystemDouble
latitude
longi
Type: SystemDouble
longitude
date
Type: SystemDateTime
DateTime

Return Value

Type: ListLunarEclipseDetails
List>LunarEclipseDetails>
Examples
The following example gets a Lunar Eclipse table for the 20th century at N 39, W 72 and displays each type of eclipse and occurrence date in that century.
List>LunarEclipseDetails> leList = Celestial.Get_Lunar_Eclipse_Table(39, -72, new DateTime(1950, 1, 1));

foreach(LunarEclipseDetails ld in leList)
{
       Console.WriteLine(ld.Type + " " + ld.Date.ToShortDateString());
}

//Total 10/17/1902
//Partial 4/11/1903
//Penumbral 3/2/1904
//Partial 8/15/1905
//Total 2/9/1906
//Partial 1/29/1907
//Partial 7/25/1907
...
See Also