The current code uses [java.time.Instant](https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html) which is only available on java 8 and android 26+.