SAP ABAP Class CL_CIM_DATETIME (CIM DateTime Object)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-SLD-ABA (Application Component) System Landscape Directory ABAP Connectivity
     S_WBEM_CIM (Package) WBEM Client: CIM Objects
Properties
Class CL_CIM_DATETIME  
Short Description CIM DateTime Object    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_WBEM_CIM   WBEM Client: CIM Objects 
Created 20080703   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CIM_DATETIME has no interface implemented.
Friends
Class CL_CIM_DATETIME has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DATETIME Instance attribute Public Type reference (TYPE) CIM_S_DATETIME Time (CIM Date Time Format) 20080703
2 IS_INTERVAL Instance attribute Public Type reference (TYPE) ABAP_BOOL Time Interval? 20080703
3 TIMEINTERVAL Instance attribute Public Type reference (TYPE) CIM_S_TIMEINTERVAL Time Difference (CIM Date Time Format) 20080703
Methods
# Method Level Visibility Method type Description Created on
1 ABAP_TO_CIM_DATETIME Static method Public Method Converts date/time to CIM date/time string 20091210
2 EQUALS Instance method Public Method Comparison with other DateTime object 20081212
3 NEW_DATETIME Static method Public Method Creates new time object 20080703
4 NEW_TIMEINTERVAL Static method Public Method Creates new time range object 20080703
5 NEW_TIMESTAMPL Static method Public Method Creates a new time object from a time stamp 20090625
6 TIMESTAMP_TO_CIM_DATETIME Static method Public Method Converts UTC time stamp to CIM date/time string 20091210
7 TO_CIM_DATETIME_UTC_SAFE Static method Private Method 20111129
Events
Class CL_CIM_DATETIME has no event.
Types
Class CL_CIM_DATETIME has no local type.
Method Signatures

Method ABAP_TO_CIM_DATETIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATE Call by reference Type reference (TYPE) DATS Datum 20091210
2 Importing MICROSEC Call by reference Type reference (TYPE) I Mikrosekunden 20091210
3 Importing NORMALIZE_UTC Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Normalisierung auf UTC? 20091210
4 Returning RESULT Value transfer Type reference (TYPE) STRING CIM-Datetime-String 20091210
5 Importing TIME Call by reference Type reference (TYPE) TIMS Uhrzeit 20091210
6 Importing UTCOFFSET Call by reference Type reference (TYPE) I Offset zu UTC in Min. 20091210

Method ABAP_TO_CIM_DATETIME on class CL_CIM_DATETIME has no exception.

Method EQUALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning BOOL Value transfer Type reference (TYPE) ABAP_BOOL Wahr oder falsch 20081212
2 Importing OTHER_DT Call by reference Object reference (TYPE REF TO) CL_CIM_DATETIME CIM Datetime-Objekt 20081212

Method EQUALS on class CL_CIM_DATETIME has no exception.

Method NEW_DATETIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATETIME Call by reference Type reference (TYPE) CIM_S_DATETIME Zeitpunkt (CIM datetime-Format) 20080703
2 Returning INSTANCE Value transfer Object reference (TYPE REF TO) CL_CIM_DATETIME CIM Datetime-Objekt 20080703

Method NEW_DATETIME on class CL_CIM_DATETIME has no exception.

Method NEW_TIMEINTERVAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INSTANCE Value transfer Object reference (TYPE REF TO) CL_CIM_DATETIME CIM Datetime-Objekt 20080703
2 Importing TIMEINTERVAL Call by reference Type reference (TYPE) CIM_S_TIMEINTERVAL Zeitdifferenz (CIM datetime-Format) 20080703

Method NEW_TIMEINTERVAL on class CL_CIM_DATETIME has no exception.

Method NEW_TIMESTAMPL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_CIM_DATETIME CIM Datetime-Objekt 20090625
2 Importing TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20090625

Method NEW_TIMESTAMPL on class CL_CIM_DATETIME has no exception.

Method TIMESTAMP_TO_CIM_DATETIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) STRING CIM-Datetime-String 20091210
2 Importing TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMPL UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) 20091210

Method TIMESTAMP_TO_CIM_DATETIME on class CL_CIM_DATETIME has no exception.

Method TO_CIM_DATETIME_UTC_SAFE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATETIME Call by reference Object reference (TYPE REF TO) CL_CIM_DATETIME 20111129
2 Returning VALUE Value transfer Type reference (TYPE) STRING 20111129

Method TO_CIM_DATETIME_UTC_SAFE on class CL_CIM_DATETIME has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 712