plus static method

LocalTime plus(
  1. LocalTime time,
  2. Period period
)

Adds the specified period to the time. Friendly alternative to operator+().

  • time: The time to add the period to
  • period: The period to add. Must not contain any (non-zero) date units.

Returns: The sum of the given time and period

Implementation

static LocalTime plus(LocalTime time, Period period) => time + period;