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 RaimaDB Date data structure. More...
struct RDM_TIME_S
The RaimaDB Time data structure. More...
struct RDM_TIMESTAMP_T
The RaimaDB Timestamp data structure. More...
struct RDM_TIMETZ_T
The RaimaDB Time w/ timezone data structure. More...
struct RDM_TIMESTAMPTZ_T
The RaimaDB Timestamp data structure. More...
struct RDM_PACKED_TIMESTAMP_T
The RaimaDB packed Timestamp data structure. More...
struct RDM_PACKED_TIMETZ_T
The RaimaDB packed Time with time zone data structure. More...
struct RDM_PACKED_TIMESTAMPTZ_T
The RaimaDB 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 struct RDM_TIME_S RDM_TIME_T
The RaimaDB Time data structure. More...
typedef uint32_t RDM_PACKED_DATE_T
The RaimaDB packed Date data structure. More...
typedef uint32_t RDM_PACKED_TIME_T
The RaimaDB packed Time data structure. More...

Enumerations

enum RDM_DATE_FORMAT { RDM_MMDDYYYY = 1, RDM_YYYYMMDD, RDM_DDMMYYYY }
RaimaDB Date format codes. More...
enum RDM_TIME_FORMAT {
RDM_HH = 1, RDM_HHMM, RDM_HHMMSS, RDM_HHMMSSF,
RDM_HHMMSSFF, RDM_HHMMSSFFF, RDM_HHMMSSFFFF
}
RaimaDB time format codes. More...

Detailed Description

Header for the public Date/Time types.


Raima Database Manager

Copyright (c) 2010 Raima Inc., All rights reserved.

Use of this software, whether in source code format, or in executable, binary object code form, is governed by the Raima LICENSE which is fully described in the LICENSE.TXT file, included within this

distribution of files.

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 RaimaDB packed Date data structure.

RDM_PACKED_TIME_T

typedef uint32_t RDM_PACKED_TIME_T

The RaimaDB packed Time data structure.

RDM_TIME_T

typedef struct RDM_TIME_S RDM_TIME_T

The RaimaDB Time data structure.

Enumeration Type Documentation

RDM_DATE_FORMAT

RaimaDB 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

143 {
144/* GEN_RDM_DATE_FORMAT_BEGIN */
145RDM_MMDDYYYY = 1,
148/* GEN_RDM_DATE_FORMAT_END */

RDM_TIME_FORMAT

RaimaDB 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

156 {
157/* GEN_RDM_TIME_FORMAT_BEGIN */
158RDM_HH = 1,
159RDM_HHMM,
165/* GEN_RDM_TIME_FORMAT_END */
@ RDM_HHMMSSFF
Definition: rdmdatetimetypes.h:162
RDM_TIME_FORMAT
RaimaDB time format codes.
Definition: rdmdatetimetypes.h:156
@ RDM_HHMMSSFFF
Definition: rdmdatetimetypes.h:163
RDM_DATE_FORMAT
RaimaDB Date format codes.
Definition: rdmdatetimetypes.h:143
@ RDM_HHMM
Definition: rdmdatetimetypes.h:159
@ RDM_DDMMYYYY
Definition: rdmdatetimetypes.h:147
@ RDM_HHMMSS
Definition: rdmdatetimetypes.h:160
@ RDM_YYYYMMDD
Definition: rdmdatetimetypes.h:146
@ RDM_HH
Definition: rdmdatetimetypes.h:158
@ RDM_HHMMSSFFFF
Definition: rdmdatetimetypes.h:164
@ RDM_MMDDYYYY
Definition: rdmdatetimetypes.h:145
@ RDM_HHMMSSF
Definition: rdmdatetimetypes.h:161