public bool IsAfter(Shift shift) { return(Start > shift.End); }
private bool ShiftsOverlap(Shift shift, Shift newShift) { return(shift.Start <= newShift.Start && newShift.Start <= shift.End || shift.Start <= newShift.End && newShift.End <= shift.End); }
public bool IsBefore(Shift shift) { return(End < shift.Start); }