☰
Module date
Structs
Constants
?
Module
time
::
date
source
·
[
−
]
Expand description
The
Date
struct and its associated
impl
s.
Structs
Date
Date in the proleptic Gregorian calendar.
Constants
CUMULATIVE_DAYS_IN_MONTH_COMMON_LEAP
🔒
The number of days up to and including the given month. Common years are first, followed by leap years.
DAYS_CUMULATIVE_COMMON_LEAP
🔒
Cumulative days through the beginning of a month in both common and leap years.
MAX_YEAR
🔒
The maximum valid year.
MIN_YEAR
🔒
The minimum valid year.