我需要将空字符串转换为 LocalDate 对象。我尝试使用
LocalDate.parse("");
但有一个例外说:
java.time.format.DateTimeParseException: Text '' could not be parsed at index 0
有人可以帮我吗。
java exception java-8
exception ×1
java ×1
java-8 ×1