Skip to main content

start_of_week

Function start_of_week 

Source
pub fn start_of_week<T: TimeZone>(t: &DateTime<T>) -> DateTime<Tz>
Available on crate feature timex only.
Expand description

t 所在自然周的起点 (业务时区周一 00:00:00)