/// <summary> /// Initializes a new instance of the <see cref="CalendarIterator"/> class. /// </summary> public WorkDayIterator(WorkCalendar calendar, long startDate, bool reverse) { _calendar = calendar; _reverse = reverse; _step = reverse ? -1 : 1; _startPoint = startDate; }
public WorkDayCollection(WorkCalendar calendar, long startDate, bool reverse) { _iter = new WorkDayIterator(calendar, startDate, reverse); }