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.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static List<LunarEclipseDetails> Get_Lunar_Eclipse_Table(
	double lat,
	double longi,
	DateTime date
)

Parameters

lat  Double
latitude
longi  Double
longitude
date  DateTime
DateTime

Return Value

ListLunarEclipseDetails
List>LunarEclipseDetails>

Example

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.
C#
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