plus static method
Adds the specified period to the time. Friendly alternative to operator+()
.
time
: The time to add the period toperiod
: 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;