Structsยง
- Date
- A representation of a civil date in the Gregorian calendar.
- Date
Arithmetic - Options for
Date::checked_addandDate::checked_sub. - Date
Difference - Options for
Date::sinceandDate::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
signfrom the givenyear/month. - month_
add_ ๐overflowing - Adds the given span of months to the
monthgiven. - saturate_
day_ ๐in_ month - Saturates the given day in the month.