public void Setup()
 {
     workdayCalendar = new WorkdayCalendar();
     workdayCalendar.SetWorkDayStartAndStop(new TimeSpan(8, 0, 0), new TimeSpan(16, 0, 0));
     workdayCalendar.SetHoliday(new DateTime(2004, 5, 17, 0, 0, 0), true);
     workdayCalendar.SetHoliday(new DateTime(2004, 5, 27, 0, 0, 0), false);
 }
예제 #2
0
 public void Setup()
 {
     workdayCalendar = new WorkdayCalendar();
     workdayCalendar.SetWorkDayStartAndStop(new TimeSpan(8, 0, 0), new TimeSpan(16, 0, 0));
 }