dow
pub fn dow(y: usize, m: usize, d: usize) -> Day
Return the day which the given date corresponds to.
y
m
d
use dow::Day; let day = dow::dow(2017, 7, 2); assert_eq!(day, Day::Sunday);