Skip to main content

add_months_date

Function add_months_date 

Source
pub(crate) fn add_months_date(date: NaiveDate, months: i32) -> Option<NaiveDate>
Expand description

Add the given number of months to the given date.

Returns None when it will result in overflow.