healchow commented on code in PR #5809: URL: https://github.com/apache/inlong/pull/5809#discussion_r966590423
########## inlong-sdk/sort-sdk/src/main/java/org/apache/inlong/sdk/sort/util/StringUtil.java: ########## @@ -106,4 +245,26 @@ public static String formatDate(Date date) { return sdf.format(date); } + public static long parseDateTime(String value) { + try { + if (value.length() < 8) { Review Comment: What do the 8 and 9 mean here? Suggested adding a comment for them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org