pub fn worked<'a>(
tasks: impl IntoIterator<Item = &'a Task>,
from: DateTime<Local>,
to: DateTime<Local>,
now: DateTime<Local>,
) -> DurationExpand description
Time worked on any of tasks inside [from, to): time two of them ran at once counts once (see
covered), so agents’ tasks running in parallel don’t make a day longer than it was.