Migrated from joda-time to java8 java.time