
Slots
- apr
-
static Month apr
- aug
-
static Month aug
- dec
-
static Month dec
- decrement
-
Month decrement()
Return the month before this month.
- feb
-
static Month feb
- fromStr
-
static Month fromStr(Str name, Bool checked := true)
Return the Month instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- increment
-
Month increment()
Return the month after this month.
- jan
-
static Month jan
- jul
-
static Month jul
- jun
-
static Month jun
- localeAbbr
-
Str localeAbbr()
Get the abbreviated name for the current locale. Configured by the
sys::<name>Abbr
localized property. - localeFull
-
Str localeFull()
Get the full name for the current locale. Configured by the
sys::<name>Full
localized property. - mar
-
static Month mar
- may
-
static Month may
- nov
-
static Month nov
- numDays
-
Return the number of days in this month for the specified year.
- oct
-
static Month oct
- sep
-
static Month sep
- toLocale
-
Str toLocale(Str pattern := null)
Return the month as a localized string according to the specified pattern. The pattern rules are a subset of the
DateTime.toLocale
:M One/two digit month 6, 11 MM Two digit month 06, 11 MMM Three letter abbr month Jun, Nov MMMM Full month name June, November
If pattern is null it defaults to "MMM". Also see localeAbbr and localeFull.
- values
-
static Month[] values
List of Month values indexed by ordinal