add method
Adds the specified period to this time. Fluent alternative to operator+()
.
period
: The period to add. Must not contain any (non-zero) date units.
Returns: The sum of this time and the given period
Implementation
LocalTime add(Period period) => this + period;