public bool Equals(DateRange other) { return(other.StartDate == this.StartDate && other.EndDate == this.EndDate); }
public bool Overlaps(DateRange range) { return ((this.StartDate >= range.StartDate && this.StartDate < range.EndDate) || (range.StartDate >= this.StartDate && range.StartDate < this.EndDate)); }