@Override
    public Integer toDatabaseType(LocalDate value) {
        return value == null ? null : (int) value.toEpochDay();
    }
Implementation of {@link TypeMapper} that takes a date specified as a number
of days since the unix epoch start.

@author Emil Forslund
@since  3.0.18
runtime-parent/runtime-typemapper/src/main/java/com/speedment/runtime/typemapper/time/IntEpochDaysToLocalDateMapper.java