4.8.0.0R6
Software Development Kit
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
ltrx_time Struct Reference

Represents "broken-down" time. More...

Data Fields

int16_t t_dayofmonth
 
int16_t t_hour
 
int16_t t_minute
 
int16_t t_month
 
int16_t t_second
 
int16_t t_year
 

Detailed Description

Represents "broken-down" time.

ltrx_time_to_utc(), ltrx_time_to_local(), and ltrx_time_from_utc() work similar to the POSIX libc functions gmtime(), localtime() and mktime(). The values in struct ltrx_time can be overloaded and conversion calculations will be correct.

Field Documentation

int16_t ltrx_time::t_dayofmonth

1 to 31.

int16_t ltrx_time::t_hour

0 to 23.

int16_t ltrx_time::t_minute

0 to 59.

int16_t ltrx_time::t_month

January is 1, February is 2, and so on.

int16_t ltrx_time::t_second

0 to 59.

int16_t ltrx_time::t_year

Full year, for example, 2014


The documentation for this struct was generated from the following file: