ot::Time::operator-() const method
Calculates the time duration between two `Time` instances.
Arguments
aOther
A `Time` instance to subtract from.
Return value
The duration of interval from @p aOther to this `Time` object.
Notes
Expression `(t1 - t2)` returns the duration of the interval starting from `t2` and ending at `t1`. When calculating the duration, `t2 is assumed to be in the past relative to `t1`. The duration calculation correctly takes into account the wrapping of numeric value of `Time` instances. The returned value can span the entire range of the `uint32_t` type.
ot::Time::operator-() const is called by 15 functions and calls 1 function:
![]()
ot::Time::operator-() const
ot::Time::operator-() const reads 1 variable:
![]()
ot::Time::operator-() const