There are multiple methods which return Date such as GHObject#getUpdatedAt().
the old java Date api should really be replaced with one of the following:
Instant (imo this would be the best pick)
LocalDateTime
ZonedDateTime
since a 2.x version is currently being made, now would be the best time to replace it.
it is recommended to avoid the old date-time api and instead use the newer api. many of the methods on Date are even marked as deprecated.
There are multiple methods which return
Datesuch asGHObject#getUpdatedAt().the old java
Dateapi should really be replaced with one of the following:Instant(imo this would be the best pick)LocalDateTimeZonedDateTimesince a 2.x version is currently being made, now would be the best time to replace it.
it is recommended to avoid the old date-time api and instead use the newer api. many of the methods on
Dateare even marked as deprecated.