public LocalDateTime withMinute (int minute)

Returns a copy of this LocalDateTime with the minute-of-hour altered.

This instance is immutable and unaffected by this method call.

Parameters:
minute    the minute-of-hour to set in the result, from 0 to 59

Returns:  a LocalDateTime based on this date-time with the requested minute, not null

Exceptions:
DateTimeException    if the minute value is invalid