Just java.time package API Backport