[−][src]Function date_calculations::beginning_of_year
pub fn beginning_of_year(date: &NaiveDate) -> Option<NaiveDate>
Returns the first day of the year (January 1) of the current year.
pub fn beginning_of_year(date: &NaiveDate) -> Option<NaiveDate>
Returns the first day of the year (January 1) of the current year.