dow: Day of the Week
Return the day of the week a specific date falls on (uses Tomohiko Sakamoto's algorithm).
Usage
Add this to your Cargo.toml
:
[]
= "0.1"
and this to your crate root:
extern crate dow;
use Day;
and then you can use it as follows:
let day = dow;
assert_eq!;