protected bool Equals(DateRange other) { return(From.Equals(other.From) && To.Equals(other.To)); }
public bool Overlaps(DateRange range) { return(this.Equals(range) || this.From < range.To && this.To > range.From); }