Converts LocalDateTime to JavaScript Date.
Converts LocalDate to JavaScript Date.
Converts LocalTime to JavaScript Date.