rdmdatetimetypes.h File Reference

Header for the public Date/Time types. More...

#include "psptypes.h"
Include dependency graph for rdmdatetimetypes.h:
This graph shows which files directly or indirectly include this file:

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_MAXRDM_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_FORMATRDM_YYYYMMDD
The default date format. More...
#define RDM_DEF_DATE_SEP '-'
The default date separator. More...
#define RDM_DEF_TIME_FORMATRDM_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...

Detailed Description

Header for the public Date/Time types.

Macro Definition Documentation

MAX_TIME_PREC

#define MAX_TIME_PREC 10000

The Maximum time presision 1/x'th of a second.

RDM_DATE_MAX

#define RDM_DATE_MAX RDM_UINT32_MAX

The Maximum date.

RDM_DEF_DATE_FORMAT

#define RDM_DEF_DATE_FORMAT RDM_YYYYMMDD

The default date format.

RDM_DEF_DATE_SEP

#define RDM_DEF_DATE_SEP '-'

The default date separator.

RDM_DEF_TIME_FORMAT

#define RDM_DEF_TIME_FORMAT RDM_HHMMSSFFFF

The default time format.

RDM_TIME_MAX

#define RDM_TIME_MAX ((((((23 * 60) + 59) * 60) + 59) * 10000) + 9999)

The Maximum time.

Typedef Documentation

RDM_DATE_SEPARATOR

typedef char RDM_DATE_SEPARATOR

RDM_PACKED_DATE_T

typedef uint32_t RDM_PACKED_DATE_T

The RDM packed Date data structure.

RDM_PACKED_TIME_T

typedef uint32_t RDM_PACKED_TIME_T

The RDM packed Time data structure.

Enumeration Type Documentation

RDM_DATE_FORMAT

RDM Date format codes.

Enumerator
RDM_MMDDYYYY

The date format code for month, followed by a date separator, followed by date, followed by a date separator, followed by year

RDM_YYYYMMDD

The date format code for year, followed by a date separator, followed by month, followed by a date separator, followed by date

RDM_DDMMYYYY

The date format code for date, followed by a date separator, followed by month, followed by a date separator, followed by year

133 {
134/* GEN_RDM_DATE_FORMAT_BEGIN */
135RDM_MMDDYYYY = 1,
138/* GEN_RDM_DATE_FORMAT_END */

RDM_TIME_FORMAT

RDM time format codes.

Enumerator
RDM_HH

The time format code for hours

RDM_HHMM

The time format code for hours, followed by ':', followed by the time separator, TBD followed by minutes

RDM_HHMMSS

The time format code for hours, followed by ':', followed by minutes, followed by ':', followed by seconds

RDM_HHMMSSF

The time format code for hours, followed by ':', followed by minutes, followed by ':', followed by seconds, followed by '.', followed by 1/10th of seconds

RDM_HHMMSSFF

The time format code for hours, followed by ':', followed by minutes, followed by ':', followed by seconds, followed by '.', followed by 1/100th of seconds

RDM_HHMMSSFFF

The time format code for hours, followed by ':', followed by minutes, followed by ':', followed by seconds, followed by '.', followed by 1/1000th of seconds

RDM_HHMMSSFFFF

The time format code for hours, followed by ':', followed by minutes, followed by ':', followed by seconds, followed by '.', followed by 1/10000th of seconds

146 {
147/* GEN_RDM_TIME_FORMAT_BEGIN */
148RDM_HH = 1,
149RDM_HHMM,
155/* GEN_RDM_TIME_FORMAT_END */
@ RDM_HHMMSSFF
Definition: rdmdatetimetypes.h:152
RDM_TIME_FORMAT
RDM time format codes.
Definition: rdmdatetimetypes.h:146
@ RDM_HHMMSSFFF
Definition: rdmdatetimetypes.h:153
RDM_DATE_FORMAT
RDM Date format codes.
Definition: rdmdatetimetypes.h:133
@ RDM_HHMM
Definition: rdmdatetimetypes.h:149
@ RDM_DDMMYYYY
Definition: rdmdatetimetypes.h:137
@ RDM_HHMMSS
Definition: rdmdatetimetypes.h:150
@ RDM_YYYYMMDD
Definition: rdmdatetimetypes.h:136
@ RDM_HH
Definition: rdmdatetimetypes.h:148
@ RDM_HHMMSSFFFF
Definition: rdmdatetimetypes.h:154
@ RDM_MMDDYYYY
Definition: rdmdatetimetypes.h:135
@ RDM_HHMMSSF
Definition: rdmdatetimetypes.h:151