public static TimeUnitRange of(TimeUnit startUnit, TimeUnit endUnit) {
      return MAP.get(new Pair<>(startUnit, endUnit));
    }
Returns a {@code TimeUnitRange} with a given start and end unit.

@param startUnit Start unit
@param endUnit End unit
@return Time unit range, or null if not valid
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/DateTimeUtils.java