📜  kotlin datetimeformatter - Kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:33.527000             🧑  作者: Mango

代码示例1
LocalDate date = LocalDate.now();
   String text = date.format(formatter);
   LocalDate parsedDate = LocalDate.parse(text, formatter);