pub fn lunar_eclipse_occurrence(
    local_date_day: f64,
    local_date_month: u32,
    local_date_year: u32,
    is_daylight_saving: bool,
    zone_correction_hours: i32
) -> (String, f64, u32, u32)
Expand description

Determine if a lunar eclipse is likely to occur.

§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.

§Returns

  • status – One of “Lunar eclipse certain”, “Lunar eclipse possible”, or “No lunar eclipse”.
  • event_date_day – Date of eclipse event (day).
  • event_date_month – Date of eclipse event (month).
  • event_date_year – Date of eclipse event (year).