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

Calculate new moon and full moon instances.

§Arguments

  • is_daylight_saving – Is daylight savings in effect?
  • zone_correction_hours – Time zone correction, in hours.
  • local_date_day – Local date, day part.
  • local_date_month – Local date, month part.
  • local_date_year – Local date, year part.

§Returns

  • nm_local_time_hour – new Moon instant - local time (hour)
  • nm_local_time_min – new Moon instant - local time (minutes)
  • nm_local_date_day – new Moon instance - local date (day)
  • nm_local_date_month – new Moon instance - local date (month)
  • nm_local_date_year – new Moon instance - local date (year)
  • fm_local_time_hour – full Moon instant - local time (hour)
  • fm_local_time_min – full Moon instant - local time (minutes)
  • fm_local_date_day – full Moon instance - local date (day)
  • fm_local_date_month – full Moon instance - local date (month)
  • fm_local_date_year – full Moon instance - local date (year)