SAP ABAP Class CL_DMC_TSTMP (Arithmetic and Conversion for Time Stamps)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ CNV_DMCM (Package) Data Mapping and Conversion: Maintenance
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ CNV_DMCM (Package) Data Mapping and Conversion: Maintenance
Properties
Class | CL_DMC_TSTMP | |
Short Description | Arithmetic and Conversion for Time Stamps | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CNV_DMCM | Data Mapping and Conversion: Maintenance |
Created | 20030306 | SAP |
Last change | 20141030 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_DMC_TSTMP has no forward declaration.
Interfaces
Class CL_DMC_TSTMP has no interface implemented.
Friends
Class CL_DMC_TSTMP has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MAXSECS | Constant | Private | Type reference (TYPE) | TZNTSTMPL | '315538070399.9999999' | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20030306 | |
2 | MINSECS | Constant | Private | Type reference (TYPE) | TZNTSTMPL | '-315538070399.9999999' | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20030306 | |
3 | SECSOFDAY | Constant | Private | Type reference (TYPE) | I | 86400 | Number of Seconds in a Day | 20030306 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD | Static method | Public | Method | Addition of Duration in Seconds to Time Stamp | 20030306 |
2 | COMPARE | Static method | Public | Method | ONLY FOR PROGRAMS WITHOUT FIXED POINT ARITHMETIC FLAG | 20030306 |
3 | SECS2TSTMP | Static method | Private | Method | Conversion: Duration in Seconds after Time Stamp | 20030306 |
4 | SUBTRACT | Static method | Public | Method | Subtraction of Two Time Stamps | 20030306 |
5 | SUBTRACTSECS | Static method | Public | Method | Subtraction of Duration in Seconds of Time Stamp | 20030306 |
6 | TSTMP2SECS | Static method | Private | Method | Conversion: Time Stamp by Duration in Seconds | 20030306 |
Events
Class CL_DMC_TSTMP has no event.
Types
Class CL_DMC_TSTMP has no local type.
Method Signatures
Method ADD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20030306 | ||
2 | Importing | SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden | 20030306 | ||
3 | Importing | TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20030306 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20030306 |
Method COMPARE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | COMP | Value transfer | Type reference (TYPE) | I | Ergebnis: kleiner (-1), gleich(0), größer (1) | 20030306 | ||
2 | Importing | TSTMP1 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 | ||
3 | Importing | TSTMP2 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20030306 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20030306 |
Method SECS2TSTMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden (ab 01.01.0001 00:00:00) | 20030306 | ||
2 | Returning | TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20030306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20030306 |
Method SUBTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_SECS | Value transfer | Type reference (TYPE) | TZNTSTMPL | Zeitspanne in Sekunden | 20030306 | ||
2 | Importing | TSTMP1 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 | ||
3 | Importing | TSTMP2 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20030306 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20030306 |
Method SUBTRACTSECS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20030306 | ||
2 | Importing | SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden | 20030306 | ||
3 | Importing | TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20030306 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20030306 |
Method TSTMP2SECS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | SECS | Value transfer | Type reference (TYPE) | TZNTSTMPL | Zeitspanne in Sekunden (ab dem 01.01.0001 00:00:00) | 20030306 | ||
2 | Importing | TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_PARAMETER_INVALID_RANGE | Parameter mit ungültigem Wertebereich | 20030306 | |
2 | CX_PARAMETER_INVALID_TYPE | Parameter mit ungültigem Typ | 20030306 |
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 50A |