Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for java.time classes #50

Open
Eriq606 opened this issue Jan 15, 2024 · 1 comment
Open

Support for java.time classes #50

Eriq606 opened this issue Jan 15, 2024 · 1 comment

Comments

@Eriq606
Copy link

Eriq606 commented Jan 15, 2024

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
@drapostolos
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants