public static long convertToCurrPrecision(long sourceTime, TimeUnit sourceUnit) {
    return convertToCurrPrecisionFunction.apply(sourceTime, sourceUnit);
  }
convert specific precision timestamp to current precision timestamp
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/TimestampPrecisionUtils.java