class IntEpochDaysToLocalDateMapper
implements TypeMapper<Integer, LocalDate> {

    @Override
    public String getLabel() {
        return "Int (Epoch Day) to LocalDate";
    }

    @Override
    public Type getJavaType(Column column) {
        return LocalDate.class;
    }

    @Override
    public LocalDate toJavaType(Column column, Class<?> entityType, Integer value) {
        return value == null ? null : LocalDate.ofEpochDay(value);
    }

    @Override
    public Integer toDatabaseType(LocalDate value) {<FILL_FUNCTION_BODY>}

    @Override
    public Ordering getOrdering() {
        return Ordering.RETAIN;
    }
}

        return value == null ? null : (int) value.toEpochDay();
    
<no_super_class>