pub fn plan_windows(
from: DateTime<FixedOffset>,
to: DateTime<FixedOffset>,
window: Option<WindowStep>,
tz: Tz,
) -> CliResult<Vec<TimeChunk>>Expand description
Chunk [from, to) into contiguous half-open windows of window (the last
window truncated at to). window: None = the whole range as one unit.
Window arithmetic is absolute (instants), so units never gap or overlap —
including across DST transitions; boundaries are re-rendered in tz so
${now.*} tokens see local wall-clock time.