#include <CmpiDateTime.h>
Inheritance diagram for CmpiDateTime:
Public Member Functions | |
CmpiDateTime () | |
Constructor - Return current time and date. | |
CmpiDateTime (const char *utcTime) | |
Constructor - Initialize time and date according to <utcTime>. | |
CmpiDateTime (const CMPIUint64 binTime, const CMPIBoolean interval) | |
Constructor - Initialize time and date according to <binTime>. | |
CMPIBoolean | isInterval () |
isInterval - Tests whether time is an interval value. | |
CMPIUint64 | getDateTime () |
getDateTime - Returns DateTime in binary format. | |
Protected Member Functions | |
CmpiDateTime (const CMPIDateTime *enc) | |
Protected constructor used internally. | |
CMPIDateTime * | getEnc () const |
Gets the encapsulated CMPIDateTime. | |
void * | makeDateTime (CMPIBroker *mb) |
void * | makeDateTime (CMPIBroker *mb, const char *utcTime) |
void * | makeDateTime (CMPIBroker *mb, const CMPIUint64 binTime, const CMPIBoolean interval) |
Definition at line 35 of file CmpiDateTime.h.
|
Protected constructor used internally.
Definition at line 40 of file CmpiDateTime.h. References CmpiObject::enc. |
|
Constructor - Return current time and date.
Definition at line 56 of file CmpiDateTime.h. References CmpiObject::enc, CmpiProviderBase::getBroker(), and makeDateTime(). |
|
Constructor - Initialize time and date according to <utcTime>.
Definition at line 63 of file CmpiDateTime.h. References CmpiObject::enc, CmpiProviderBase::getBroker(), and makeDateTime(). |
|
Constructor - Initialize time and date according to <binTime>.
Definition at line 72 of file CmpiDateTime.h. References CmpiObject::enc, CmpiProviderBase::getBroker(), and makeDateTime(). |
|
getDateTime - Returns DateTime in binary format.
Definition at line 1202 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIDateTime::ft, _CMPIDateTimeFT::getBinaryFormat, getEnc(), and _CMPIStatus::rc. |
|
Gets the encapsulated CMPIDateTime.
Definition at line 45 of file CmpiDateTime.h. References CmpiObject::enc. Referenced by getDateTime(), and isInterval(). |
|
isInterval - Tests whether time is an interval value.
Definition at line 1195 of file CmpiImpl.cpp. References CMPI_RC_OK, CmpiBoolean, _CMPIDateTime::ft, getEnc(), _CMPIDateTimeFT::isInterval, and _CMPIStatus::rc. |
|
Definition at line 1187 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIBroker::eft, _CMPIBrokerEncFT::newDateTimeFromBinary, and _CMPIStatus::rc. |
|
Definition at line 1180 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIBroker::eft, _CMPIBrokerEncFT::newDateTimeFromChars, and _CMPIStatus::rc. |
|
Definition at line 1173 of file CmpiImpl.cpp. References CMPI_RC_OK, _CMPIBroker::eft, _CMPIBrokerEncFT::newDateTime, and _CMPIStatus::rc. Referenced by CmpiDateTime(). |