CmpiDateTime Class Reference

#include <cmpi/CmpiDateTime.h>

Inheritance diagram for CmpiDateTime:

CmpiObject List of all members.

Public Member Functions

 CmpiDateTime (const CMPIDateTime *enc)
 CmpiDateTime ()
 CmpiDateTime (const CmpiDateTime &original)
 CmpiDateTime (const char *utcTime)
 CmpiDateTime (const CMPIUint64 binTime, const CmpiBoolean interval)
CmpiBoolean isInterval () const
CMPIUint64 getDateTime () const
CMPIDateTimegetEnc () const

Protected Member Functions

void * makeDateTime (CMPIBroker *mb)
void * makeDateTime (CMPIBroker *mb, const char *utcTime)
void * makeDateTime (CMPIBroker *mb, const CMPIUint64 binTime, const CmpiBoolean interval)

Detailed Description

This class represents the instance of a CIM DateTime artifact.


Constructor & Destructor Documentation

CmpiDateTime::CmpiDateTime const CMPIDateTime enc  ) 
 

Constructor from CMPI type

CmpiDateTime::CmpiDateTime  ) 
 

Constructor - Return current time and date.

CmpiDateTime::CmpiDateTime const CmpiDateTime original  ) 
 

CmpiDateTime::CmpiDateTime const char *  utcTime  ) 
 

Constructor - Initialize time and date according to <utcTime>.

Parameters:
utcTime Date/Time definition in UTC format

CmpiDateTime::CmpiDateTime const CMPIUint64  binTime,
const CmpiBoolean  interval
 

Constructor - Initialize time and date according to <binTime>.

Parameters:
binTime Date/Time definition in binary format in microsecods starting since 00:00:00 GMT, Jan 1,1970.
interval defines Date/Time definition to be an interval value


Member Function Documentation

CMPIUint64 CmpiDateTime::getDateTime  )  const
 

getDateTime - Returns DateTime in binary format.

Returns:
Uint64 DateTime in binary.

CMPIDateTime * CmpiDateTime::getEnc  )  const
 

Gets the encapsulated CMPIDateTime.

CmpiBoolean CmpiDateTime::isInterval  )  const
 

isInterval - Tests whether time is an interval value.

Returns:
CmpiBoolean true when time is an interval value.

void * CmpiDateTime::makeDateTime CMPIBroker mb,
const CMPIUint64  binTime,
const CmpiBoolean  interval
[protected]
 

void * CmpiDateTime::makeDateTime CMPIBroker mb,
const char *  utcTime
[protected]
 

void * CmpiDateTime::makeDateTime CMPIBroker mb  )  [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Feb 26 13:04:35 2022 for cmpi by  doxygen 1.4.6