Function practical_astronomy_rust::sun::equation_of_time
source · pub fn equation_of_time(
gwdate_day: f64,
gwdate_month: u32,
gwdate_year: u32
) -> (f64, f64)
Expand description
Calculate the equation of time. (The difference between the real Sun time and the mean Sun time.)
§Arguments
gwdate_day
– Greenwich date (day part)gwdate_month
– Greenwich date (month part)gwdate_year
– Greenwich date (year part)
§Returns
equation_of_time_min
– equation of time (minute part)equation_of_time_sec
– equation of time (seconds part)