Skip to main content

is_within

Function is_within 

Source
pub fn is_within(window: &TimeWindow, current_hhmm: &str) -> bool
Expand description

The window decision against a current "HH:MM".

Midnight-wrapping when start > end, the plain span otherwise, and allowed whenever the bounds are missing (the reference’s fail-open except arm).