private static void check(long minStamp, long maxStamp) {
    if (minStamp < 0 || maxStamp < 0) {
      throw new IllegalArgumentException(
        "Timestamp cannot be negative. minStamp:" + minStamp + ", maxStamp:" + maxStamp);
    }
    if (maxStamp < minStamp) {
      throw new IllegalArgumentException("maxStamp is smaller than minStamp");
    }
  }
Represents interval [minStamp, maxStamp)
@param minStamp the minimum timestamp, inclusive
@param maxStamp the maximum timestamp, exclusive
@throws IllegalArgumentException if either <0,
hbase-common/src/main/java/org/apache/hadoop/hbase/io/TimeRange.java