CelestialGet_Solar_Eclipse_Table Method
Returns a List containing solar eclipse data for the century at the specified location.
Century returned is based on the date passed.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static List<SolarEclipseDetails> Get_Solar_Eclipse_Table(
double lat,
double longi,
DateTime date
)
- lat Double
- latitude
- longi Double
- longitude
- date DateTime
- DateTime
ListSolarEclipseDetailsList>SolarEclipseDetails>
The following example gets a Solar Eclipse table for the 20th century at N 39, W 72
and displays each type of eclipse and occurrence date in that century.
List>SolarEclipseDetails> seList = Celestial.Get_Solar_Eclipse_Table(39, -72, new DateTime(1950, 1, 1));
foreach(SolarEclipseDetails sd in seList)
{
Console.WriteLine(sd.Type + " " + sd.Date.ToShortDateString());
}
//Partial 8/30/1905
//Partial 6/28/1908
//Partial 6/18/1909
//Partial 4/17/1912
//Partial 2/3/1916
//Partial 6/7/1918
//Partial 11/22/1919
...