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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RECA0 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 MD_TIMESTAMP_MAX Static Attribute Public Type reference (TYPE) TIMESTAMP Largest Time Stamp 20060706
2 MD_TIMESTAMP_MIN Static Attribute Public Type reference (TYPE) TIMESTAMP Smallest Time Stamp 20060706
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_PERIOD Static method Public Method Checks Period (Correct Date, From > To) 20060704
2 CHECK_TIMESTAMP Static method Public Method Checks Validity of Time Stamp 20060707
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20060706
4 CONVERT_PERIODS_TO_STRING Static method Public Method Converts Period to String 20060707
5 CONVERT_SECONDS_TO_STRING Static method Public Method Converts Seconds to String (Years, Months...Seconds) 20080103
6 CONVERT_TIMESTAMP_TO_STRING Static method Public Method Converts Time Stamp to String (Text Field) 20060707
7 CONVERT_TIMESTAMP_TO_STRING_XL Static method Public Method Converts Time Stamp to String (Weekday, Date, Time) 20060707
8 CONVERT_TIMESTAMP_TO_STRING_XM Static method Public Method Converts Time Stamp to String (Weekday, Date, Time) 20060707
9 CREATE_PERIODS Static method Public Method Divide Periods So They Overlap 20060706
10 CREATE_PERIODS_COMPRESSED Static method Public Method Group Together Periods So of Largest Size Possible 20060706
11 GET_ADDITIONAL_TIME Static method Public Method Gets the Additional Time Due to Time Conversion 20070330
12 GET_CURRENT_DATE Static method Public Method Gets Current Date and Time as Time Stamp 20060704
13 IS_VALID Static method Public Method Is Time Stamp a Valid Time Stamp? 20070116
14 SET_TO_END_OF_DAY Static method Public Method Sets Time Stamp to End of Day (23:59:... on Same Day) 20060705
15 SPLIT_SECONDS Static method Public Method Seconds to Years, Months, Days, Hours, Minutes, Seconds 20080103
16 _CUT_PERIODS 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 Importing ID_TEXT1 Call by reference Type reference (TYPE) CLIKE 1. Text für Ausgabe 20060704
2 Importing ID_TEXT2 Call by reference Type reference (TYPE) CLIKE 2. Text für Ausgabe 20060704
3 Importing ID_TIMEFROM Call by reference Type reference (TYPE) RECA_TIME_PERIOD-TIMEFROM Zeitraum von 20060707
4 Importing ID_TIMETO Call by reference Type reference (TYPE) RECA_TIME_PERIOD-TIMETO Zeitraum bis 20060707
5 Importing 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 PERIOD_INVALID Zeitraum ist fehlerhaft 20060704

Method CHECK_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP Zeitstempel 20060707
# Exception Resumable Description Created on
1 DATE_INVALID 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 Importing ID_TIMEFROM Call by reference Type reference (TYPE) RECA_TIME_PERIOD-TIMEFROM Zeitraum von 20060707
2 Importing ID_TIMETO Call by reference Type reference (TYPE) RECA_TIME_PERIOD-TIMETO Zeitraum bis 20060707
3 Importing IF_NO_CONVERSION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Bool: Keine Zeitraumkonvertierung 20060707
4 Returning 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 Importing ID_SECONDS Call by reference Type reference (TYPE) TZNTSTMPL Zeitraum von 20080103
2 Importing IF_COMPRESS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Bool: Nulleinträge ignorieren 20080103
3 Returning 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 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP Zeitstempel 20060707
2 Returning 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 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP Zeitstempel 20060707
2 Returning 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 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP Zeitstempel 20060707
2 Returning 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 Importing IF_WITH_GAPS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Bool: Zeitraum-Lücken mit berücksichtigen 20060706
2 Importing IT_PERIOD Call by reference Type reference (TYPE) RE_T_TIME_PERIOD Zeitraum 20060706
3 Returning 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 Importing IT_PERIOD Call by reference Type reference (TYPE) RE_T_TIME_PERIOD Tabelle mit überlappenden von-bis Zeitstempeln 20060706
2 Returning 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 Importing ID_TZONE Call by reference Type reference (TYPE) TZNZONE SY-ZONLO Zeitzone 20070330
2 Importing IS_TIME_PERIOD Call by reference Type reference (TYPE) RECA_TIME_PERIOD Zeitraum von-bis 20070330
3 Returning 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 Returning 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 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP Zeitstempel 20070116
2 Returning 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 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP Zeitstempel 20060705
2 Returning 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 Exporting ED_DAYS Call by reference Type reference (TYPE) NUMERIC Tage 20080103
2 Exporting ED_HOURS Call by reference Type reference (TYPE) NUMERIC Stunden 20080103
3 Exporting ED_MINUTES Call by reference Type reference (TYPE) NUMERIC Minuten 20080103
4 Exporting ED_MONTH Call by reference Type reference (TYPE) NUMERIC Monate 20080103
5 Exporting ED_SECONDS Call by reference Type reference (TYPE) NUMERIC Sekunden 20080103
6 Exporting ED_YEARS Call by reference Type reference (TYPE) NUMERIC Jahre 20080103
7 Importing 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 Importing IT_PERIOD Call by reference Type reference (TYPE) RE_T_TIME_PERIOD Tabelle mit überlappenden von-bis Zeitstempeln 20060706
2 Returning 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