withPreviousOrSameDayOfWeek

fun LocalDateTime.withPreviousOrSameDayOfWeek(dayOfWeek: DayOfWeek, zone: TimeZone): LocalDateTime

Returns a new LocalDateTime that has either the same (if this has the same day of week as dayOfWeek) or the previous dayOfWeek.