withWeekends method

BusinessDayConfig withWeekends(
  1. Set<int> weekendDays
)

Creates a new config with custom weekend days.

Implementation

BusinessDayConfig withWeekends(Set<int> weekendDays) =>
    BusinessDayConfig(weekendDays: weekendDays, holidays: holidays);