private static long parseTimestampMillis(String dateStr, String format, TimeZone tz)
      throws ParseException {
    SimpleDateFormat formatter = FORMATTER_CACHE.get(format);
    formatter.setTimeZone(tz);
    return formatter.parse(dateStr).getTime();
  }
Parse date time string to timestamp based on the given time zone and format. Returns null if
parsing failed.

@param dateStr the date time string
@param format date time string format
@param tz the time zone
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/DateTimeUtils.java