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

Diff for /pegasus/src/Pegasus/Common/CIMDateTime.cpp between version 1.29 and 1.30

version 1.29, 2002/08/21 20:25:46 version 1.30, 2002/08/22 20:08:33
Line 386 
Line 386 
         // Convert all values to seconds and compute the start and finish         // Convert all values to seconds and compute the start and finish
         // intervals in seconds.         // intervals in seconds.
         startIntervalInMicroseconds =         startIntervalInMicroseconds =
 #if defined(PEGASUS_PLATFORM_LINUX_IX86_GNU) || defined(PEGASUS_PLATFORM_AIX_RS_IBMCXX)              (startIntervalDays*PEGASUS_UINT64_LITERAL(86400000000)) +
             (Uint64)((startIntervalDays*86400000000ULL) +              (startIntervalHours*PEGASUS_UINT64_LITERAL(3600000000)) +
                      (startIntervalHours*3600000000ULL) +  
 #else  
             (Uint64)((startIntervalDays*86400000000) +  
                      (startIntervalHours*3600000000) +  
 #endif  
                      (startIntervalMinutes*60000000) +                      (startIntervalMinutes*60000000) +
                      (startIntervalSeconds*1000000) +                      (startIntervalSeconds*1000000) +
                       startIntervalMicroseconds);               startIntervalMicroseconds;
  
         finishIntervalInMicroseconds =         finishIntervalInMicroseconds =
 #if defined(PEGASUS_PLATFORM_LINUX_IX86_GNU) || defined(PEGASUS_PLATFORM_AIX_RS_IBMCXX)              (finishIntervalDays*PEGASUS_UINT64_LITERAL(86400000000)) +
             (Uint64)((finishIntervalDays*86400000000ULL) +              (finishIntervalHours*PEGASUS_UINT64_LITERAL(3600000000)) +
                      (finishIntervalHours*3600000000ULL) +  
 #else  
             (Uint64)((finishIntervalDays*86400000000) +  
                      (finishIntervalHours*3600000000) +  
 #endif  
                      (finishIntervalMinutes*60000000) +                      (finishIntervalMinutes*60000000) +
                      (finishIntervalSeconds*1000000) +                      (finishIntervalSeconds*1000000) +
                       finishIntervalMicroseconds);               finishIntervalMicroseconds;
  
         // Get the difference.         // Get the difference.
         intervalDifferenceInMicroseconds =         intervalDifferenceInMicroseconds =


Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2