Skip to content

[Java] Threetenbp dates support#4029

Merged
wing328 merged 6 commits into
swagger-api:2.3.0from
cbornet:threetenbp
Nov 4, 2016
Merged

[Java] Threetenbp dates support#4029
wing328 merged 6 commits into
swagger-api:2.3.0from
cbornet:threetenbp

Conversation

@cbornet

@cbornet cbornet commented Oct 18, 2016

Copy link
Copy Markdown
Contributor

This is a PR to bring support for threetenbp dates to Java based codegens and use it as default date lib:

  • compatible with java 6/7
  • better design than joda (smaller footprint and method count)
  • nanosecond precision
  • easier to migrate to java8+ java.time when possible

Done for:

  • Java/Feign
  • Java/okhttp-gson
  • Java/jersey1
  • Java/jersey2
  • Java/retrofit2
  • Spring MVC
  • Spring Boot
  • Spring Cloud Feign
  • Groovy (I have insufficient skills in Groovy to do it)
  • Java Inflector (currently no way to customize inflector's objectmapper)
  • JaxRS/jersey1
  • JaxRS/jersey2
  • JaxRS/resteasy
  • JaxRS/cxf
  • JaxRS/spec
  • JaxRS/cxf-cdi

Note: this PR can be merged any time. I'll add the remaining languages if I have time but that can be in later PRs.

Fix #3688
Fix #3413
Fix #3842

@cbornet

cbornet commented Oct 27, 2016

Copy link
Copy Markdown
Contributor Author

Rebased conflicts

@wing328

wing328 commented Nov 2, 2016

Copy link
Copy Markdown
Contributor

Reviewing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants