java.sql.Date から ZonedDateTime に変換しようとしています。これは私が使用しているコードです
ZonedDateTime.from(new java.util.Date(result.get(0).getTime()).toInstant())
ただし、次のエラーが発生します-
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.time.DateTimeException: Unable to obtain LocalDateTime from TemporalAccessor: 2016-09-29T18:30:00Z of type java.time.Instant
この変換を行う方法はありますか?