Replace old dates with new Java 8 DateTime API