day_window

Function day_window 

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

The UTC day window containing now_epoch_s: (window_start_epoch_s, next_reset_epoch_s). Pure; floor semantics for any input (negative epochs round toward the past, matching euclidean division).