Added date functionality.
Require java8