Skip to main content

date_range

Function date_range 

Source
pub(crate) fn date_range(start: NaiveDate, end: NaiveDate) -> Vec<NaiveDate>
Expand description

Builds an inclusive list of UTC dates covered by an export request.

§Arguments

  • start - First date.
  • end - Last date, included. If it is before start the list is empty.

§Examples

date_range(2026-09-21, 2026-09-23) == [2026-09-21, 2026-09-22, 2026-09-23]