SAP ABAP Class CL_HRSEN00_LEAP_DAY_TOOLS (Tools for Identification of Leap Day)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-PA-XX-TL-SEN (Application Component) Calculation of Employment Period
     PSEN (Package) Service Calculation
Properties
Class CL_HRSEN00_LEAP_DAY_TOOLS  
Short Description Tools for Identification of Leap Day    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PSEN   Service Calculation 
Created 20021213   SAP 
Last change 20030424   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_HRSEN00_LEAP_DAY_TOOLS has no forward declaration.
Interfaces
Class CL_HRSEN00_LEAP_DAY_TOOLS has no interface implemented.
Friends
Class CL_HRSEN00_LEAP_DAY_TOOLS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_AFTER_LEAP_DAY_IN_YEAR Constant Public Type reference (TYPE) PSEN_DAY_IN_YEAR '0301' 20021213
2 C_BEFORE_LEAP_DAY_IN_YEAR Constant Public Type reference (TYPE) PSEN_DAY_IN_YEAR '0228' 20021213
3 C_LEAP_DAY_ANNIV_01MAR Constant Public Type reference (TYPE) PSEN_LEAP_DAY_ANNIV '1' 20021213
4 C_LEAP_DAY_ANNIV_28FEB Constant Public Type reference (TYPE) PSEN_LEAP_DAY_ANNIV '8' 20021213
5 C_LEAP_DAY_IN_YEAR Constant Public Type reference (TYPE) PSEN_DAY_IN_YEAR '0229' 20021213
6 C_ONE_28FEB Constant Private Type reference (TYPE) D '18000228' 20031103
7 FALSE Constant Private Type reference (TYPE) BOOLE_D LIF_HRPA_BOOLE_D=>FALSE 20021213
8 TRUE Constant Private Type reference (TYPE) BOOLE_D LIF_HRPA_BOOLE_D=>TRUE 20021213
Methods
# Method Level Visibility Method type Description Created on
1 IS_LEAP_DAY_IN_REST_YEAR_DIV Static method Public Method Does the rest of a year div. of a period contain a leap day 20021213
2 IS_YEAR_A_LEAP_YEAR Static method Public Method Does a date belong to a leap year 20021213
3 LEAP_DAY_IN_REST_YEAR_DIV Static method Public Method Leap day contained in the rest of a year div. of a period 20030127
4 LEAP_DAY_PRECEDING_DAY Static method Public Method Leap day contained in the rest of a year div. of a period 20090507
Events
Class CL_HRSEN00_LEAP_DAY_TOOLS has no event.
Types
Class CL_HRSEN00_LEAP_DAY_TOOLS has no local type.
Method Signatures

Method IS_LEAP_DAY_IN_REST_YEAR_DIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_IS_CONTAINED Value transfer Type reference (TYPE) BOOLE_D 20021213
2 Importing IS_PERIOD Value transfer Type reference (TYPE) PSEN_PERIOD 20021213
# Exception Resumable Description Created on
1 E_PRECONDITION 20021213

Method IS_YEAR_A_LEAP_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_IS_LEAP_YEAR Value transfer Type reference (TYPE) BOOLE_D 20021213
2 Importing ID_DATE Value transfer Type reference (TYPE) DATUM 20021213
# Exception Resumable Description Created on
1 E_PRECONDITION 20021213

Method LEAP_DAY_IN_REST_YEAR_DIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_LEAP_DAY Value transfer Type reference (TYPE) D 20030127
2 Importing IS_PERIOD Value transfer Type reference (TYPE) PSEN_PERIOD 20030127
# Exception Resumable Description Created on
1 E_PRECONDITION 20030127

Method LEAP_DAY_PRECEDING_DAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ED_LEAP_DAY Value transfer Type reference (TYPE) D 20090507
2 Importing ID_ENDDA Value transfer Type reference (TYPE) ENDDA Gültigkeitsende 20090507
# Exception Resumable Description Created on
1 E_PRECONDITION 20090507
History
Last changed by/on SAP  20030424 
SAP Release Created in 470