public int BusinessDaysBetweenTwoDates(DateTime firstDate, DateTime secondDate, IHolidaysFactory holidaysFactory) { return(BusinessDaysBetweenTwoDates(firstDate, secondDate, holidaysFactory.CreateHolidays(firstDate, secondDate))); }
public FirstWeekdayHolidayShiftingDecorator(IHolidaysFactory originalFactory) { _originalFactory = originalFactory; }