P E N C I L
Login
TimeZone

Supports LocalDate, LocalTime, ZonedDateTime

ZonedDateTime => convert to SQL with local system time, there is no timezone information in DB.

Date needs @Temporal to be exact. Default: the same as ZonedDateTime (ie. convert to local time zone and put it in sql to DB)

Type => Data in SQL ()

java.sql.Date => "2019-04-14"

java.util.Date (no annotation) => 2019-04-14 22:40:17.151 (system timezone)

java.sql.Timestamp => 2019-04-14 22:40:17.151 (system timezone)

ZonedDateTime => 2019-04-14 22:40:17.151 (system timezone)

Calendar=> 2019-04-14 22:40:17.151 (system timezone)

The time is always converted to local system timezone and information time zone is removed in the INSERT SQL

Thus, when load it back. Calendar and ZonedDateTime have the timeZone is system timezone.