|
XSTYPES_DLL_API void | XsTime_getDateAsString (char *dest, struct tm const *date) |
| Retrieves the date as string representation The format is YYYYMMDD so 25 dec 2010 is stored as an array dest[9] = { '2', '0', '1', '0', '1', '2', '2', '5' }. More...
|
|
XSTYPES_DLL_API void | XsTime_getDateAsWString (wchar_t *dest, struct tm const *date) |
| Retrieves the date as wstring representation The format is YYYYMMDD so 25 dec 2010 is stored as an array dest[8] = {'2', '0', '1', '0', '1', '2', '2', '5' }. More...
|
|
XSTYPES_DLL_API int64_t | XsTime_getDateTime (struct tm *date) |
| Retrieves the date and time (platform-independent) More...
|
|
XSTYPES_DLL_API void | XsTime_getTimeAsString (char *dest, struct tm const *time) |
| Retrieves the time as binary The format is HHMMSShh (where H is hour and 'h' is hundredths) so 14:25:01.23 is stored as an array dest[8] = { '1', '4', '2', '5', '0', '1', '2', '3'}. More...
|
|
XSTYPES_DLL_API void | XsTime_getTimeAsWString (wchar_t *dest, struct tm const *time) |
| Retrieves the time as binary The format is HHMMSShh (where H is hour and 'h' is hundredths) so 14:25:01.23 is stored as an array dest[8] = { '1', '4', '2', '5', '0', '1', '2', '3'}. More...
|
|
XSTYPES_DLL_API uint32_t | XsTime_getTimeOfDay (struct tm *date_, time_t *secs_) |
| The function returns the current time of day in ms since midnight. More...
|
|
XSTYPES_DLL_API void | XsTime_initializeTime (void) |
| Stabilize the clock. More...
|
|
XSTYPES_DLL_API int64_t | XsTime_localToUtc () |
| Returns the conversion value from local time to UTC time in ms. More...
|
|
XSTYPES_DLL_API void | XsTime_msleep (uint32_t ms) |
| Make the current thread sleep for at least ms milliseconds. More...
|
|
XSTYPES_DLL_API int64_t | XsTime_timeStampNow (XsTimeStamp *now) |
| Returns the current time in ms since the epoch (Jan 1st 1970) More...
|
|
XSTYPES_DLL_API void | XsTime_udelay (uint64_t us) |
| Delays the current thread for at least us microseconds. More...
|
|
XSTYPES_DLL_API int64_t | XsTime_utcToLocal () |
| Returns the conversion value from UTC time to local time in ms. More...
|
|