public static DateTimeFormatter getDateTimeFormatter(String formatStr) {
        DateTimeFormatter formatter = DATE_TIME_FORMATTER_MAP.get(formatStr);
        if (formatter != null) {
            return formatter;
        }
        return TIME_FORMATTER_MAP.get(formatStr);
    }
Time calculation

@param dateStr      Time parameter string
@param intervalInfo Interval parsing results
@param isPositive   True is positive, false is negative
@return Calculation result string
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/process/utils/DateUtil.java