GeoLocation constructor with parameters for all required fields.
The location name for display use such as "Lakewood, NJ"
the latitude in a double format such as 40.095965 for Lakewood, NJ. Note: For latitudes south of the equator, a negative value should be used.
double the longitude in a double format such as -74.222130 for Lakewood, NJ. Note: For longitudes west of the Prime Meridian (Greenwich), a negative value should be used.
the elevation above sea level in Meters. Elevation is not used in most algorithms used for calculating sunrise and set.
the TimeZone
for the location.
A class that contains location information such as latitude and longitude required for astronomical calculations. The elevation field may not be used by some calculation engines and would be ignored if set.
Author
© Eliyahu Hershfeld 2004 - 2016
Version
1.1