//core/io.islandtime/DayOfWeek/number
number¶
common
fun number(settings: WeekSettings): Int
The day of week number (1-7) according to the provided settings. Typically, the week will start on either Monday, Sunday, or Saturday.
common
fun number(locale: Locale): Int
The day of week number (1-7) according to the specified locale. Typically, the week will start on either Monday, Sunday, or Saturday. The number returned may differ between platforms.
common
The ISO day of week number.
The ISO week starts on Monday (1) and ends on Sunday (7).