[Edit]
+
0
-
0
Java convert String to LocalDate
1 2 3 4// solution 1 String strDate = "24/12/2019"; DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy"); LocalDate localDate = LocalDate.parse(strDate, formatter); // 2019-12-24
1 2 3 4// solution 1 String strDate = "24/12/2019"; DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy"); LocalDate localDate = LocalDate.parse(strDate, formatter); // 2019-12-24