LocalTime

In this lesson, we will look at the LocalTime class.

As per JavaDocs, “LocalTime is an immutable date-time object that represents a time, often viewed as hour-minute-second. Time is represented to nanosecond precision. For example, the value “13:45.30.123456789” can be stored in a LocalTime”.

In other words, the LocalTime represents time without a date. An instance ...