pub fn covered(
spans: impl IntoIterator<Item = (DateTime<Local>, DateTime<Local>)>,
) -> DurationExpand description
The time spans (start, end) cover, counting once what several cover at the same moment: two tasks
worked on in parallel for an hour took an hour of the day, not two. Empty or reversed spans count nothing.