Replace joda time with new java 8 time api.