SAP ABAP Class CL_SCV_EXPIRATION (Expiry Date)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-COV (Application Component) Coverage Analyzer
     SCOV_API_ALL (Package) Coverage API for All Purposes
Properties
Class CL_SCV_EXPIRATION  
Short Description Expiry Date    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SCOV_API_ALL   Coverage API for All Purposes 
Created 20090930   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)
Interfaces
Class CL_SCV_EXPIRATION has no interface implemented.
Friends
Class CL_SCV_EXPIRATION has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DATE_TEXT Instance attribute Public See coding Formatted Date (local time zone) 20090930
2 TIMESTAMP Instance attribute Public Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20090930
3 TIME_TEXT Instance attribute Public See coding Formatted Time (local time zone) 20090930
4 TOTAL_IN_SECONDS Instance attribute Public Type reference (TYPE) CVA_TESTKEY_EXP Expiration Date Test Key in Seconds 20091126
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_DATE_AND_TIME Instance method Private Method Determines date and time 20090930
2 CLONE Instance method Public Method Generates a copy 20091126
3 CREATE Static method Public Method Creates a New Expiry Object 20090930
4 CREATE_BY_SECONDS Static method Public Method Creates an Expiry Object Using Seconds 20091126
5 CREATE_BY_TIMESTAMP Static method Public Method Creates an Expiry Object Using a Timestamp 20090930
6 CREATE_DEFAULT Static method Public Method Creates a standard expiry date (1 day) 20090930
7 EQUALS Instance method Public Method Compares 2 Expiry Dates 20091126
8 IS_EXPIRED Instance method Public Method Returns TRUE, if expiry date is exceeded 20090930
9 START Instance method Public Method Starts Expiry 20091126
Events
Class CL_SCV_EXPIRATION has no event.
Types
Class CL_SCV_EXPIRATION has no local type.
Method Signatures

Method CALCULATE_DATE_AND_TIME Signature

Method CALCULATE_DATE_AND_TIME on class CL_SCV_EXPIRATION has no parameter.
Method CALCULATE_DATE_AND_TIME on class CL_SCV_EXPIRATION has no exception.

Method CLONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EXPIRATION Value transfer Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum 20091126

Method CLONE on class CL_SCV_EXPIRATION has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DAYS Call by reference Type reference (TYPE) I Tage 20090930
2 Importing I_HOURS Call by reference Type reference (TYPE) I Stunden 20090930
3 Importing I_MINUTES Call by reference Type reference (TYPE) I Minuten 20090930
4 Importing I_SECONDS Call by reference Type reference (TYPE) I Sekunden 20090930
5 Importing I_WEEKS Call by reference Type reference (TYPE) I Wochen 20090930
6 Returning R_EXPIRATION Value transfer Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum, aus Summe der Eingabewerte berechnet 20090930
# Exception Resumable Description Created on
1 CX_SCV_CALL_ERROR Aufruffehler, falls einer der Eingabeparameter negativ ist 20091001

Method CREATE_BY_SECONDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SECS Call by reference Type reference (TYPE) NUMERIC 20091126
2 Returning R_EXPIRATION Value transfer Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum 20091126

Method CREATE_BY_SECONDS on class CL_SCV_EXPIRATION has no exception.

Method CREATE_BY_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20090930
2 Returning R_EXPIRATION Value transfer Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum zum eingegebenen Zeitstempel 20090930

Method CREATE_BY_TIMESTAMP on class CL_SCV_EXPIRATION has no exception.

Method CREATE_DEFAULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_EXPIRATION Value transfer Object reference (TYPE REF TO) CL_SCV_EXPIRATION Standard-Haltbarkeitsdatum (1 Tag) 20090930

Method CREATE_DEFAULT on class CL_SCV_EXPIRATION has no exception.

Method EQUALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPIRATION Call by reference Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum 20091126
2 Returning R_EQUALS Value transfer Type reference (TYPE) ABAP_BOOL 20091126

Method EQUALS on class CL_SCV_EXPIRATION has no exception.

Method IS_EXPIRED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_IS_EXPIRED Value transfer Type reference (TYPE) ABAP_BOOL TRUE, falls das Haltbarkeitsdatum überschritten, sonst FALSE 20090930

Method IS_EXPIRED on class CL_SCV_EXPIRATION has no exception.

Method START Signature

Method START on class CL_SCV_EXPIRATION has no parameter.
Method START on class CL_SCV_EXPIRATION has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 800