Skip to main content

stretches

Function stretches 

Source
pub fn stretches(
    windows: &[AdminWindow],
    date: Date,
    zone: &TimeZone,
    anything: bool,
) -> Vec<(i64, i64, Area)>
Expand description

The stretches of date’s hours, as (start, end, kinds open), Unix seconds, in order: where windows of several kinds overlap, one stretch open to each; with anything, every window is open to every kind.