What is the best way to convert a java.util.Date object to the new JDK 8/JSR-310 java.time.LocalDate?
java.util.Date
java.time.LocalDate
Date input = new Date(); Loca
What's wrong with this 1 simple line?
new LocalDateTime(new Date().getTime()).toLocalDate();