public int CompareTo(CompletionTime <T> other) { // No end means indefinite so they come last. if (End == null) { return(other.End == null ? 0 : 1); } return(other.End == null ? -1 : End.Value.CompareTo(other.End.Value)); }
public bool Equals(CompletionTime <T> other) { return(other.End.Equals(End)); }