type-parser
type-parser copied to clipboard
Support for java.time classes
It would be great if the type parser could support date and time classes from the java.time library:
- java.time.LocalDate
- java.time.LocalTime
- java.time.LocalDateTime
This sounds like an excellent idea 👍
How about using these methods to parse the input string?
LocalDate.parse("some-input-string");
LocalTime.parse("some-input-string");
LocalDateTime.parse("some-input-string");
which uses the default java.time.format.DateTimeFormatter