Searched refs:weekday_from_u32_mod7 (Results 1 – 1 of 1) sorted by relevance
345 weekday_from_u32_mod7((of >> 4) + (of & 0b111)) in weekday()353 (weekord / 7, weekday_from_u32_mod7(weekord)) in isoweekdate_raw()500 const fn weekday_from_u32_mod7(n: u32) -> Weekday { in weekday_from_u32_mod7() function514 use super::weekday_from_u32_mod7;894 assert_eq!(weekday_from_u32_mod7(i), Weekday::try_from((i % 7) as u8).unwrap()); in test_weekday_from_u32_mod7()896 assert_eq!(weekday_from_u32_mod7(u32::MAX), Weekday::Thu); in test_weekday_from_u32_mod7()