[][src]Function date_calculations::previous_year

pub fn previous_year(date: &NaiveDate) -> Option<NaiveDate>

Returns the first day of the year (January 1) of the previous year.