Skip to main content

NaiveDateRange

Type Alias NaiveDateRange 

Source
pub type NaiveDateRange = RangeInclusive<NaiveDate>;
Expand description

Represents a range from one date to another (inclusive on both ends)

§Examples

let range: NaiveDateRange = NaiveDate::from_ymd(1, 1, 2025)..=NaiveDate::from_ymd(12, 31, 2025);

Aliased Type§

pub struct NaiveDateRange { /* private fields */ }