int64_t XsTimeStamp_now(XsTimeStamp *dest)
Returns the current time in ms since the epoch (Jan 1st 1970)
void XsTimeInfo_currentLocalTime(struct XsTimeInfo *thisPtr)
Returns the current local time.
int16_t m_utcOffset
Offset to UTC time in minutes. This value can be added to the stored time to get UTC time.
void XsTimeStamp_utcToLocalTime(struct XsTimeStamp const *thisPtr, struct XsTimeStamp *local)
Convert the supplied time from (assumed) UTC to local time, using the system's local time zone knowle...
void XsTimeInfo_makeUtc(struct XsTimeInfo *thisPtr)
Removes the local time information, making the object pure UTC.
void XsTimeInfo_currentTime(struct XsTimeInfo *thisPtr)
Returns the current UTC time.
int64_t XsTimeStamp_fromTimeInfo(struct XsTimeStamp *thisPtr, const struct XsTimeInfo *info)
Creates a (UTC) XsTimeStamp from an XsTimeInfo object.
ros::Time const * timeStamp(const M &m)
void XsTimeStamp_toTimeInfo(struct XsTimeStamp const *thisPtr, struct XsTimeInfo *info)
Converts the timestamp into an XsTimeInfo object.
This class contains method to set, retrieve and compare timestamps.
A structure for storing Time values.