Adding new methods to `X509Certificate` to return `Instant` instead of `Date` as well as moving away from `Date` in internal packages wherever possible.
------------- Commit messages: - comments - added testing for cert - Merge branch 'master' into JDK-8377979 - further tests updates and src conversions - API improvements and starting to change the tests. Not all dates removed as some are used in other APIs which will be changed in the next phases - JDK-8377979: Add new methods to X509Certificate to return Instant instead of Date Changes: https://git.openjdk.org/jdk/pull/30047/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30047&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8377979 Stats: 515 lines in 25 files changed: 343 ins; 13 del; 159 mod Patch: https://git.openjdk.org/jdk/pull/30047.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30047/head:pull/30047 PR: https://git.openjdk.org/jdk/pull/30047
