35 char* dest,
struct tm
const* date);
41 wchar_t* dest,
struct tm
const* time);
68 inline void getDateAsString(
char* dest, tm
const* date = 0)
75 inline void getTimeAsString(
char* dest, tm
const* date = 0)
77 XsTime_getTimeAsString(dest, date);
85 inline XsString getDateAsString(tm
const* date = 0)
88 XsTime_getDateAsWString(wcharBuf, date);
99 inline XsString getTimeAsString(tm
const* time = 0)
XSTYPES_DLL_API const XsTimeStamp XsTime_milliSecPerDay
XSTYPES_DLL_API void XsTime_msleep(uint32_t ms)
mrpt::system::TTimeStamp now()
A shortcut for system::getCurrentTime.
TimeStamp timeStampNow(void)
XSTYPES_DLL_API uint32_t XsTime_getTimeOfDay(struct tm *date_, time_t *secs_)
XSTYPES_DLL_API void XsTime_udelay(uint32_t us)
void msleep(uint32_t ms)
A platform-independent sleep routine.
XSTYPES_DLL_API void XsTime_getTimeAsWString(wchar_t *dest, struct tm const *time)
Class for managing timestamps in a unified way.
XSTYPES_DLL_API void XsTime_initializeTime(void)
XSTYPES_DLL_API void XsTime_getDateAsString(char *dest, struct tm const *date)
XSTYPES_DLL_API int64_t XsTime_getDateTime(struct tm *date)
XSTYPES_DLL_API const XsTimeStamp XsTime_timeStampMax
XSTYPES_DLL_API const XsTimeStamp XsTime_secPerDay
XSTYPES_DLL_API int64_t XsTime_timeStampNow(XsTimeStamp *now)
unsigned __int32 uint32_t
uint32_t getTimeOfDay(tm *date_, time_t *secs_)
A platform-independent clock.