Crate doomsday

Source

Re-exports§

pub use Day::*;
pub use Month::*;

Structs§

Doomsday
Behold the 💥 doomsday of a year

Enums§

Day
🜨 - The seven days in a week
Month
🝱 - The twelve months of the year

Constants§

FIRST_LEAP_YEAR
The initial leap year (actually of 11 years).

Functions§

day_of_week
Return the day of the week for a given year, month, day.
is_leap
Return true for given years which are defined to be leap years.
leaps
Number of leap years since (not including) FIRST_LEAP_YEAR.