public static LocalTime parseLocalTime(String dateStr) {
        LocalTime dateParserObj = null;
        for (DateTimeFormatter dateTimeFormatter : TIME_FORMATTER_MAP.values()) {
            try {
                dateParserObj = LocalTime.parse(dateStr, dateTimeFormatter);
            } catch (Exception ignored) {

            }
            if (dateParserObj != null) {
                return dateParserObj;
            }
        }
        return null;
    }
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