...
For a date, the format is
%yyyy-%mm-%dd
and is of java type LocalDate.For a time, the format is
%hh:%nn:%ss
. If extended to include microseconds, the format is%hh:%nn:%ss.x
wherex
gives the number of decimal places seconds is given to. time is of type LocalTime.For a timestamp, the format is the date format followed by the time format. timestamp Timestamp is of type LocalDateTime.
...