pub fn moonrise_and_moonset(
    local_date_day: f64,
    local_date_month: u32,
    local_date_year: u32,
    is_daylight_saving: bool,
    zone_correction_hours: i32,
    geog_long_deg: f64,
    geog_lat_deg: f64
) -> (f64, f64, f64, u32, u32, f64, f64, f64, f64, u32, u32, f64)
Expand description

Calculate date/time of local moonrise and moonset.

§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_long_deg – Geographical longitude, in degrees.
  • geog_lat_deg – Geographical latitude, in degrees.

§Returns

  • mr_lt_hour – Moonrise, local time (hour part)
  • mr_lt_min – Moonrise, local time (minutes part)
  • mr_local_date_day – Moonrise, local date (day)
  • mr_local_date_month – Moonrise, local date (month)
  • mr_local_date_year – Moonrise, local date (year)
  • mr_azimuth_deg – Moonrise, azimuth (degrees)
  • ms_lt_hour – Moonset, local time (hour part)
  • ms_lt_min – Moonset, local time (minutes part)
  • ms_local_date_day – Moonset, local date (day)
  • ms_local_date_month – Moonset, local date (month)
  • ms_local_date_year – Moonset, local date (year)
  • ms_azimuth_deg – Moonset, azimuth (degrees)