Function practical_astronomy_rust::sun::precise_position_of_sun
source · pub fn precise_position_of_sun(
lct_hours: f64,
lct_minutes: f64,
lct_seconds: f64,
local_day: f64,
local_month: u32,
local_year: u32,
is_daylight_saving: bool,
zone_correction: i32
) -> (f64, f64, f64, f64, f64, f64)Expand description
Calculate precise position of the sun for a local date and time.
§Arguments
lct_hours– Local civil time, in hours.lct_minutes– Local civil time, in minutes.lct_seconds– Local civil time, in seconds.local_day– Local date, day part.local_month– Local date, month part.local_year– Local date, year part.is_daylight_saving– Is daylight savings in effect?zone_correction– Time zone correction, in hours.
§Returns
sun_ra_hour– Right Ascension of Sun, hour partsun_ra_min– Right Ascension of Sun, minutes partsun_ra_sec– Right Ascension of Sun, seconds partsun_dec_deg– Declination of Sun, degrees partsun_dec_min– Declination of Sun, minutes partsun_dec_sec– Declination of Sun, seconds part