Date
struct DateCalendar date without a time of day or offset.
Remarks
Valid dates use year 1..9999, month 1..12, and a valid day for the selected month.
Instance fields
Instance members
Date
Adds calendar days.
int
Gets whole calendar days from this date until another date.
nuint
format(const this, overload char[] buffer)
ascribes CharFormatteroverload
Formats this date as YYYY-MM-DD.
byte
getDaysInMonth()
property
Gets the number of days in this date's month.
bool
getLeapYear()
property
Returns true when this date's year is a leap year.
Weekday
getWeekday()
property
Gets the weekday for this date.
bool
Returns true when this date has valid calendar fields.
Static members
Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.