operator - method

LocalTime operator -(
  1. Period period
)

Creates a new local time by subtracting a period from an existing time. The period must not contain any date-related units (days etc) with non-zero values. This is a convenience operator over the Minus(Period) method.

Returns: The result of subtract the period from the time, wrapping via midnight if necessary

Implementation

LocalTime operator -(Period period) => subtract(period);