SAP ABAP Class CL_ABAP_TSTMP (Arithmetic and Conversion for Time Stamps)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_CONVERT (Package) Conversion of Time Specifications

⤷

⤷

Properties
Class | CL_ABAP_TSTMP | |
Short Description | Arithmetic and Conversion for Time Stamps | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SABP_CONVERT | Conversion of Time Specifications |
Created | 20011025 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_ABAP_TSTMP has no forward declaration.
Interfaces
Class CL_ABAP_TSTMP has no interface implemented.
Friends
Class CL_ABAP_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' | Maximum Duration (Number of Seconds) | 20011106 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | TZNTSTMPL | '-315538070399.9999999' | Minimum Duration (Number of Seconds) | 20011106 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | OPERATION_MODE | 'B' | 20101021 | ||
4 | ![]() |
Constant | Public | Type reference (TYPE) | OPERATION_MODE | 'N' | 20101021 | ||
5 | ![]() |
Constant | Public | Type reference (TYPE) | OPERATION_MODE | 'W' | 20101021 | ||
6 | ![]() |
Constant | Private | Type reference (TYPE) | I | 86400 | Number of Seconds in a Day | 20011106 | |
7 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TZNZONE | System Time Zone for TTZCU | 20040913 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Addition of Duration in Seconds to Time Stamp | 20011025 |
2 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20040913 |
3 | ![]() |
Static method | Public | Method | ONLY FOR PROGRAMS WITHOUT FIXED POINT ARITHMETIC FLAG | 20011106 |
4 | ![]() |
Static method | Private | Method | 20040913 | |
5 | ![]() |
Static method | Public | Method | Check Against Period of Daylight Saving Time | 20020503 |
6 | ![]() |
Static method | Public | Method | Like ISDOUBLEINTERVAL but With Time Zone | 20081015 |
7 | ![]() |
Static method | Public | Method | Convert date/time from the missing hour | 20101021 |
8 | ![]() |
Static method | Public | Method | Converts UTC Time Stamps | 20081015 |
9 | ![]() |
Static method | Public | Method | Normalizes Time Stamp | 20031007 |
10 | ![]() |
Static method | Private | Method | Conversion: Duration in Seconds after Time Stamp | 20011106 |
11 | ![]() |
Static method | Public | Method | Subtraction of Two Time Stamps | 20011025 |
12 | ![]() |
Static method | Public | Method | Subtraction of Duration in Seconds of Time Stamp | 20011106 |
13 | ![]() |
Static method | Public | Method | Conversion: Local Time in "Continuous System Time" | 20020503 |
14 | ![]() |
Static method | Public | Method | Conversion: "Continuous System Time" in Local Time | 20020503 |
15 | ![]() |
Static method | Public | Method | Conversion: "Continuous System Time" in UTC Time | 20020604 |
16 | ![]() |
Static method | Public | Method | Conversion: "UTC Time in Continuous System Time" | 20020604 |
17 | ![]() |
Static method | Public | Method | Addition of Duration in Seconds to Date/Time Pair | 20020503 |
18 | ![]() |
Static method | Public | Method | Normalizes Local Time Stamp (Date/Time Pairs) | 20031007 |
19 | ![]() |
Static method | Public | Method | Substraction of Two Date/Time Pairs | 20020503 |
20 | ![]() |
Static method | Private | Method | Conversion: Time Stamp by Duration in Seconds | 20011106 |
Events
Class CL_ABAP_TSTMP has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | OPERATION_MODE | Public | See coding | 20101021 | operation_mode type c length 1
|
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 | 20011025 | ||
2 | ![]() |
SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden | 20011106 | ||
3 | ![]() |
TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011025 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20011105 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20011105 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ABAP_TSTMP has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ABAP_TSTMP has no exception.
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) | 20011106 | ||
2 | ![]() |
TSTMP1 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011106 | ||
3 | ![]() |
TSTMP2 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011106 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20011106 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20011106 |
Method GET_START_OF_DOUBLEDHOUR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE | Call by reference | Type reference (TYPE) | D | 20040913 | |||
2 | ![]() |
START_DATE | Call by reference | Type reference (TYPE) | D | erster innerhalb doppelter Stunde | 20040913 | ||
3 | ![]() |
START_TIME | Call by reference | Type reference (TYPE) | T | erster innerhalb doppelter Stunde | 20040913 | ||
4 | ![]() |
TIME | Call by reference | Type reference (TYPE) | T | 20040913 |
Method GET_START_OF_DOUBLEDHOUR on class CL_ABAP_TSTMP has no exception.
Method ISDOUBLEINTERVAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE | Call by reference | Type reference (TYPE) | D | 20020503 | |||
2 | ![]() |
ISDOUBLEINTERVAL | Value transfer | Type reference (TYPE) | FLAG | Datum und Zeit, Sommerzeitflag | 20020503 | ||
3 | ![]() |
TIME | Call by reference | Type reference (TYPE) | T | 20020503 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020506 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20020506 |
Method ISDOUBLEINTERVAL_TZONE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE | Call by reference | Type reference (TYPE) | D | 20081015 | |||
2 | ![]() |
ISDOUBLEINTERVAL | Value transfer | Type reference (TYPE) | FLAG | allgemeines flag | 20081015 | ||
3 | ![]() |
TIME | Call by reference | Type reference (TYPE) | T | 20081015 | |||
4 | ![]() |
TZONE | Call by reference | Type reference (TYPE) | TZNZONE | Zeitzone | 20081015 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20081015 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20081015 |
Method MAKE_VALID_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE_IN | Value transfer | Type reference (TYPE) | D | 20101021 | |||
2 | ![]() |
DATE_VALID | Call by reference | Type reference (TYPE) | D | 20101021 | |||
3 | ![]() |
MODE | Call by reference | Type reference (TYPE) | OPERATION_MODE | OP_MODE_WALLCLOCK | 20101021 | ||
4 | ![]() |
TIME_IN | Value transfer | Type reference (TYPE) | T | 20101021 | |||
5 | ![]() |
TIME_VALID | Call by reference | Type reference (TYPE) | T | 20101021 | |||
6 | ![]() |
TIME_ZONE | Call by reference | Type reference (TYPE) | TZNZONE | Zeitzone | 20101021 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20101021 | |
2 | ![]() |
Fehler bei Berechnung eines Zeitstempels | 20101021 |
Method MOVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TSTMP_SRC | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel: Quelle | 20081015 | ||
2 | ![]() |
TSTMP_TGT | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel: Ziel | 20081015 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20081015 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20081015 |
Method NORMALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TSTMP_IN | Value transfer | Type reference (TYPE) | P | 20031007 | |||
2 | ![]() |
TSTMP_OUT | Value transfer | Type reference (TYPE) | TZNTSTMPL | 20031007 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20031007 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20031007 |
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) | 20011106 | ||
2 | ![]() |
TSTMP | Value transfer | Type reference (TYPE) | TZNTSTMPL | UTC-Zeitstempel | 20011106 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20011106 |
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 | 20011106 | ||
2 | ![]() |
TSTMP1 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011025 | ||
3 | ![]() |
TSTMP2 | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011025 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20011105 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20011105 |
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 | 20011106 | ||
2 | ![]() |
SECS | Call by reference | Type reference (TYPE) | NUMERIC | Zeitspanne in Sekunden | 20011106 | ||
3 | ![]() |
TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011106 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20011106 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20011106 |
Method SYSTEMTSTMP_LOC2SYST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LOC_DATE | Call by reference | Type reference (TYPE) | D | 20020505 | |||
2 | ![]() |
LOC_DST | Call by reference | Type reference (TYPE) | FLAG | allgemeines flag | 20020505 | ||
3 | ![]() |
LOC_TIME | Call by reference | Type reference (TYPE) | T | 20020505 | |||
4 | ![]() |
SYST_DATE | Call by reference | Type reference (TYPE) | D | 20020505 | |||
5 | ![]() |
SYST_TIME | Call by reference | Type reference (TYPE) | T | 20020505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020506 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20020506 |
Method SYSTEMTSTMP_SYST2LOC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LOC_DATE | Call by reference | Type reference (TYPE) | D | 20020505 | |||
2 | ![]() |
LOC_DST | Call by reference | Type reference (TYPE) | FLAG | allgemeines flag | 20020505 | ||
3 | ![]() |
LOC_TIME | Call by reference | Type reference (TYPE) | T | 20020505 | |||
4 | ![]() |
SYST_DATE | Call by reference | Type reference (TYPE) | D | 20020505 | |||
5 | ![]() |
SYST_TIME | Call by reference | Type reference (TYPE) | T | 20020505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020506 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20020506 |
Method SYSTEMTSTMP_SYST2UTC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SYST_DATE | Call by reference | Type reference (TYPE) | D | 20020604 | |||
2 | ![]() |
SYST_TIME | Call by reference | Type reference (TYPE) | T | 20020604 | |||
3 | ![]() |
UTC_TSTMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20020604 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020606 |
Method SYSTEMTSTMP_UTC2SYST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SYST_DATE | Call by reference | Type reference (TYPE) | D | System Datum | 20020604 | ||
2 | ![]() |
SYST_TIME | Call by reference | Type reference (TYPE) | T | System Zeit | 20020604 | ||
3 | ![]() |
UTC_TSTMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20020604 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020604 |
Method TD_ADD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE | Call by reference | Type reference (TYPE) | D | 20020505 | |||
2 | ![]() |
RES_DATE | Call by reference | Type reference (TYPE) | D | 20020505 | |||
3 | ![]() |
RES_TIME | Call by reference | Type reference (TYPE) | T | 20020505 | |||
4 | ![]() |
SECS | Call by reference | Type reference (TYPE) | NUMERIC | 20020505 | |||
5 | ![]() |
TIME | Call by reference | Type reference (TYPE) | T | 20020505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020503 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20020503 |
Method TD_NORMALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE_IN | Call by reference | Type reference (TYPE) | D | 20031007 | |||
2 | ![]() |
DATE_NORM | Call by reference | Type reference (TYPE) | D | 20031007 | |||
3 | ![]() |
TIME_IN | Call by reference | Type reference (TYPE) | T | 20031007 | |||
4 | ![]() |
TIME_NORM | Call by reference | Type reference (TYPE) | T | 20031007 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20031007 |
Method TD_SUBTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE1 | Call by reference | Type reference (TYPE) | D | 20020505 | |||
2 | ![]() |
DATE2 | Call by reference | Type reference (TYPE) | D | 20020505 | |||
3 | ![]() |
RES_SECS | Call by reference | Type reference (TYPE) | NUMERIC | 20020505 | |||
4 | ![]() |
TIME1 | Call by reference | Type reference (TYPE) | T | 20020505 | |||
5 | ![]() |
TIME2 | Call by reference | Type reference (TYPE) | T | 20020505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wertebereich | 20020503 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20020503 |
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) | 20011106 | ||
2 | ![]() |
TSTMP | Call by reference | Type reference (TYPE) | P | UTC-Zeitstempel | 20011106 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter mit ungültigem Wert | 20011106 | |
2 | ![]() |
Parameter mit ungültigem Typ | 20011106 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 620 |