pub fn within(
days: Vec<AgentDay>,
since: Option<NaiveDate>,
until: Option<NaiveDate>,
) -> Vec<AgentDay>Expand description
Keeps only the days within an inclusive date range.
The range exists for the employee who changed time zones mid-history: one run per stretch, each with the offset that stretch was recorded in. Both ends are optional, and an absent one means “no bound on that side”.