nextWorkingDay
fun NepaliDateConverter.nextWorkingDay(from: SimpleDate, provider: NepaliEventProvider, weekend: Set<Int> = NepaliWeekend.Default): SimpleDate(source)
First working day at or after from, skipping both weekend days and the dates provider says the institution is shut for.
If from is itself a working day, returns from unchanged. Otherwise scans forward day by day. Bounded scan: gives up after a year rather than looping forever on a policy that closes every day.
Throws
if no working day is found within 366 days of from.
fun NepaliDateConverter.nextWorkingDay(from: SimpleDate, policy: NepaliCalendarPolicy): SimpleDate(source)
First working day at or after from for the institution policy describes. Returns from itself when that is already a working day.