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 part
  • sun_ra_min – Right Ascension of Sun, minutes part
  • sun_ra_sec – Right Ascension of Sun, seconds part
  • sun_dec_deg – Declination of Sun, degrees part
  • sun_dec_min – Declination of Sun, minutes part
  • sun_dec_sec – Declination of Sun, seconds part