Header for the public Date/Time types. More...
#include "psptypes.h"
Data Structures | |
struct | RDM_DATE_T |
The RDM Date data structure. More... | |
struct | RDM_TIME_T |
The RDM Time data structure. More... | |
struct | RDM_TIMESTAMP_T |
The RDM Timestamp data structure. More... | |
struct | RDM_TIMETZ_T |
The RDM Time w/ timezone data structure. More... | |
struct | RDM_TIMESTAMPTZ_T |
The RDM Timestamp data structure. More... | |
struct | RDM_PACKED_TIMESTAMP_T |
The RDM packed Timestamp data structure. More... | |
struct | RDM_PACKED_TIMETZ_T |
The RDM packed Time with time zone data structure. More... | |
struct | RDM_PACKED_TIMESTAMPTZ_T |
The RDM packed Timestamp with time zone data structure. More... | |
Macros | |
#define | RDM_DATE_MAX RDM_UINT32_MAX |
The Maximum date. More... | |
#define | RDM_TIME_MAX ((((((23 * 60) + 59) * 60) + 59) * 10000) + 9999) |
The Maximum time. More... | |
#define | MAX_TIME_PREC 10000 |
The Maximum time presision 1/x'th of a second. More... | |
#define | RDM_DEF_DATE_FORMAT RDM_YYYYMMDD |
The default date format. More... | |
#define | RDM_DEF_DATE_SEP '-' |
The default date separator. More... | |
#define | RDM_DEF_TIME_FORMAT RDM_HHMMSSFFFF |
The default time format. More... | |
Typedefs | |
typedef char | RDM_DATE_SEPARATOR |
typedef uint32_t | RDM_PACKED_DATE_T |
The RDM packed Date data structure. More... | |
typedef uint32_t | RDM_PACKED_TIME_T |
The RDM packed Time data structure. More... | |
Enumerations | |
enum | RDM_DATE_FORMAT { RDM_MMDDYYYY = 1, RDM_YYYYMMDD, RDM_DDMMYYYY } |
RDM Date format codes. More... | |
enum | RDM_TIME_FORMAT { RDM_HH = 1, RDM_HHMM, RDM_HHMMSS, RDM_HHMMSSF, RDM_HHMMSSFF, RDM_HHMMSSFFF, RDM_HHMMSSFFFF } |
RDM time format codes. More... | |
Header for the public Date/Time types.
#define MAX_TIME_PREC 10000 |
The Maximum time presision 1/x'th of a second.
#define RDM_DATE_MAX RDM_UINT32_MAX |
The Maximum date.
#define RDM_DEF_DATE_FORMAT RDM_YYYYMMDD |
The default date format.
#define RDM_DEF_DATE_SEP '-' |
The default date separator.
#define RDM_DEF_TIME_FORMAT RDM_HHMMSSFFFF |
The default time format.
#define RDM_TIME_MAX ((((((23 * 60) + 59) * 60) + 59) * 10000) + 9999) |
The Maximum time.
typedef char RDM_DATE_SEPARATOR |
typedef uint32_t RDM_PACKED_DATE_T |
The RDM packed Date data structure.
typedef uint32_t RDM_PACKED_TIME_T |
The RDM packed Time data structure.
enum RDM_DATE_FORMAT |
RDM Date format codes.
enum RDM_TIME_FORMAT |
RDM time format codes.