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 | Constant | Public | Type reference (TYPE) | PSEN_DAY_IN_YEAR | '0301' | 20021213 | |||
| 2 | Constant | Public | Type reference (TYPE) | PSEN_DAY_IN_YEAR | '0228' | 20021213 | |||
| 3 | Constant | Public | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | '1' | 20021213 | |||
| 4 | Constant | Public | Type reference (TYPE) | PSEN_LEAP_DAY_ANNIV | '8' | 20021213 | |||
| 5 | Constant | Public | Type reference (TYPE) | PSEN_DAY_IN_YEAR | '0229' | 20021213 | |||
| 6 | Constant | Private | Type reference (TYPE) | D | '18000228' | 20031103 | |||
| 7 | Constant | Private | Type reference (TYPE) | BOOLE_D | LIF_HRPA_BOOLE_D=>FALSE | 20021213 | |||
| 8 | Constant | Private | Type reference (TYPE) | BOOLE_D | LIF_HRPA_BOOLE_D=>TRUE | 20021213 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Does the rest of a year div. of a period contain a leap day | 20021213 | |
| 2 | Static method | Public | Method | Does a date belong to a leap year | 20021213 | |
| 3 | Static method | Public | Method | Leap day contained in the rest of a year div. of a period | 20030127 | |
| 4 | 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 | ED_IS_CONTAINED | Value transfer | Type reference (TYPE) | BOOLE_D | 20021213 | ||||
| 2 | IS_PERIOD | Value transfer | Type reference (TYPE) | PSEN_PERIOD | 20021213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20021213 |
Method IS_YEAR_A_LEAP_YEAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_IS_LEAP_YEAR | Value transfer | Type reference (TYPE) | BOOLE_D | 20021213 | ||||
| 2 | ID_DATE | Value transfer | Type reference (TYPE) | DATUM | 20021213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20021213 |
Method LEAP_DAY_IN_REST_YEAR_DIV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_LEAP_DAY | Value transfer | Type reference (TYPE) | D | 20030127 | ||||
| 2 | IS_PERIOD | Value transfer | Type reference (TYPE) | PSEN_PERIOD | 20030127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20030127 |
Method LEAP_DAY_PRECEDING_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_LEAP_DAY | Value transfer | Type reference (TYPE) | D | 20090507 | ||||
| 2 | ID_ENDDA | Value transfer | Type reference (TYPE) | ENDDA | Gültigkeitsende | 20090507 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090507 |
History
| Last changed by/on | SAP | 20030424 |
| SAP Release Created in | 470 |