rdmtimestamptzapi.h File Reference
Header for the public timestamp with timezone API. More...
Include dependency graph for rdmtimestamptzapi.h:
This graph shows which files directly or indirectly include this file:
Functions |
|
RDM_RETCODE | rdm_timestamptzFromTimestamp (RDM_PACKED_TIMESTAMP_T tsVal, int16_t tz, RDM_PACKED_TIMESTAMPTZ_T *pTszVal) |
Convert a local timestamp to timestamp with timezone. More... |
|
RDM_RETCODE | rdm_timestamptzFromString (const char *str, RDM_DATE_FORMAT date_fmt, RDM_PACKED_TIMESTAMPTZ_T *ptsz) |
Convert from a string to a timestamp with timezone. More... |
|
RDM_RETCODE | rdm_timestamptzNow (int16_t time_zone, RDM_PACKED_TIMESTAMPTZ_T *tsz) |
Get the current timestamp with timezone. More... |
|
RDM_RETCODE | rdm_timestamptzNowAsString (int16_t time_zone, char *tszbuf, size_t buflen) |
Get the current timestamp with timezone as string. More... |
|
RDM_RETCODE | rdm_timestamptzToTimestamp (RDM_PACKED_TIMESTAMPTZ_T tstzVal, int16_t tz_disp, RDM_PACKED_TIMESTAMP_T *pTsVal) |
Convert a timestamp with timezone to a string. More... |
|
RDM_RETCODE | rdm_timestamptzToString (RDM_PACKED_TIMESTAMPTZ_T tszVal, RDM_DATE_FORMAT date_format, char date_sep, RDM_TIME_FORMAT time_format, char *buf, size_t bufSize, size_t *puSize) |
Convert a timestamp with timezone to a string. More... |
|
RDM_PACKED_TIMESTAMPTZ_T | rdm_timestamptzZero (void) |
Get the timestamp of the epoch. More... |
|
Detailed Description
Header for the public timestamp with timezone API.