[][src]Function doomsday::day_of_week

pub fn day_of_week(year: usize, month: usize, day: usize) -> Day

Return the day of the week for a given year, month, day.

Example

use doomsday::*;
assert_eq!(Tuesday, day_of_week(2020, 04, 14));