[][src]Function date_calculations::previous_quarter

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

Returns the first day of the previous quarter.

If the current date falls in the first quarter of the year, this will shift to the last quarter of the previous year.