minus static method
Subtracts the specified period from the time. Friendly alternative to operator-()
.
time
: The time to subtract the period fromperiod
: The period to subtract. Must not contain any (non-zero) date units.
Returns: The result of subtracting the given period from the time.
Implementation
static LocalTime minus(LocalTime time, Period period) => time.subtract(period);