Пример #1
0
 public bool Overlaps(DateRange dateRange)
 {
     return Contains(dateRange.Start) || Contains(dateRange.End);
 }
Пример #2
0
 public bool Contains(DateRange dateRange)
 {
     return Contains(dateRange.Start) && Contains(dateRange.End);
 }