[−][src]Function date_calculations::beginning_of_week
pub fn beginning_of_week(date: &NaiveDate) -> Option<NaiveDate>
Returns the beginning of the week relative to the provided date.
Weeks begin on Sunday.
pub fn beginning_of_week(date: &NaiveDate) -> Option<NaiveDate>
Returns the beginning of the week relative to the provided date.
Weeks begin on Sunday.