Skip to main content

is_quiet_hour

Function is_quiet_hour 

Source
fn is_quiet_hour(start: Option<u8>, end: Option<u8>) -> bool
Expand description

Returns true if the current local clock hour falls inside the configured quiet window.

Wrapping windows (e.g. 23:00 to 06:00) are supported.