示例#1
0
 public bool IsAfter(Shift shift)
 {
     return(Start > shift.End);
 }
示例#2
0
 private bool ShiftsOverlap(Shift shift, Shift newShift)
 {
     return(shift.Start <= newShift.Start && newShift.Start <= shift.End ||
            shift.Start <= newShift.End && newShift.End <= shift.End);
 }
示例#3
0
 public bool IsBefore(Shift shift)
 {
     return(End < shift.Start);
 }