businessDaysUntil

fun LocalDate.businessDaysUntil(to: LocalDate): Int(source)

Returns the number of business days (Mon–Fri) between this date and to. Example: LocalDate(2024, 3, 4).businessDaysUntil(LocalDate(2024, 3, 11)) → 5