LocalTime.withMinute

Returns a copy of this {@code LocalTime} with the minute-of-hour altered. !(p) This instance is immutable and unaffected by this method call.

@param minute the minute-of-hour to set _in the result, from 0 to 59 @return a {@code LocalTime} based on this time with the requested minute, not null @throws DateTimeException if the minute value is invalid

class LocalTime
withMinute
(
int minute
)

Meta