public static boolean isEmpty(Object str) {
        return str == null || str.toString().isEmpty();
    }
Parse date time form string format to unix format.
Only support <b>yyyyMMdd</b>, <b>yyyyMMddHH</b> and <b>yyyyMMddHHmm</b> precision
whose length is 8, 10 and 12 respectively.

@param value Date time in string format.
@return Unix date time.
inlong-common/src/main/java/org/apache/inlong/common/util/StringUtil.java