Month

expect enum Month : Enum<Month>

The enumeration class representing the 12 months of the year.

actual enum Month : Enum<Month>
actual typealias Month = Month
actual enum Month : Enum<Month>

Entries

Link copied to clipboard

January, month #01, with 31 days.

Link copied to clipboard

February, month #02, with 28 days, or 29 in leap years.

Link copied to clipboard

March, month #03, with 31 days.

Link copied to clipboard

April, month #04, with 30 days.

Link copied to clipboard

May, month #05, with 31 days.

Link copied to clipboard

June, month #06, with 30 days.

Link copied to clipboard

July, month #07, with 31 days.

Link copied to clipboard

August, month #08, with 31 days.

Link copied to clipboard

September, month #09, with 30 days.

Link copied to clipboard

October, month #10, with 31 days.

Link copied to clipboard

November, month #11, with 30 days.

Link copied to clipboard

December, month #12, with 31 days.

Properties

name
Link copied to clipboard
val name: String
val name: String
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
val ordinal: Int
val ordinal: Int

Extensions

Link copied to clipboard
val Month.number: Int

The number of the Month. January is 1, December is 12.