class Timestamp

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
secuint32Number of seconds that have elapsed since Epoch
usecuint32Number of microseconds that have elapsed since the last second (0-999999)

Member functions

Function nameReturn typeInput typeDescription
sec()uint32voidReturns the current value of sec. If the sec is not set, returns 0.
set_sec()voiduint32Sets the value of sec. After calling this, sec() will return value.
clear_sec()voidvoidClears the value of sec. After calling this, sec() will return 0.
usec()uint32voidReturns the current value of usec. If the usec is not set, returns 0.
set_usec()voiduint32Sets the value of usec. After calling this, usec() will return value.
clear_usec()voidvoidClears the value of usec. After calling this, usec() will return 0.

Parent topic: Common (C++)