remove java8 datetime dependency