Header for the public Date API. More...
#include "rdmdatetimetypes.h"
Include dependency graph for rdmdateapi.h:
This graph shows which files directly or indirectly include this file:
Macros |
|
#define | RDM_DATE_MAXRDM_UINT32_MAX |
Functions |
|
const RDM_TCHAR_T * | rdm_dateDayAbr (RDM_PACKED_DATE_T dt) |
Get the day abbreviation. More... | |
const RDM_TCHAR_T * | rdm_dateDayName (RDM_PACKED_DATE_T dt) |
Get the day name. More... | |
uint16_t | rdm_dateDayOfMonth (RDM_PACKED_DATE_T dt) |
Get the day of the month. More... | |
uint16_t | rdm_dateDayOfWeek (RDM_PACKED_DATE_T dt) |
Get the day of the week. More... | |
uint16_t | rdm_dateDayOfYear (RDM_PACKED_DATE_T dt) |
Get the day of the year. More... | |
RDM_RETCODE | rdm_dateFromString (const RDM_TCHAR_T *str, RDM_DATE_FORMAT date_fmt, RDM_PACKED_DATE_T *pdv) |
Convert from a string to a date. More... | |
uint16_t | rdm_dateMonth (RDM_PACKED_DATE_T dt) |
Get the month. More... | |
const RDM_TCHAR_T * | rdm_dateMonthAbr (RDM_PACKED_DATE_T dt) |
Get the month abbreviation. More... | |
const RDM_TCHAR_T * | rdm_dateMonthName (RDM_PACKED_DATE_T dt) |
Get the month name. More... | |
RDM_RETCODE | rdm_dateNowAsString (int16_t time_zone, RDM_TCHAR_T *datebuf, size_t buflen) |
Get the current date as a string. More... | |
uint16_t | rdm_dateQuarter (RDM_PACKED_DATE_T dt) |
Get the quarter of the year. More... | |
RDM_RETCODE | rdm_dateToday (int16_t time_zone, RDM_PACKED_DATE_T *pdt) |
Get the current date. More... | |
RDM_RETCODE | rdm_dateToString (RDM_PACKED_DATE_T dateVal, RDM_DATE_FORMAT date_fmt, RDM_TCHAR_T date_sep, RDM_TCHAR_T *buf, size_t bufSize, size_t *puSize) |
Convert a date to a string. More... | |
uint16_t | rdm_dateWeek (RDM_PACKED_DATE_T dt) |
Get the week of the year. More... | |
int32_t | rdm_dateYear (RDM_PACKED_DATE_T dt) |
Get the year. More... | |
RDM_PACKED_DATE_T | rdm_dateZero (void) |
Get the date of the epoch. More... | |
Detailed Description
Header for the public Date API.