ot::Time::operator-() const is only used within ESP-IDF.
 
Symbols
loading...
Files
loading (3/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

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.

References