How Should I convert Instant to DateTime in Java?
Instant
to DateTime
in Java?ZoneId
to DateTimeZone
?答案 0 :(得分:-2)
for using datetime use timestamp which gives date time accuracy to exact seconds.for date time zone, jdk8 has api which gives u date time zone. for using timestamp in jpa, use sql time with annotation temporal.