vertx-codegen icon indicating copy to clipboard operation
vertx-codegen copied to clipboard

feat: Support more java time types

Open thced opened this issue 4 years ago • 3 comments

Codegen is only able to generate converters that handles Java Instants. This PR enables the generation of converters that additionally supports LocalTime, LocalDate, LocalDateTime, OffsetDateTime and ZonedDateTime properties.

thced avatar Jan 07 '22 11:01 thced

@thced I have the same problem that Codegen do not support LocalDateTime,this is a very useful pull requests,! @vietj hi!I wondering when it can be merged into the trunk.

moxi-born avatar Mar 06 '22 04:03 moxi-born

I am also working on the (core) support. But I have limited time and also a few issues to solve there before I can open a PR.

thced avatar Mar 06 '22 07:03 thced

@pmlopes @vietj I am a bit unsure whether I should keep the ZonedDateTime in this PR? The actual "zone" is not part of ISO, and I therefore skipped implementing that in https://github.com/eclipse-vertx/vert.x/pull/4315

thced avatar Mar 19 '22 23:03 thced