Slots
- decrementSource
-
Weekday decrement()Return the day before this weekday.
- friSource
-
static Weekday friFriday
- fromStrSource
-
static Weekday? fromStr(Str name, Bool checked := true)Return the Weekday instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- incrementSource
-
Weekday increment()Return the day after this weekday.
- localeAbbrSource
-
Str localeAbbr()Get the abbreviated name for the current locale. Configured by the
sys::<name>Abbrlocalized property. - localeFullSource
-
Str localeFull()Get the full name for the current locale. Configured by the
sys::<name>Fulllocalized property. - localeStartOfWeekSource
-
static Weekday localeStartOfWeek()Get the first day of the week for the current locale. For example in the United States,
sunis considered the start of the week. Configured bysys::weekdayStartlocalized property. - monSource
-
static Weekday monMonday
- satSource
-
static Weekday satSaturday
- sunSource
-
static Weekday sunSunday
- thuSource
-
static Weekday thuThursday
- toLocaleSource
-
Str toLocale(Str? pattern := null)Return the weekday as a localized string according to the specified pattern. The pattern rules are a subset of the
DateTime.toLocale:WWW Three letter abbr weekday Tue WWWW Full weekday name Tuesday
If pattern is null it defaults to "WWW". Also see localeAbbr and localeFull.
- tueSource
-
static Weekday tueTuesday
- valuesSource
-
static Weekday[] valuesList of Weekday values indexed by ordinal
- wedSource
-
static Weekday wedWednesday