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
⤷
⤷
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 | Constant | Private | Type reference (TYPE) | TZNTSTMPL | '315538070399.9999999' | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20030306 | ||
| 2 | Constant | Private | Type reference (TYPE) | TZNTSTMPL | '-315538070399.9999999' | UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun) | 20030306 | ||
| 3 | Constant | Private | Type reference (TYPE) | I | 86400 | Number of Seconds in a Day | 20030306 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Addition of Duration in Seconds to Time Stamp | 20030306 | |
| 2 | Static method | Public | Method | ONLY FOR PROGRAMS WITHOUT FIXED POINT ARITHMETIC FLAG | 20030306 | |
| 3 | Static method | Private | Method | Conversion: Duration in Seconds after Time Stamp | 20030306 | |
| 4 | Static method | Public | Method | Subtraction of Two Time Stamps | 20030306 | |
| 5 | Static method | Public | Method | Subtraction of Duration in Seconds of Time Stamp | 20030306 | |
| 6 | 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 | R_TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20030306 | |||
| 2 | SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden | 20030306 | |||
| 3 | TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20030306 | ||
| 2 | Parameter mit ungültigem Typ | 20030306 |
Method COMPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMP | Value transfer | Type reference (TYPE) | I | Ergebnis: kleiner (-1), gleich(0), größer (1) | 20030306 | |||
| 2 | TSTMP1 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 | |||
| 3 | TSTMP2 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20030306 | ||
| 2 | Parameter mit ungültigem Typ | 20030306 |
Method SECS2TSTMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden (ab 01.01.0001 00:00:00) | 20030306 | |||
| 2 | TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20030306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20030306 |
Method SUBTRACT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_SECS | Value transfer | Type reference (TYPE) | TZNTSTMPL | Zeitspanne in Sekunden | 20030306 | |||
| 2 | TSTMP1 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 | |||
| 3 | TSTMP2 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20030306 | ||
| 2 | Parameter mit ungültigem Typ | 20030306 |
Method SUBTRACTSECS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20030306 | |||
| 2 | SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden | 20030306 | |||
| 3 | TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20030306 | ||
| 2 | Parameter mit ungültigem Typ | 20030306 |
Method TSTMP2SECS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SECS | Value transfer | Type reference (TYPE) | TZNTSTMPL | Zeitspanne in Sekunden (ab dem 01.01.0001 00:00:00) | 20030306 | |||
| 2 | TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20030306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Parameter mit ungültigem Wertebereich | 20030306 | ||
| 2 | Parameter mit ungültigem Typ | 20030306 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 50A |