SAP ABAP Class CL_LRM_TIMESTAMP_CALCULATOR (IRM: Time Stamp Calculation)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ILM-IRM-RT (Application Component) IRM Run Time
⤷
S_LRM_OBJ_CAT_INDEPENDENT (Package) Information Retention Manager - Cross-Object Category
⤷
⤷
Properties
| Class | CL_LRM_TIMESTAMP_CALCULATOR | |
| Short Description | IRM: Time Stamp Calculation | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_LRM_OBJ_CAT_INDEPENDENT | Information Retention Manager - Cross-Object Category |
| Created | 20080724 | SAP |
| Last change | 20090618 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_LRM_TIMESTAMP_CALCULATOR has no forward declaration.
Interfaces
Class CL_LRM_TIMESTAMP_CALCULATOR has no interface implemented.
Friends
Class CL_LRM_TIMESTAMP_CALCULATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Reference to an Application Object | 20080724 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_TIMEUNIT | Time Unit | 20080724 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_TIMEUNIT | Time Unit | 20080724 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_TIMEUNIT | Time Unit | 20080724 | |||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_LRM_TIMESTAMP_CALCULATOR | Helper for IRM | 20080724 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Determines Target Date | 20080724 | |
| 2 | Instance method | Public | Method | Checks Whether Given Time Stamp is Valid | 20080724 | |
| 3 | Instance method | Private | Constructor | CONSTRUCTOR | 20080724 | |
| 4 | Static method | Public | Method | Passes Instance to Caller | 20080724 | |
| 5 | Instance method | Public | Method | Determines Maximum Valid Time from Given Times | 20080724 | |
| 6 | Instance method | Public | Method | Determines Minimum Valid Time from Given Times | 20080724 |
Events
Class CL_LRM_TIMESTAMP_CALCULATOR has no event.
Types
Class CL_LRM_TIMESTAMP_CALCULATOR has no local type.
Method Signatures
Method CALCULATE_TARGET_TIMESTAMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATETIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 2 | IV_DATETIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 3 | IV_DURATION_FACTOR | Call by reference | Type reference (TYPE) | I | 20080724 | ||||
| 4 | IV_DURATION_UNIT | Call by reference | Type reference (TYPE) | CHAR3 | 'DAY' or 'MON' or 'ANN' | 20080724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080724 |
Method CHECK_CONSISTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATETIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 2 | R_VALID | Value transfer | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20080724 |
Method CHECK_CONSISTANCE on class CL_LRM_TIMESTAMP_CALCULATOR has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_LRM_TIMESTAMP_CALCULATOR has no parameter.
Method CONSTRUCTOR on class CL_LRM_TIMESTAMP_CALCULATOR has no exception.
Method GET_CALCULATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_CALCULATOR | Value transfer | Object reference (TYPE REF TO) | CL_LRM_TIMESTAMP_CALCULATOR | Helfer für IRM | 20080724 |
Method GET_CALCULATOR on class CL_LRM_TIMESTAMP_CALCULATOR has no exception.
Method GET_MAX_DATETIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATETIME_1 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 2 | IV_DATETIME_2 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 3 | R_DATETIME_MAX | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 |
Method GET_MAX_DATETIME on class CL_LRM_TIMESTAMP_CALCULATOR has no exception.
Method GET_MIN_DATETIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATETIME_1 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 2 | IV_DATETIME_2 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 | |||
| 3 | R_DATETIME_MIN | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20080724 |
Method GET_MIN_DATETIME on class CL_LRM_TIMESTAMP_CALCULATOR has no exception.
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 701 |