This PR bumps minimum Java compatibility to Java 8 and fixes the date parsing method which does not work as of Java 11 (or 9+ without adding the JAXB module explicitly) and newer versions.
Bumping minimum Java version to 8 is needed because neither Date.from(Instant) or Instant.parse(CharSequence) are present in Java 7.
This PR bumps minimum Java compatibility to Java 8 and fixes the date parsing method which does not work as of Java 11 (or 9+ without adding the JAXB module explicitly) and newer versions.
Bumping minimum Java version to 8 is needed because neither
Date.from(Instant)
orInstant.parse(CharSequence)
are present in Java 7.