java 8 date time classes code example
Example 1: dates in java 8
LocalDate.of(2015, 02, 20);
LocalDate.parse("2015-02-20");
Example 2: dates in java 8
LocalTime sixThirty = LocalTime.parse("06:30");
LocalDate.of(2015, 02, 20);
LocalDate.parse("2015-02-20");
LocalTime sixThirty = LocalTime.parse("06:30");