public static LocalDate epochToDate(Object obj) {
        if (obj instanceof Long) {
            return LocalDate.ofEpochDay((Long) obj);
        }
        if (obj instanceof Integer) {
            return LocalDate.ofEpochDay((Integer) obj);
        }
        throw new IllegalArgumentException(
                "Convert to LocalDate failed from unexpected value '" + obj + "' of type " + obj.getClass().getName());
    }
A utility used to change epoch dates into normal dates
<p/>
Example input: 0
Example output: 1970-01-01

@param obj the epoch date that is either long or int
@return the transformed local date
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/doris/src/main/java/org/apache/inlong/sort/doris/util/DorisParseUtils.java