enum Month
source · line 6public
public enum Month : Equals<Month>, Compare<Month>, Hash, ToString
- Supertype
Equals<Month> - Supertype
Compare<Month> - Supertype
Hash - Supertype
ToString
A Gregorian month, numbered January = 1 through December = 12.
variant November
source · line 50public
November
Gregorian month 11, November.
function hash
source · line 75public
public override fun hash(): Long
- Overrides
hash
Computes a hash consistent with component equality.
variant June
source · line 30public
June
Gregorian month 6, June.
variant July
source · line 34public
July
Gregorian month 7, July.
variant March
source · line 18public
March
Gregorian month 3, March.
variant September
source · line 42public
September
Gregorian month 9, September.
variant April
source · line 22public
April
Gregorian month 4, April.
variant October
source · line 46public
October
Gregorian month 10, October.
variant May
source · line 26public
May
Gregorian month 5, May.
variant August
source · line 38public
August
Gregorian month 8, August.
variant December
source · line 54public
December
Gregorian month 12, December.
function toString
source · line 79public
public override fun toString(): String
- Overrides
toString
Returns the English month name.
function equals
source · line 67public
public override operator fun equals(other: Month): Boolean
- Overrides
equals
Compares the stored value components for equality.
parameter other
source · line 67public
other: Month
function compareTo
source · line 71public
public override operator fun compareTo(other: Month): Long
- Overrides
compareTo
Orders values by their chronological or numeric value; only the result sign is significant.
parameter other
source · line 71public
other: Month
variant February
source · line 14public
February
Gregorian month 2, February.
variant January
source · line 10public
January
Gregorian month 1, January.
property number
source · line 59public
public val number: Int
get: public read-only
The Gregorian month number in 1..12.
getter get
source · line 59public
get(): Int