SAP ABAP Class CL_HRPY_DATE (Date)
Hierarchy
☛
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
⤷
PY-XX (Application Component) Payroll: General Parts
⤷
PCAL (Package) SAP HR Payroll Application Development
⤷
⤷
Properties
| Class | CL_HRPY_DATE | |
| Short Description | Date | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PCAL | SAP HR Payroll Application Development |
| Created | 20030730 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_HRPY_DATE has no forward declaration.
Interfaces
Class CL_HRPY_DATE has no interface implemented.
Friends
Class CL_HRPY_DATE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | D | 20030730 | ||||
| 2 | Constant | Public | Type reference (TYPE) | D | '00010101' | 20030730 | |||
| 3 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 5 | Single-Digit Number | 20030730 | ||
| 4 | Constant | Public | Type reference (TYPE) | D | '99991231' | 20030730 | |||
| 5 | Constant | Public | Type reference (TYPE) | D | '18000101' | 20030730 | |||
| 6 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 1 | Single-Digit Number | 20030730 | ||
| 7 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 6 | Single-Digit Number | 20030730 | ||
| 8 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 7 | Single-Digit Number | 20030730 | ||
| 9 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 4 | Single-Digit Number | 20030730 | ||
| 10 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 2 | Single-Digit Number | 20030730 | ||
| 11 | Constant | Public | Type reference (TYPE) | RP_NUM1 | 3 | Single-Digit Number | 20030730 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add Days | 20030730 | |
| 2 | Instance method | Public | Method | Add Months | 20030730 | |
| 3 | Instance method | Public | Method | Add Weeks | 20030730 | |
| 4 | Instance method | Public | Method | Add Years | 20030730 | |
| 5 | Instance method | Public | Constructor | Constructor | 20030730 | |
| 6 | Instance method | Public | Method | Determine Weekday (1 = MON, 2 = TUES ....) | 20030730 | |
| 7 | Instance method | Public | Method | Checks whether the date is the last day of the month | 20030730 | |
| 8 | Instance method | Public | Method | Set date to the start of the month | 20030730 | |
| 9 | Instance method | Public | Method | Set date to the start of the year | 20030730 | |
| 10 | Instance method | Public | Method | Reset date (object reuse) | 20030730 | |
| 11 | Instance method | Public | Method | Set date to the end of the month | 20030730 | |
| 12 | Instance method | Public | Method | Set date to the end of the year | 20030730 | |
| 13 | Instance method | Public | Method | Subtract Days | 20030730 | |
| 14 | Instance method | Public | Method | Subtract Months | 20030730 | |
| 15 | Instance method | Public | Method | Subtract Weeks | 20030730 | |
| 16 | Instance method | Public | Method | Subtract Years | 20030730 |
Events
Class CL_HRPY_DATE has no event.
Types
Class CL_HRPY_DATE has no local type.
Method Signatures
Method ADD_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_DAYS | Call by reference | Type reference (TYPE) | I | Anzahl an Tagen | 20030730 |
Method ADD_DAYS on class CL_HRPY_DATE has no exception.
Method ADD_MONTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_MONTHS | Call by reference | Type reference (TYPE) | I | Anzahl der Monate | 20030730 |
Method ADD_MONTHS on class CL_HRPY_DATE has no exception.
Method ADD_WEEKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_WEEKS | Call by reference | Type reference (TYPE) | I | Anzahl an Wochen | 20030730 |
Method ADD_WEEKS on class CL_HRPY_DATE has no exception.
Method ADD_YEARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_YEARS | Call by reference | Type reference (TYPE) | I | Anzahl der Jahren | 20030730 |
Method ADD_YEARS on class CL_HRPY_DATE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_DATE | Call by reference | Type reference (TYPE) | D | Datum | 20030730 |
Method CONSTRUCTOR on class CL_HRPY_DATE has no exception.
Method GET_DAY_OF_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_DAY_OF_WEEK | Value transfer | Type reference (TYPE) | I | 20030730 |
Method GET_DAY_OF_WEEK on class CL_HRPY_DATE has no exception.
Method IS_LAST_DAY_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_IS_LAST_DAY | Value transfer | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20030730 |
Method IS_LAST_DAY_OF_MONTH on class CL_HRPY_DATE has no exception.
Method SET_BEGIN_OF_MONTH Signature
Method SET_BEGIN_OF_MONTH on class CL_HRPY_DATE has no parameter.
Method SET_BEGIN_OF_MONTH on class CL_HRPY_DATE has no exception.
Method SET_BEGIN_OF_YEAR Signature
Method SET_BEGIN_OF_YEAR on class CL_HRPY_DATE has no parameter.
Method SET_BEGIN_OF_YEAR on class CL_HRPY_DATE has no exception.
Method SET_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_DATE | Call by reference | Type reference (TYPE) | D | 20030730 |
Method SET_DATE on class CL_HRPY_DATE has no exception.
Method SET_END_OF_MONTH Signature
Method SET_END_OF_MONTH on class CL_HRPY_DATE has no parameter.
Method SET_END_OF_MONTH on class CL_HRPY_DATE has no exception.
Method SET_END_OF_YEAR Signature
Method SET_END_OF_YEAR on class CL_HRPY_DATE has no parameter.
Method SET_END_OF_YEAR on class CL_HRPY_DATE has no exception.
Method SUBTRACT_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_DAYS | Call by reference | Type reference (TYPE) | I | Anzahl an Tagen | 20030730 |
Method SUBTRACT_DAYS on class CL_HRPY_DATE has no exception.
Method SUBTRACT_MONTHS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_MONTHS | Call by reference | Type reference (TYPE) | I | Anzahl der Monate | 20030730 |
Method SUBTRACT_MONTHS on class CL_HRPY_DATE has no exception.
Method SUBTRACT_WEEKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_WEEKS | Call by reference | Type reference (TYPE) | I | Anzahl an Wochen | 20030730 |
Method SUBTRACT_WEEKS on class CL_HRPY_DATE has no exception.
Method SUBTRACT_YEARS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IMP_YEARS | Call by reference | Type reference (TYPE) | I | Anzahl an Jahren | 20030730 |
Method SUBTRACT_YEARS on class CL_HRPY_DATE has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 470 |