Use Java 8 datetime instead of jodatime.