core / io.islandtime.operators / weekRange

weekRange

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) val Date.weekRange: DateRange

The date range of the ISO week that this date falls within.

The ISO week starts on Monday and ends on Sunday.

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Date.weekRange(settings: WeekSettings): DateRange

The date range of the week that this date falls within. The first day of the week will be determined by settings.

(iosArm64, iosX64, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun Date.weekRange(locale: <ERROR CLASS>): DateRange

The date range of the week that this date falls within. The first day of the week will be determined by locale.

(jvm) fun Date.weekRange(locale: Locale): DateRange

The date range of the week that this date falls within. The first day of the week will be determined by locale.