Ion C
C library for Ion
|
#include <ion_timestamp.h>
Data Fields | |
uint8_t | precision |
int16_t | tz_offset |
uint16_t | year |
uint16_t | month |
uint16_t | day |
uint16_t | hours |
uint16_t | minutes |
uint16_t | seconds |
decQuad | fraction |
Structure to store time information. time_t only has up to second precision, and time zone support is OS dependent. _ion_timestamp uses decimal to store fraction of a second
decQuad _ion_timestamp::fraction |
Fraction of a second, e.g: 0.5, 0.01, etc
uint8_t _ion_timestamp::precision |
Defined as ION_TS_YEAR, ION_TS_MONTH, ION_TS_DAY, ION_TS_MIN, ION_TS_SEC, ION_TS_FRAC
int16_t _ion_timestamp::tz_offset |
Time zone offset (+/- 24 hours), in term of minutes.