GME  13
Functions | Variables
XMLDateTime.cpp File Reference

Go to the source code of this file.

Functions

static int fQuotient (int a, int b)
static int fQuotient (int temp, int low, int high)
static int mod (int a, int b, int quotient)
static int modulo (int temp, int low, int high)
static bool isLeapYear (int year)
static int maxDayInMonthFor (int year, int month)

Variables

static
XERCES_CPP_NAMESPACE_BEGIN
const XMLCh 
DURATION_STARTER = chLatin_P
static const XMLCh DURATION_Y = chLatin_Y
static const XMLCh DURATION_M = chLatin_M
static const XMLCh DURATION_D = chLatin_D
static const XMLCh DURATION_H = chLatin_H
static const XMLCh DURATION_S = chLatin_S
static const XMLCh DATE_SEPARATOR = chDash
static const XMLCh TIME_SEPARATOR = chColon
static const XMLCh TIMEZONE_SEPARATOR = chColon
static const XMLCh DATETIME_SEPARATOR = chLatin_T
static const XMLCh MILISECOND_SEPARATOR = chPeriod
static const XMLCh UTC_STD_CHAR = chLatin_Z
static const XMLCh UTC_POS_CHAR = chPlus
static const XMLCh UTC_NEG_CHAR = chDash
static const XMLCh UTC_SET []
static const XMLSize_t YMD_MIN_SIZE = 10
static const XMLSize_t YMONTH_MIN_SIZE = 7
static const XMLSize_t TIME_MIN_SIZE = 8
static const XMLSize_t TIMEZONE_SIZE = 5
static const XMLSize_t DAY_SIZE = 5
static const XMLSize_t MONTHDAY_SIZE = 7
static const int NOT_FOUND = -1
static const int YEAR_DEFAULT = 2000
static const int MONTH_DEFAULT = 01
static const int DAY_DEFAULT = 15
static const int DATETIMES [][XMLDateTime::TOTAL_SIZE]

Function Documentation

static int fQuotient ( int  a,
int  b 
) [inline, static]

Definition at line 98 of file XMLDateTime.cpp.

static int fQuotient ( int  temp,
int  low,
int  high 
) [inline, static]

Definition at line 104 of file XMLDateTime.cpp.

static bool isLeapYear ( int  year) [inline, static]

Definition at line 122 of file XMLDateTime.cpp.

static int maxDayInMonthFor ( int  year,
int  month 
) [static]

Definition at line 127 of file XMLDateTime.cpp.

static int mod ( int  a,
int  b,
int  quotient 
) [inline, static]

Definition at line 109 of file XMLDateTime.cpp.

static int modulo ( int  temp,
int  low,
int  high 
) [inline, static]

Definition at line 114 of file XMLDateTime.cpp.


Variable Documentation

const XMLCh DATE_SEPARATOR = chDash [static]

Definition at line 51 of file XMLDateTime.cpp.

const XMLCh DATETIME_SEPARATOR = chLatin_T [static]

Definition at line 54 of file XMLDateTime.cpp.

const int DATETIMES[][XMLDateTime::TOTAL_SIZE] [static]
Initial value:
{
    {1696, 9, 1, 0, 0, 0, 0, XMLDateTime::UTC_STD},
        {1697, 2, 1, 0, 0, 0, 0, XMLDateTime::UTC_STD},
        {1903, 3, 1, 0, 0, 0, 0, XMLDateTime::UTC_STD},
        {1903, 7, 1, 0, 0, 0, 0, XMLDateTime::UTC_STD}
}

Definition at line 87 of file XMLDateTime.cpp.

const int DAY_DEFAULT = 15 [static]

Definition at line 79 of file XMLDateTime.cpp.

const XMLSize_t DAY_SIZE = 5 [static]

Definition at line 70 of file XMLDateTime.cpp.

const XMLCh DURATION_D = chLatin_D [static]

Definition at line 47 of file XMLDateTime.cpp.

const XMLCh DURATION_H = chLatin_H [static]

Definition at line 48 of file XMLDateTime.cpp.

const XMLCh DURATION_M = chLatin_M [static]

Definition at line 46 of file XMLDateTime.cpp.

const XMLCh DURATION_S = chLatin_S [static]

Definition at line 49 of file XMLDateTime.cpp.

XERCES_CPP_NAMESPACE_BEGIN const XMLCh DURATION_STARTER = chLatin_P [static]

Definition at line 44 of file XMLDateTime.cpp.

const XMLCh DURATION_Y = chLatin_Y [static]

Definition at line 45 of file XMLDateTime.cpp.

const XMLCh MILISECOND_SEPARATOR = chPeriod [static]

Definition at line 55 of file XMLDateTime.cpp.

const int MONTH_DEFAULT = 01 [static]

Definition at line 78 of file XMLDateTime.cpp.

const XMLSize_t MONTHDAY_SIZE = 7 [static]

Definition at line 72 of file XMLDateTime.cpp.

const int NOT_FOUND = -1 [static]

Definition at line 73 of file XMLDateTime.cpp.

const XMLSize_t TIME_MIN_SIZE = 8 [static]

Definition at line 68 of file XMLDateTime.cpp.

const XMLCh TIME_SEPARATOR = chColon [static]

Definition at line 52 of file XMLDateTime.cpp.

const XMLCh TIMEZONE_SEPARATOR = chColon [static]

Definition at line 53 of file XMLDateTime.cpp.

const XMLSize_t TIMEZONE_SIZE = 5 [static]

Definition at line 69 of file XMLDateTime.cpp.

const XMLCh UTC_NEG_CHAR = chDash [static]

Definition at line 59 of file XMLDateTime.cpp.

const XMLCh UTC_POS_CHAR = chPlus [static]

Definition at line 58 of file XMLDateTime.cpp.

const XMLCh UTC_SET[] [static]
Initial value:

Definition at line 61 of file XMLDateTime.cpp.

const XMLCh UTC_STD_CHAR = chLatin_Z [static]

Definition at line 57 of file XMLDateTime.cpp.

const int YEAR_DEFAULT = 2000 [static]

Definition at line 77 of file XMLDateTime.cpp.

const XMLSize_t YMD_MIN_SIZE = 10 [static]

Definition at line 66 of file XMLDateTime.cpp.

const XMLSize_t YMONTH_MIN_SIZE = 7 [static]

Definition at line 67 of file XMLDateTime.cpp.