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 of rest java.time.* values wanted #131

Closed
plokhotnyuk opened this issue Apr 9, 2019 · 2 comments
Closed

Support of rest java.time.* values wanted #131

plokhotnyuk opened this issue Apr 9, 2019 · 2 comments

Comments

@plokhotnyuk
Copy link
Contributor

plokhotnyuk commented Apr 9, 2019

Currently DSL-JSON supports only: LocalDate, LocalDateTime, OffsetDateTime, partially ZonedDateTime (without optional timezones, see #130), Month and DayOfWeek as Java enums

Wanted support of ISO-8601 representation (with IANA timezones) for:
LocalTime
Instant
OffsetTime
ZoneOffset
ZoneId
Year
YearMoth
MonthDay

@zapov
Copy link
Member

zapov commented Apr 17, 2019

Some of this is useful, such as LocalTime and maybe OffsetTime
Not sure about the others.
I have never used them as data types for APIs so it's hard for me to see when could they be useful.
Do you have some use case example?

@zapov
Copy link
Member

zapov commented Jun 11, 2023

Most relevant types are now in base library. Others can be registered as any other custom type

@zapov zapov closed this as completed Jun 11, 2023
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