示例#1
0
 public Unavailability(string name, int day, TimeOfDay start, TimeOfDay end)
     : base(day, start, end)
 {
     Name_ = name;
 }
示例#2
0
 public TimeOfWeek(int day, TimeOfDay time)
     : base(time)
 {
     Day_ = day;
 }
示例#3
0
 public Timeslot(int day, int startHour, int startMinute, int endHour, int endMinute)
 {
     Day_   = day;
     Start_ = new TimeOfDay(startHour, startMinute);
     End_   = new TimeOfDay(endHour, endMinute);
 }
示例#4
0
 public Timeslot(int day, TimeOfDay start, TimeOfDay end)
 {
     Day_   = day;
     Start_ = new TimeOfDay(start);
     End_   = new TimeOfDay(end);
 }
示例#5
0
 public Timeslot(Timeslot other)
 {
     this.Day_   = other.Day_;
     this.Start_ = new TimeOfDay(other.Start_);
     this.End_   = new TimeOfDay(other.End_);
 }
示例#6
0
 public Timeslot()
 {
     Day_   = -1;
     Start_ = TimeOfDay.Minimum;
     End_   = TimeOfDay.Maximum;
 }