Skip to main content

kinds_on

Function kinds_on 

Source
pub fn kinds_on<'a>(
    windows: &'a [AdminWindow],
    date: Date,
    zone: &TimeZone,
) -> Vec<(Zoned, Zoned, &'a str)>
Expand description

Each window of date with what its hours are for, as (opening, closing, kind: “work”, “admin”, “leisure”), the earliest first.