date time api in java 8 code example
Example 1: dates in java 8
LocalDateTime.parse("2015-02-20T06:30:00");
Example 2: dates in java 8
LocalTime sixThirty = LocalTime.parse("06:30");
LocalDateTime.parse("2015-02-20T06:30:00");
LocalTime sixThirty = LocalTime.parse("06:30");