Closed dhiogoboza closed 4 years ago
I am not sure that java.util.Date
class is deprecated. A few methods are though.
I wrote a test case that checks rastreio.TrackObject#getPostedAt()
for example. Please take a look:
Before 32166b1679cc1154ea2a2d08db4fc24d8697a2c6, parsing was not properly setting seconds and milliseconds of Date
s objects. Do you have any use case that java.util.Date
does not work or is using a deprecated API?
Yes, some methods are deprecated. I believe that using another solution will be better, but ok. I just use Calendar
as you metioned.
The fix in seconds and nanosecons resolve my issue, thanks.
Is it possible to you replace deprecated java.util.Date by another solution?