core / io.islandtime.operators / startOfWeek

startOfWeek

(iosArm64, iosX64, jvm, macosX64) val Date.startOfWeek: Date

The date at the start of the ISO week that this date falls in.

The ISO week starts on Monday and ends on Sunday.

(iosArm64, iosX64, jvm, macosX64) val DateTime.startOfWeek: DateTime
val OffsetDateTime.startOfWeek: OffsetDateTime
val ZonedDateTime.startOfWeek: ZonedDateTime

The date-time at the first instant of the ISO week that this date-time falls in.

The ISO week starts on Monday and ends on Sunday.