Structsยง
- Date
- A representation of a civil date in the Gregorian calendar.
- Date
Arithmetic - Options for
Date::checked_add
andDate::checked_sub
. - Date
Difference - Options for
Date::since
andDate::until
. - Date
Series - An iterator over periodic dates, created by
Date::series
. - Date
With - A builder for setting the fields on a
Date
.
Enumsยง
- Date
With ๐Day - Encodes the โwith dayโ option of
DateWith
. - Date
With ๐Year - Encodes the โwith yearโ option of
DateWith
.
Functionsยง
- days_
in_ ๐month - Returns the number of days in the given year and month.
- iso_
week_ ๐start_ from_ year - Returns the Unix epoch day corresponding to the first day in the ISO 8601 week year given.
- month_
add_ ๐one - Adds or subtracts
sign
from the givenyear
/month
. - month_
add_ ๐overflowing - Adds the given span of months to the
month
given. - saturate_
day_ ๐in_ month - Saturates the given day in the month.