addMinutes method

LocalTime addMinutes(
  1. int minutes
)

Returns a new LocalTime representing the current value with the given number of minutes added.

If the value goes past the start or end of the day, it wraps - so 11pm plus 120 minutes is 1am, for example.

  • minutes: The number of minutes to add

Returns: The current value plus the given number of minutes.

Implementation

LocalTime addMinutes(int minutes) => TimePeriodField.minutes.addTime(this, minutes);