Skip to main content

event_spans

Function event_spans 

Source
pub fn event_spans(events: &[Occurrence], pause: u32) -> Vec<(i64, i64)>
Expand description

The time events hold: their margins (getting there and back, getting ready: demands), then a pause before and after; timed ones that hold time (Occurrence::holds_time: not cancelled, not transparent, not declined by you); shorter than a quarter of an hour, a quarter of an hour.