enum class Month
A month of the year.
(iosArm64, iosX64, jvm, macosX64)
JANUARY |
|
(iosArm64, iosX64, jvm, macosX64)
FEBRUARY |
|
(iosArm64, iosX64, jvm, macosX64)
MARCH |
|
(iosArm64, iosX64, jvm, macosX64)
APRIL |
|
(iosArm64, iosX64, jvm, macosX64)
MAY |
|
(iosArm64, iosX64, jvm, macosX64)
JUNE |
|
(iosArm64, iosX64, jvm, macosX64)
JULY |
|
(iosArm64, iosX64, jvm, macosX64)
AUGUST |
|
(iosArm64, iosX64, jvm, macosX64)
SEPTEMBER |
|
(iosArm64, iosX64, jvm, macosX64)
OCTOBER |
|
(iosArm64, iosX64, jvm, macosX64)
NOVEMBER |
|
(iosArm64, iosX64, jvm, macosX64)
DECEMBER |
(iosArm64, iosX64, jvm, macosX64)
firstDayOfCommonYear |
The day of the year corresponding to the month's first day in a common year. abstract val firstDayOfCommonYear: Int |
(iosArm64, iosX64, jvm, macosX64)
firstDayOfLeapYear |
The day of the year corresponding to the month's first day in a leap year. val firstDayOfLeapYear: Int |
(iosArm64, iosX64, jvm, macosX64)
lengthInCommonYear |
The number of days in the month in a common year. abstract val lengthInCommonYear: IntDays |
(iosArm64, iosX64, jvm, macosX64)
lengthInLeapYear |
The number of days in the month in a leap month. val lengthInLeapYear: IntDays |
(iosArm64, iosX64, jvm, macosX64)
number |
Get the ISO month number, from 1-12. val number: Int |
(iosArm64, iosX64, jvm, macosX64)
dayRangeIn |
The range of valid days for this month within a given year fun dayRangeIn(year: Int): IntRange |
(iosArm64, iosX64, jvm, macosX64)
firstDayOfYearIn |
The number of days into the year that this month's first date falls. This may vary depending on whether or not the year is a leap year. fun firstDayOfYearIn(year: Int): Int |
(iosArm64, iosX64, jvm, macosX64)
lastDayIn |
The last day of the month in a particular year. fun lastDayIn(year: Int): Int |
(iosArm64, iosX64, jvm, macosX64)
lastDayOfYearIn |
fun lastDayOfYearIn(year: Int): Int |
(iosArm64, iosX64, jvm, macosX64)
lengthIn |
Get the number of days in the month for a particular year. fun lengthIn(year: Int): IntDays |
(iosArm64, iosX64, jvm, macosX64)
minus |
Subtract months from this month, wrapping when the beginning or end of the year is reached. operator fun minus(months: IntMonths): Monthoperator fun minus(months: LongMonths): Month |
(iosArm64, iosX64, jvm, macosX64)
plus |
Add months to this month, wrapping when the beginning or end of the year is reached. operator fun plus(months: IntMonths): Monthoperator fun plus(months: LongMonths): Month |
(iosArm64, iosX64, jvm, macosX64)
MAX |
val MAX: Month |
(iosArm64, iosX64, jvm, macosX64)
MIN |
val MIN: Month |
(iosArm64, iosX64, jvm, macosX64)
APRIL |
|
(iosArm64, iosX64, jvm, macosX64)
AUGUST |
|
(iosArm64, iosX64, jvm, macosX64)
DECEMBER |
|
(iosArm64, iosX64, jvm, macosX64)
FEBRUARY |
|
(iosArm64, iosX64, jvm, macosX64)
JANUARY |
|
(iosArm64, iosX64, jvm, macosX64)
JULY |
|
(iosArm64, iosX64, jvm, macosX64)
JUNE |
|
(iosArm64, iosX64, jvm, macosX64)
MARCH |
|
(iosArm64, iosX64, jvm, macosX64)
MAY |
|
(iosArm64, iosX64, jvm, macosX64)
NOVEMBER |
|
(iosArm64, iosX64, jvm, macosX64)
OCTOBER |
|
(iosArm64, iosX64, jvm, macosX64)
SEPTEMBER |