I\'m trying to convert a Date instance to a LocalTime instance.
Date
LocalTime
// Create the Date Date date = format.parse(\"2011-02-18 05:00:00.0
This is also quite simple:
LocalTime time = LocalDateTime.ofInstant(new Date().toInstant(), ZoneId.systemDefault()).toLocalTime();