Lines Matching refs:Time
59 class Time : public Unequatable<Time> class
77 Time(void) = default;
84 explicit Time(uint32_t aValue) { SetValue(aValue); } in Time() function in ot::Time
112 uint32_t operator-(const Time &aOther) const { return mValue - aOther.mValue; } in operator -()
121 Time operator+(uint32_t aDuration) const { return Time(mValue + aDuration); } in operator +()
130 Time operator-(uint32_t aDuration) const { return Time(mValue - aDuration); } in operator -()
154 bool operator==(const Time &aOther) const { return mValue == aOther.mValue; } in operator ==()
170 bool operator<(const Time &aOther) const { return SerialNumber::IsLess(mValue, aOther.mValue); } in operator <()
180 bool operator>=(const Time &aOther) const { return !(*this < aOther); } in operator >=()
190 bool operator<=(const Time &aOther) const { return (aOther >= *this); } in operator <=()
200 bool operator>(const Time &aOther) const { return (aOther < *this); } in operator >()
212 Time GetDistantFuture(void) const { return Time(mValue + kDistantInterval); } in GetDistantFuture()
224 Time GetDistantPast(void) const { return Time(mValue - kDistantInterval); } in GetDistantPast()
253 typedef Time TimeMilli;
260 typedef Time TimeMicro;