ConvertTo() const
Copies the `Timestamp` information to `Timestamp::Info` data structure.
SetFrom()
Sets the `Timestamp` from a given component-wise `Info` structure.
SetToInvalid()
Sets the `Timestamp` to invalid value.
IsValid() const
Indicates whether or not the `Timestamp` is valid.
SetToOrphanAnnounce()
Sets the `Timestamp` to value used in MLE Orphan Announce messages. Second and ticks fields are set to zero with Authoritative flag set.
IsOrphanAnnounce() const
Indicates whether the timestamp indicates an MLE Orphan Announce message.
GetSeconds() const
Returns the Seconds value.
SetSeconds()
Sets the Seconds value.
GetTicks() const
Returns the Ticks value.
SetTicks()
Sets the Ticks value.
GetAuthoritative() const
Returns the Authoritative value.
SetAuthoritative()
Sets the Authoritative value.
AdvanceRandomTicks()
Increments the timestamp by a random number of ticks [0, 32767].
Compare()
Compares two timestamps. Either one or both @p aFirst or @p aSecond can be invalid. A valid timestamp is considered greater than an invalid one. If both are invalid, they are considered as equal.
operator() const
operator!=() const
operator>() const
operator<() const
operator>=() const
operator<=() const
GetTicksAndAuthFlag() const
SetTicksAndAuthFlag()