eclipse-passage / passage

Define and control license checks and usage constraints for OSGi / RCP / IDE
https://www.eclipse.org/passage/
Eclipse Public License 2.0
6 stars 8 forks source link

Replace java.util.Date with newer java.util.time.* in Passage's API? #1352

Open HannesWell opened 2 months ago

HannesWell commented 2 months ago

Passage uses the ancient java.util.Date class in its APIs. In Java-8 a new Date/Time API was introduced in the java.util.time which aims to be a better alternative to the Date class.

Since you seem to prepare a new major version of Passage, you maybe want to consider to migrate the APIs using java.util.Date to use the replacements from the java.util.time package instead?

There is for example the following article that describes the new APIs and outlines the migration: