nextBusinessDay method
Returns the next business day.
If this is already a business day, returns a copy of this. Otherwise, returns the next date that is a business day.
Implementation
Hora nextBusinessDay([
BusinessDayConfig config = BusinessDayConfig.standard,
]) {
var current = this;
while (!current.isBusinessDay(config)) {
current = current.add(1, TemporalUnit.day);
}
return current;
}