Skip to main content

naive_date

Function naive_date 

Source
pub fn naive_date(year: i32, month: u32, day: u32) -> Option<NaiveDate>
Expand description

Construct a NaiveDate from (year, month, day) with i32/u32 arguments.

Wraps jiff::civil::date which takes (i16, i8, i8). Returns None if the date is invalid.