public static boolean satisfyTimePartition(Filter timeFilter, long partitionId) {
    long partitionStartTime;
    if (originMayCauseOverflow) {
      partitionStartTime =
          BigInteger.valueOf(partitionId)
              .multiply(bigTimePartitionInterval)
              .add(bigTimePartitionOrigin)
              .longValue();
    } else {
      partitionStartTime = partitionId * timePartitionInterval + timePartitionOrigin;
    }
    return satisfyPartitionStartTime(timeFilter, partitionStartTime);
  }
Time range for dividing database, the time unit is the same with IoTDB's TimestampPrecision
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/TimePartitionUtils.java