type-parser icon indicating copy to clipboard operation
type-parser copied to clipboard

Support for java.time classes

Open Eriq606 opened this issue 1 year ago • 1 comments

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

Eriq606 avatar Jan 15 '24 20:01 Eriq606

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

drapostolos avatar Jan 16 '24 11:01 drapostolos