| You say it should create the LocalDate like LocalDate.of( date.getYear(), date.getMonth() + 1, date.getDate() ) instead? Sounds ok to me. Since java.sql.Date has no time information any time zone handling is IMO wrong. The use of toLocalDate() is thus wrong. |