Files | Functions
Time stamp

This module is responsible for time stamp conversions like from seconds to the standard "struct tm" format and "struct tm" format to ISO 8601 format. More...

+ Collaboration diagram for Time stamp:

Files

file  XDK_TimeStamp.h
 

Functions

Retcode_T TimeStamp_SecsToTm (int64_t timeInSeconds, struct tm *tm)
 This converts time from seconds to struct tm format. More...
 
Retcode_T TimeStamp_TmToIso8601 (struct tm *tmPtr, char *iso8601Format, uint8_t bufferSize)
 This converts time from struct tm format to ISO 8601 format. More...
 

Detailed Description

Function Documentation

Retcode_T TimeStamp_SecsToTm ( int64_t  timeInSeconds,
struct tm *  tm 
)
Parameters
[in]timeInSecondstime in seconds
[out]tmtime in tm format
Returns
RETCODE_OK on success, or an error code otherwise.

Refer interface header for description

+ Here is the caller graph for this function:

Retcode_T TimeStamp_TmToIso8601 ( struct tm *  tmPtr,
char *  iso8601Format,
uint8_t  bufferSize 
)
Parameters
[in]tmPtrtime in tm format
in/out]iso8601Format time in ISO 8601 format. User must provide memory for this.
[in]bufferSizesize of the iso8601Format buffer
Returns
RETCODE_OK on success, or an error code otherwise.

Refer interface header for description

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


This documentation file has been automatically generated on Fri Oct 4 2019 03:47:35 by doxygen 1.8.8