TIM SDK
TIM API C
timedate.h File Reference

Description

Time-Date value.

Object type timedate.

Data Structures

struct  ta_s_timedate
 Time-date. More...
 

Typedefs

typedef struct ta_s_timedate ta_s_timedate_t
 Time-date.
 

Functions

ta_e_result_code_t ta_timedate_get_values (ta_object_t timedate, ta_s_timedate_t *values)
 Get values of time-date in struct. More...
 

Function Documentation

◆ ta_timedate_get_values()

ta_e_result_code_t ta_timedate_get_values ( ta_object_t  timedate,
ta_s_timedate_t values 
)

Get values of time-date in struct.

Depending on the origin of the time-date not all values are used.

Parameters
[in]timedateObject instance of type timedate.
[out]valuesPointer to variable to write values to.
Return values
ta_c_rc_okObject instance written to values.
ta_c_rc_invalid_argumenttimedate is ta_invalid_object.
ta_c_rc_invalid_argumenttimedate is not of type timedate.
ta_c_rc_invalid_argumentvalues is null-pointer.