Combines this time with a date to create a LocalDateTime.
Combines this time with an offset to create an OffsetTime.
Compares this time to another time.
Formats this time using the specified formatter.
Gets the value of the specified field from this time as an int.
Gets the value of the specified field from this time as a long.
Checks if this time is after the specified time.
Checks if this time is before the specified time.
Checks if the specified field is supported.
Checks if the specified unit is supported.
Returns a copy of this time with the specified amount subtracted.
Optional
unit: TemporalUnitReturns a copy of this time with the specified amount subtracted.
Returns a copy of this time with the specified amount added.
Returns a copy of this time with the specified amount 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.
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 an adjusted copy of this time.
Returns a copy of this time with the specified field set to a new value.
Static
fromObtains an instance of LocalTime from a temporal object.
Static
nowStatic
ofObtains an instance of LocalTime from an hour and minute.
Obtains an instance of LocalTime from an hour, minute and second.
Optional
second: numberObtains an instance of LocalTime from an hour, minute, second and nanosecond.
Optional
second: numberOptional
nanoOfSecond: numberStatic
ofStatic
ofStatic
ofStatic
parseObtains an instance of LocalTime from a text string such as 10:15.
Optional
formatter: DateTimeFormatterGenerated using TypeDoc
A time without a time-zone in the ISO-8601 calendar system, such as 10:15:30.
See java.time.LocalTime for full documentation