Searched refs:number_from_monday (Results 1 – 4 of 4) sorted by relevance
476 let first_to_dow = (7 + weekday.number_from_monday() - first.number_from_monday()) % 7; in from_weekday_of_month_opt()
481 WeekdayFromMon => (1, date.map(|d| i64::from(d.weekday().number_from_monday()))), in format_inner()
706 pub fn number_from_monday(&self) -> u32 { in number_from_monday() method
199 assert_eq!(dt.weekday().number_from_monday(), 5); // Mon=1, ..., Sun=7