val Date.weekOfWeekBasedYear: Intval DateTime.weekOfWeekBasedYear: Intval OffsetDateTime.weekOfWeekBasedYear: Intval ZonedDateTime.weekOfWeekBasedYear: Int
The week number used in the ISO week date system.
See Also
fun Date.weekOfWeekBasedYear(settings: WeekSettings): Intfun DateTime.weekOfWeekBasedYear(settings: WeekSettings): Intfun OffsetDateTime.weekOfWeekBasedYear(settings: WeekSettings): Intfun ZonedDateTime.weekOfWeekBasedYear(settings: WeekSettings): Int
The week number of the week-based year, calculated using the week definition in settings.
See Also
fun Date.weekOfWeekBasedYear(locale: <ERROR CLASS>): Intfun DateTime.weekOfWeekBasedYear(locale: <ERROR CLASS>): Intfun OffsetDateTime.weekOfWeekBasedYear(locale: <ERROR CLASS>): Intfun ZonedDateTime.weekOfWeekBasedYear(locale: <ERROR CLASS>): Int
The week number of the week-based year, calculated using the week definition associated with the provided locale.
Keep in mind that that the system's calendar settings may differ from that of the default locale on some platforms. To respect the system calendar settings, use WeekSettings.systemDefault instead.
See Also
fun Date.weekOfWeekBasedYear(locale: Locale): Intfun DateTime.weekOfWeekBasedYear(locale: Locale): Intfun OffsetDateTime.weekOfWeekBasedYear(locale: Locale): Intfun ZonedDateTime.weekOfWeekBasedYear(locale: Locale): Int
The week number of the week-based year, calculated using the week definition associated with the provided locale.
Keep in mind that that the system's calendar settings may differ from that of the default locale on some platforms. To respect the system calendar settings, use WeekSettings.systemDefault instead.
See Also