示例#1
0
 /// <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;
 }
示例#2
0
 public WorkDayCollection(WorkCalendar calendar, long startDate, bool reverse)
 {
     _iter = new WorkDayIterator(calendar, startDate, reverse);
 }