WeekDay

enum WeekDay : Enum<WeekDay>

Enum, representing each day of the week - Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday.

Entries

MONDAY
Link copied to clipboard
MONDAY(1, 0)
Instance of WeekDay for the Monday.
TUESDAY
Link copied to clipboard
TUESDAY(2, 1)
Instance of WeekDay for the Tuesday.
WEDNESDAY
Link copied to clipboard
WEDNESDAY(3, 2)
Instance of WeekDay for the Wednesday.
THURSDAY
Link copied to clipboard
THURSDAY(4, 3)
Instance of WeekDay for the Thursday.
FRIDAY
Link copied to clipboard
FRIDAY(5, 4)
Instance of WeekDay for the Friday.
SATURDAY
Link copied to clipboard
SATURDAY(6, 5)
Instance of WeekDay for the Saturday.
SUNDAY
Link copied to clipboard
SUNDAY(7, 6)
Instance of WeekDay for the Sunday.

Properties

isoCode
Link copied to clipboard
val isoCode: Int
ISO-8601 standard code for day of the week, from 1 (Monday) to 7 (Sunday).
name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int