Combines this time with a date to create a LocalDateTime.
Combines this time with an offset to create an OffsetTime.
Formats this time using the specified formatter.
Gets the value of the specified field from this time as an int.
Gets the hour-of-day field.
Gets the value of the specified field from this time as a long.
Gets the minute-of-hour field.
Gets the nano-of-second field.
Gets the second-of-minute field.
Returns a copy of this time with the specified amount subtracted.
Optionalunit: TemporalUnitReturns a copy of this time with the specified amount subtracted.
Returns a copy of this LocalTime with the specified number of hours subtracted.
Returns a copy of this LocalTime with the specified number of minutes subtracted.
Returns a copy of this LocalTime with the specified number of nanoseconds subtracted.
Returns a copy of this LocalTime with the specified number of seconds subtracted.
Returns a copy of this time with the specified amount added.
Returns a copy of this time with the specified amount added.
Returns a copy of this LocalTime with the specified number of hours added.
Returns a copy of this LocalTime with the specified number of minutes added.
Returns a copy of this LocalTime with the specified number of nanoseconds added.
Returns a copy of this LocalTime with the specified number of seconds added.
Queries this time using the specified query.
Gets the range of valid values for the specified field.
Converts this LocalTime to the number of seconds since the epoch of 1970-01-01T00:00:00Z.
Extracts the time as nanos of day, from 0 to 24 * 60 * 60 * 1,000,000,000 - 1.
Extracts the time as seconds of day, from 0 to 24 * 60 * 60 - 1.
Returns a copy of this LocalTime with the time truncated.
Calculates the amount of time until another time in terms of the specified unit.
Returns a copy of this time with the specified field set to a new value.
Returns a copy of this LocalTime with the hour-of-day altered.
Returns a copy of this LocalTime with the minute-of-hour altered.
Returns a copy of this LocalTime with the nano-of-second altered.
Returns a copy of this LocalTime with the second-of-minute altered.
StaticfromObtains an instance of LocalTime from a temporal object.
StaticnowStaticofObtains an instance of LocalTime from an hour and minute.
Obtains an instance of LocalTime from an hour, minute and second.
Optionalsecond: numberObtains an instance of LocalTime from an hour, minute, second and nanosecond.
Optionalsecond: numberOptionalnanoOfSecond: numberStaticofStaticofObtains an instance of LocalTime from a nanos-of-day value.
StaticofObtains an instance of LocalTime from a second-of-day value.
StaticparseObtains an instance of LocalTime from a text string such as 10:15.
Optionalformatter: DateTimeFormatter
A time without a time-zone in the ISO-8601 calendar system, such as 10:15:30.
See java.time.LocalTime for full documentation