예제 #1
0
 /// <summary>
 /// Set all days in week as no working
 /// </summary>
 public void SetAllDaysNotWorks()
 {
     monday    = WCDayType.Weekend;
     tuesday   = WCDayType.Weekend;
     wednesday = WCDayType.Weekend;
     thursday  = WCDayType.Weekend;
     friday    = WCDayType.Weekend;
     saturday  = WCDayType.Weekend;
     sunday    = WCDayType.Weekend;
 }
예제 #2
0
 /// <summary>
 /// Set all days in week as working
 /// </summary>
 public void SetAllDaysWorks()
 {
     monday    = WCDayType.Workday;
     tuesday   = WCDayType.Workday;
     wednesday = WCDayType.Workday;
     thursday  = WCDayType.Workday;
     friday    = WCDayType.Workday;
     saturday  = WCDayType.Workday;
     sunday    = WCDayType.Workday;
 }