예제 #1
0
 protected bool Equals(DateRange other)
 {
     return(From.Equals(other.From) && To.Equals(other.To));
 }
예제 #2
0
 public bool Overlaps(DateRange range)
 {
     return(this.Equals(range) ||
            this.From < range.To && this.To > range.From);
 }