pub fn pred_month(date: NaiveDate) -> NaiveDate
Creates a date with the previous month based on the given date. panics if year, month or day doesnt exist.