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 java.util.Date
methods using java.time.Instant
.
#2088
Support java.util.Date
methods using java.time.Instant
.
#2088
Conversation
de44b7e
to
2f4e355
Compare
You have a typo in the title - should be |
java.util.Data
Instant dependent methodsjava.util.Date
Instant dependent methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be accompanied by a port of InstantTest
in the unit-test-ext. This is important to make sure that relying on the ArithmeticException
is indeed correct.
Otherwise, LGTM. (Probably shouldn't be Draft anymore.)
|
7c777f5
to
de3d2a4
Compare
java.util.Date
Instant dependent methodsjava.util.Date
methods using java.time.Instant
.
This PR adds methods added in Java8 to
java.util.Date
that is methodtoInstant
andDate.from(_: Instant)
It should be rebased on top of merged #2079 as it contains bootstrap of
testsExt
project and on top of #2087 whereInstant.ofEpochSeconds
method used in tests was implemented.