Home
last modified time | relevance | path

Searched refs:number_from_monday (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/chrono/src/naive/
Ddate.rs476 let first_to_dow = (7 + weekday.number_from_monday() - first.number_from_monday()) % 7; in from_weekday_of_month_opt()
/external/rust/crates/chrono/src/format/
Dmod.rs481 WeekdayFromMon => (1, date.map(|d| i64::from(d.weekday().number_from_monday()))), in format_inner()
/external/rust/crates/chrono/src/
Dlib.rs706 pub fn number_from_monday(&self) -> u32 { in number_from_monday() method
/external/rust/crates/chrono/
DREADME.md199 assert_eq!(dt.weekday().number_from_monday(), 5); // Mon=1, ..., Sun=7