pred_month

Function pred_month 

Source
pub fn pred_month(date: NaiveDate) -> NaiveDate
Expand description

ยงPanics

Creates a date with the previous month based on the given date. panics if year, month or day doesnt exist.