java 8 api Date code example Example: dates in java 8 LocalTime sixThirty = LocalTime.parse("06:30");