Companion

object Companion

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
systemDefault
Link copied to clipboard
common

Returns the definition of a week according to the current system settings. This may differ from the definition associated with the default locale on platforms that allow this to be customized, such as iOS and macOS.

fun systemDefault(): WeekSettings
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

ISO
Link copied to clipboard
common

The ISO-8601 calendar system's definition of a week, where the first day of the week is Monday and the first week of the year has a minimum of 4 days.

val ISO: WeekSettings
SUNDAY_START
Link copied to clipboard
common

A definition of a week that starts on Sunday with a minimum of 1 day in the first week of the year.

val SUNDAY_START: WeekSettings