(file) Return to CIMDateTime.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/CIMDateTime.h between version 1.38 and 1.39

version 1.38, 2004/05/05 19:43:41 version 1.39, 2004/05/31 10:47:41
Line 31 
Line 31 
 //              Roger Kumpf, Hewlett Packard Company (roger_kumpf@hp.com) //              Roger Kumpf, Hewlett Packard Company (roger_kumpf@hp.com)
 //              Carol Ann Krug Graves, Hewlett-Packard Company //              Carol Ann Krug Graves, Hewlett-Packard Company
 //                (carolann_graves@hp.com) //                (carolann_graves@hp.com)
 //              Amit K Arora (amita@in.ibm.com) for PEP-101  
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 41 
Line 40 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/Array.h> #include <Pegasus/Common/Array.h>
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
 #include <Pegasus/Common/AutoPtr.h>  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class CIMDateTimeRep  class CIMDateTimeRep;
 {  
 public:  
     enum { FORMAT_LENGTH = 25 };  
   
     //  
     // Length of the string required to store only the date and time without  
     // the UTC sign and UTC offset.  
     // Format is yyyymmddhhmmss.  
     // Note : The size does not include the null byte.  
     //  
     enum { DATE_TIME_LENGTH = 14 };  
   
     //  
     // Length of the string required to store the  formatted date and time  
     // Format is yyyy:mm:dd:hh:mm:ss.  
     //  
     enum { FORMATTED_DATE_TIME = 20 };  
   
     char data[FORMAT_LENGTH + 1];  
 };  
   
  
 /** /**
     The CIMDateTime class represents the CIM datetime data type as a C++ class     The CIMDateTime class represents the CIM datetime data type as a C++ class
Line 139 
Line 116 
     */     */
     CIMDateTime(const CIMDateTime& x);     CIMDateTime(const CIMDateTime& x);
  
       /** CIMDateTime destructor. */
       ~CIMDateTime();
  
     /** Assigns one instance of the CIMDateTime object to another.     /** Assigns one instance of the CIMDateTime object to another.
         @param x  The CIMDateTime Object to assign to the CIMDateTime object.         @param x  The CIMDateTime Object to assign to the CIMDateTime object.
Line 228 
Line 207 
  
 private: private:
  
     AutoPtr<CIMDateTimeRep> _rep;//PEP101      CIMDateTimeRep* _rep;
     Boolean _set(const String & dateTimeStr);     Boolean _set(const String & dateTimeStr);
 }; };
 /** /**


Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2