java 8 date and time api code example
Example 1: dates in java 8
LocalDateTime.parse("2015-02-20T06:30:00");
Example 2: dates in java 8
LocalDate.of(2015, 02, 20);
LocalDate.parse("2015-02-20");
LocalDateTime.parse("2015-02-20T06:30:00");
LocalDate.of(2015, 02, 20);
LocalDate.parse("2015-02-20");