month_window

Function month_window 

Source
pub fn month_window(now_epoch_s: i64) -> (i64, i64)
Expand description

The UTC month window containing now_epoch_s: (window_start_epoch_s, next_reset_epoch_s). Calendar-correct across month lengths and leap years (the standard civil-from-days algorithm; no calendar dependency). Pure.