示例#1
0
 public bool ContainsExclusive(JwTimestampInterval ti)
 {
     if ( ti == null ) return false;
     return ContainsExclusive(ti.GetStart()) &&
         ContainsExclusive(ti.GetEnd());
 }
示例#2
0
 public bool Intersects(JwTimestampInterval ti)
 {
     if ( ti == null ) return false;
     if ( Contains(ti.GetStart()) ) return true;
     if ( Contains(ti.GetEnd()) )   return true;
     if ( ti.Contains(GetStart()) ) return true;
     return false;
 }