System.out.println(LocalDate.parse("20121212",BASIC_ISO_DATE));
System.out.println(LocalDate.parse("2012-12-12",ISO_DATE));
System.out.println(LocalDateTime.parse("2012-12-12T12:12:12",ISO_DATE_TIME));
字符串 转 LocalDate
最新推荐文章于 2024-06-22 11:08:31 发布