pub fn solar_eclipse_circumstances(
local_date_day: f64,
local_date_month: u32,
local_date_year: u32,
is_daylight_saving: bool,
zone_correction_hours: i32,
geog_longitude_deg: f64,
geog_latitude_deg: f64
) -> (f64, u32, u32, f64, f64, f64, f64, f64, f64, f64)
Expand description
Calculate the circumstances of a lunar eclipse.
§Arguments
local_date_day
– Local date, day part.local_date_month
– Local date, month part.local_date_year
– Local date, year part.is_daylight_saving
– Is daylight savings in effect?zone_correction_hours
– Time zone correction, in hours.geog_longitude_deg
– Geographical longitude of observer.geog_latitude_deg
– Geographical latitude of observer.
§Returns
solar_eclipse_certain_date_day
– Solar eclipse date (day)solar_eclipse_certain_date_month
– Solar eclipse date (month)solar_eclipse_certain_date_year
– Solar eclipse date (year)ut_first_contact_hour
– First contact of shadow (hour)ut_first_contact_minutes
– First contact of shadow (minutes)ut_mid_eclipse_hour
– Mid-eclipse (hour)ut_mid_eclipse_minutes
– Mid-eclipse (minutes)ut_last_contact_hour
– Last contact of shadow (hour)ut_last_contact_minutes
– Last contact of shadow (minutes)eclipse_magnitude
– Eclipse magnitude