|
XmDateTime Class ReferenceList of all members.
Detailed Description
This class supply a human readable Date/Time format and allow convertions between different Date/Time formats.
|
Static Public Member Functions |
| static bool | Time32ToDateTime (XmDateTime &dest, const XmTime32 &src) |
| | Convert a XmTime32 representation to XmDateTime.
|
| static bool | DateTimeToTime32 (XmTime32 &span, const XmDateTime &src) |
| | Convert a XmDateTime representation to XmTime32.
|
| static bool | DateTimeToString (XmString &dest, const char *format, const XmDateTime &src, const char *nullStr) |
| | Convert a XmDateTime representation to a string.
|
| static bool | StringToDateTime (XmDateTime &dest, const char *format, const char *src, const char *nullStr, bool shortFormat) |
| | Convert a string representation to XmDateTime.
|
Public Attributes |
|
int | Year |
| | Year.
|
|
int | Month |
| | Month range [1 - 12].
|
|
int | MDay |
| | Month day [1 - 31].
|
|
int | Hour |
| | Hour [0 - 23].
|
|
int | Min |
| | Minute [0 - 59].
|
|
int | Sec |
| | Second [0 - 59].
|
|
bool | isNull |
| | true, if Date/Time is not set
|
Member Function Documentation
| static bool DateTimeToString |
( |
XmString & |
dest, |
|
|
const char * |
format, |
|
|
const XmDateTime & |
src, |
|
|
const char * |
nullStr |
|
) |
[static] |
|
| static bool StringToDateTime |
( |
XmDateTime & |
dest, |
|
|
const char * |
format, |
|
|
const char * |
src, |
|
|
const char * |
nullStr, |
|
|
bool |
shortFormat |
|
) |
[static] |
|
|