SAP ABAP Class CL_RECA_TIMESTAMP (Time Stamp Management)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
RE-FX (Application Component) Flexible Real Estate Management
⤷
RE_CA_BC (Package) RE: Base (Technical Objects - Library)

⤷

⤷

Properties
Class | CL_RECA_TIMESTAMP | |
Short Description | Time Stamp Management | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RE_CA_BC | RE: Base (Technical Objects - Library) |
Created | 20060704 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RECA_TIMESTAMP has no interface implemented.
Friends
Class CL_RECA_TIMESTAMP has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Public | Type reference (TYPE) | TIMESTAMP | Largest Time Stamp | 20060706 | ||
2 | ![]() |
Static Attribute | Public | Type reference (TYPE) | TIMESTAMP | Smallest Time Stamp | 20060706 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Checks Period (Correct Date, From > To) | 20060704 |
2 | ![]() |
Static method | Public | Method | Checks Validity of Time Stamp | 20060707 |
3 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20060706 |
4 | ![]() |
Static method | Public | Method | Converts Period to String | 20060707 |
5 | ![]() |
Static method | Public | Method | Converts Seconds to String (Years, Months...Seconds) | 20080103 |
6 | ![]() |
Static method | Public | Method | Converts Time Stamp to String (Text Field) | 20060707 |
7 | ![]() |
Static method | Public | Method | Converts Time Stamp to String (Weekday, Date, Time) | 20060707 |
8 | ![]() |
Static method | Public | Method | Converts Time Stamp to String (Weekday, Date, Time) | 20060707 |
9 | ![]() |
Static method | Public | Method | Divide Periods So They Overlap | 20060706 |
10 | ![]() |
Static method | Public | Method | Group Together Periods So of Largest Size Possible | 20060706 |
11 | ![]() |
Static method | Public | Method | Gets the Additional Time Due to Time Conversion | 20070330 |
12 | ![]() |
Static method | Public | Method | Gets Current Date and Time as Time Stamp | 20060704 |
13 | ![]() |
Static method | Public | Method | Is Time Stamp a Valid Time Stamp? | 20070116 |
14 | ![]() |
Static method | Public | Method | Sets Time Stamp to End of Day (23:59:... on Same Day) | 20060705 |
15 | ![]() |
Static method | Public | Method | Seconds to Years, Months, Days, Hours, Minutes, Seconds | 20080103 |
16 | ![]() |
Static method | Private | Method | Determine Smallest Time Periods | 20060706 |
Events
Class CL_RECA_TIMESTAMP has no event.
Types
Class CL_RECA_TIMESTAMP has no local type.
Method Signatures
Method CHECK_PERIOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TEXT1 | Call by reference | Type reference (TYPE) | CLIKE | 1. Text für Ausgabe | 20060704 | ||
2 | ![]() |
ID_TEXT2 | Call by reference | Type reference (TYPE) | CLIKE | 2. Text für Ausgabe | 20060704 | ||
3 | ![]() |
ID_TIMEFROM | Call by reference | Type reference (TYPE) | RECA_TIME_PERIOD-TIMEFROM | Zeitraum von | 20060707 | ||
4 | ![]() |
ID_TIMETO | Call by reference | Type reference (TYPE) | RECA_TIME_PERIOD-TIMETO | Zeitraum bis | 20060707 | ||
5 | ![]() |
IF_IGNORE_EMPTY_PERIOD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Initialen Zeitraum ignorieren | 20060704 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Zeitraum ist fehlerhaft | 20060704 |
Method CHECK_TIMESTAMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20060707 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Datum ist ungültig | 20060707 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_RECA_TIMESTAMP has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RECA_TIMESTAMP has no exception.
Method CONVERT_PERIODS_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMEFROM | Call by reference | Type reference (TYPE) | RECA_TIME_PERIOD-TIMEFROM | Zeitraum von | 20060707 | ||
2 | ![]() |
ID_TIMETO | Call by reference | Type reference (TYPE) | RECA_TIME_PERIOD-TIMETO | Zeitraum bis | 20060707 | ||
3 | ![]() |
IF_NO_CONVERSION | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Keine Zeitraumkonvertierung | 20060707 | |
4 | ![]() |
RD_XPERIOD | Value transfer | Type reference (TYPE) | STRING | Periode als String "von - bis" | 20060707 |
Method CONVERT_PERIODS_TO_STRING on class CL_RECA_TIMESTAMP has no exception.
Method CONVERT_SECONDS_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_SECONDS | Call by reference | Type reference (TYPE) | TZNTSTMPL | Zeitraum von | 20080103 | ||
2 | ![]() |
IF_COMPRESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Bool: Nulleinträge ignorieren | 20080103 | |
3 | ![]() |
RD_XSECONDS | Value transfer | Type reference (TYPE) | STRING | xx Jahre, yy Monate, ... zz Sekunden | 20080103 |
Method CONVERT_SECONDS_TO_STRING on class CL_RECA_TIMESTAMP has no exception.
Method CONVERT_TIMESTAMP_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20060707 | ||
2 | ![]() |
RD_XTIMESTAMP | Value transfer | Type reference (TYPE) | STRING | Zeitstempel als String | 20060707 |
Method CONVERT_TIMESTAMP_TO_STRING on class CL_RECA_TIMESTAMP has no exception.
Method CONVERT_TIMESTAMP_TO_STRING_XL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20060707 | ||
2 | ![]() |
RD_XTIMESTAMP | Value transfer | Type reference (TYPE) | STRING | Zeistempel als String mit Wochentag (lang) | 20060707 |
Method CONVERT_TIMESTAMP_TO_STRING_XL on class CL_RECA_TIMESTAMP has no exception.
Method CONVERT_TIMESTAMP_TO_STRING_XM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20060707 | ||
2 | ![]() |
RD_XTIMESTAMP | Value transfer | Type reference (TYPE) | STRING | Zeistempel als String mit Wochentag | 20060707 |
Method CONVERT_TIMESTAMP_TO_STRING_XM on class CL_RECA_TIMESTAMP has no exception.
Method CREATE_PERIODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IF_WITH_GAPS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bool: Zeitraum-Lücken mit berücksichtigen | 20060706 | |
2 | ![]() |
IT_PERIOD | Call by reference | Type reference (TYPE) | RE_T_TIME_PERIOD | Zeitraum | 20060706 | ||
3 | ![]() |
RT_PERIOD | Value transfer | Type reference (TYPE) | RE_T_TIME_PERIOD | Tabelle mit geschnittenen von-bis Zeitstempeln | 20060706 |
Method CREATE_PERIODS on class CL_RECA_TIMESTAMP has no exception.
Method CREATE_PERIODS_COMPRESSED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_PERIOD | Call by reference | Type reference (TYPE) | RE_T_TIME_PERIOD | Tabelle mit überlappenden von-bis Zeitstempeln | 20060706 | ||
2 | ![]() |
RT_PERIOD | Value transfer | Type reference (TYPE) | RE_T_TIME_PERIOD | Tabelle mit großen von-bis Zeitstempeln | 20060706 |
Method CREATE_PERIODS_COMPRESSED on class CL_RECA_TIMESTAMP has no exception.
Method GET_ADDITIONAL_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TZONE | Call by reference | Type reference (TYPE) | TZNZONE | SY-ZONLO | Zeitzone | 20070330 | |
2 | ![]() |
IS_TIME_PERIOD | Call by reference | Type reference (TYPE) | RECA_TIME_PERIOD | Zeitraum von-bis | 20070330 | ||
3 | ![]() |
RD_SECONDS | Value transfer | Type reference (TYPE) | TZNTSTMPS | Zusätzliche Sekunden | 20070330 |
Method GET_ADDITIONAL_TIME on class CL_RECA_TIMESTAMP has no exception.
Method GET_CURRENT_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RD_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20060704 |
Method GET_CURRENT_DATE on class CL_RECA_TIMESTAMP has no exception.
Method IS_VALID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20070116 | ||
2 | ![]() |
RF_IS_OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | Bool: Zeitstempel ist in Ordnung | 20070116 |
Method IS_VALID on class CL_RECA_TIMESTAMP has no exception.
Method SET_TO_END_OF_DAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ID_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20060705 | ||
2 | ![]() |
RD_TIMESTAMP | Value transfer | Type reference (TYPE) | TIMESTAMP | Zeitstempel - Tagesende | 20060705 |
Method SET_TO_END_OF_DAY on class CL_RECA_TIMESTAMP has no exception.
Method SPLIT_SECONDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ED_DAYS | Call by reference | Type reference (TYPE) | NUMERIC | Tage | 20080103 | ||
2 | ![]() |
ED_HOURS | Call by reference | Type reference (TYPE) | NUMERIC | Stunden | 20080103 | ||
3 | ![]() |
ED_MINUTES | Call by reference | Type reference (TYPE) | NUMERIC | Minuten | 20080103 | ||
4 | ![]() |
ED_MONTH | Call by reference | Type reference (TYPE) | NUMERIC | Monate | 20080103 | ||
5 | ![]() |
ED_SECONDS | Call by reference | Type reference (TYPE) | NUMERIC | Sekunden | 20080103 | ||
6 | ![]() |
ED_YEARS | Call by reference | Type reference (TYPE) | NUMERIC | Jahre | 20080103 | ||
7 | ![]() |
ID_SECONDS | Call by reference | Type reference (TYPE) | TZNTSTMPL | Sekunden | 20080103 |
Method SPLIT_SECONDS on class CL_RECA_TIMESTAMP has no exception.
Method _CUT_PERIODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_PERIOD | Call by reference | Type reference (TYPE) | RE_T_TIME_PERIOD | Tabelle mit überlappenden von-bis Zeitstempeln | 20060706 | ||
2 | ![]() |
RT_PERIOD | Value transfer | Type reference (TYPE) | RE_T_TIME_PERIOD | Tabelle mit geschnittenen von-bis Zeitstempeln | 20060706 |
Method _CUT_PERIODS on class CL_RECA_TIMESTAMP has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 700 |