Used Java 8 date time api