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
⤷ 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 | DATE | Instance attribute | Public | Type reference (TYPE) | D | 20030730 | |||
2 | FIRST_DATE | Constant | Public | Type reference (TYPE) | D | '00010101' | 20030730 | ||
3 | FRIDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 5 | Single-Digit Number | 20030730 | |
4 | HIGH_DATE | Constant | Public | Type reference (TYPE) | D | '99991231' | 20030730 | ||
5 | LOW_DATE | Constant | Public | Type reference (TYPE) | D | '18000101' | 20030730 | ||
6 | MONDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 1 | Single-Digit Number | 20030730 | |
7 | SATURDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 6 | Single-Digit Number | 20030730 | |
8 | SUNDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 7 | Single-Digit Number | 20030730 | |
9 | THURSDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 4 | Single-Digit Number | 20030730 | |
10 | TUESDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 2 | Single-Digit Number | 20030730 | |
11 | WEDNESDAY | Constant | Public | Type reference (TYPE) | RP_NUM1 | 3 | Single-Digit Number | 20030730 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_DAYS | Instance method | Public | Method | Add Days | 20030730 |
2 | ADD_MONTHS | Instance method | Public | Method | Add Months | 20030730 |
3 | ADD_WEEKS | Instance method | Public | Method | Add Weeks | 20030730 |
4 | ADD_YEARS | Instance method | Public | Method | Add Years | 20030730 |
5 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20030730 |
6 | GET_DAY_OF_WEEK | Instance method | Public | Method | Determine Weekday (1 = MON, 2 = TUES ....) | 20030730 |
7 | IS_LAST_DAY_OF_MONTH | Instance method | Public | Method | Checks whether the date is the last day of the month | 20030730 |
8 | SET_BEGIN_OF_MONTH | Instance method | Public | Method | Set date to the start of the month | 20030730 |
9 | SET_BEGIN_OF_YEAR | Instance method | Public | Method | Set date to the start of the year | 20030730 |
10 | SET_DATE | Instance method | Public | Method | Reset date (object reuse) | 20030730 |
11 | SET_END_OF_MONTH | Instance method | Public | Method | Set date to the end of the month | 20030730 |
12 | SET_END_OF_YEAR | Instance method | Public | Method | Set date to the end of the year | 20030730 |
13 | SUBTRACT_DAYS | Instance method | Public | Method | Subtract Days | 20030730 |
14 | SUBTRACT_MONTHS | Instance method | Public | Method | Subtract Months | 20030730 |
15 | SUBTRACT_WEEKS | Instance method | Public | Method | Subtract Weeks | 20030730 |
16 | SUBTRACT_YEARS | 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 | Importing | 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 | Importing | 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 | Importing | 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 | Importing | 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 | Importing | 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 | Returning | 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 | Returning | 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 | Importing | 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 | Importing | 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 | Importing | 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 | Importing | 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 | Importing | 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 |