language/java

형변환-LocalDate

datajoy 2019. 10. 10. 23:46

//yyyy-MM-dd

String date = "2016-08-16";

LocalDate localDate = LocalDate.parse(date);