@TestpublicvoidgetAppointDate(){ZonedDateTime dateTime =ZonedDateTime.of(LocalDate.now(),LocalTime.of(10,5),ZoneId.systemDefault());Date from =Date.from(dateTime.toInstant());System.out.println(dateTime.toString());System.out.println(from.toLocaleString());}