fromWeekDate

Creates a Date from an ISO week date.

Parameters

day

the ISO day of week number, 1 (Monday) to 7 (Sunday)

week

the week number of the week-based year

year

the week-based year

fun Date.Companion.fromWeekDate(year: Int, week: Int, day: Int): Date

Creates a Date from a week date representation using the week definition in settings.

Parameters

day

the day of week number, 1-7

settings

the week definition to use when interpreting the year, week, and day

week

the week number of the week-based year

year

the week-based year

fun Date.Companion.fromWeekDate(year: Int, week: Int, day: Int, settings: WeekSettings): Date

Creates a Date from a week date representation using the week definition associated with the provided locale.

Parameters

day

the day of week number, 1-7

locale

the locale providing the week definition to use when interpreting the year, week, and day

week

the week number of the week-based year

year

the week-based year

fun Date.Companion.fromWeekDate(year: Int, week: Int, day: Int, locale: Locale): Date