WeekDay

enum WeekDay : Enum<WeekDay>

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

Entries

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

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