public virtual bool InRange(DateTime date, DateRange range) {
     return InRange(date, range.Start, range.End);
 }
예제 #2
0
 internal bool ContainsAny(DateRange range) {
     if (range.End >= Start)
         return End >= range.Start;
     return false;
 }