Definitions for date and time. More...
Data Structures | |
| struct | ltrx_time |
| Represents "broken-down" time. More... | |
| struct | ltrx_time_source |
| Represents a time source for registration. More... | |
Macros | |
| #define | LTRX_EPOCH_YEAR 2000 |
Functions | |
| uint32_t | ltrx_time_from_utc (struct ltrx_time *lt) |
| Broken-down time to seconds. More... | |
| uint32_t | ltrx_time_get (void) |
| Get date and time. More... | |
| void | ltrx_time_register_source (const struct ltrx_time_source *lts) |
| Register a time source. More... | |
| void | ltrx_time_set (uint32_t seconds_since_2000) |
| Set date and time. More... | |
| void | ltrx_time_to_local (uint32_t seconds_since_2000, struct ltrx_time *lt) |
| Seconds to broken-down local time. More... | |
| void | ltrx_time_to_utc (uint32_t seconds_since_2000, struct ltrx_time *lt) |
| Seconds to broken-down GMT time. More... | |
Definitions for date and time.