I am getting the following exception while trying to convert java.util.Date to java.time.LocalDate.
java.util.Date
java.time.LocalDate
java.time.DateTimeException: U
To obtain a ZonedDateTime from a Date you can use:
calculateFromDate.toInstant().atZone(ZoneId.systemDefault())
You can then call the toLocalDate method if you need a LocalDate. See also: Convert java.util.Date to java.time.LocalDate
toLocalDate