Beispiel #1
0
 public bool IsAfter(Shift shift)
 {
     return(Start > shift.End);
 }
Beispiel #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);
 }
Beispiel #3
0
 public bool IsBefore(Shift shift)
 {
     return(End < shift.Start);
 }