Skip to main content

no_leap_days

Function no_leap_days 

fn no_leap_days(start: NaiveDate, end: NaiveDate) -> f64
Expand description

NL/365 day numerator: actual days minus every 29 February d with start < d <= end — equivalent to mapping both dates onto a 365-day no-leap serial (a leap-day endpoint collapses onto 28 February).