public boolean includesTimeRange(final TimeRange tr) {
    if (this.allTime) {
      return true;
    }
    assert tr.getMin() >= 0;
    return getMin() < tr.getMax() && getMax() >= tr.getMin();
  }
Check if the range has any overlap with TimeRange
@param tr TimeRange
@return True if there is overlap, false otherwise
hbase-common/src/main/java/org/apache/hadoop/hbase/io/TimeRange.java