SAP ABAP Class CL_GRFN_UTIL_CALENDAR (Calendar function)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_UTILITIES (Package) Various helping infrastructure for GRC ABAP
⤷
⤷
Properties
| Class | CL_GRFN_UTIL_CALENDAR | |
| Short Description | Calendar function | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_UTILITIES | Various helping infrastructure for GRC ABAP |
| Created | 20100408 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GRFN_UTIL_CALENDAR has no forward declaration.
Interfaces
Class CL_GRFN_UTIL_CALENDAR has no interface implemented.
Friends
Class CL_GRFN_UTIL_CALENDAR has no friend class.
Attributes
Class CL_GRFN_UTIL_CALENDAR has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Get day of one week | 20100824 | |
| 2 | Static method | Public | Method | Get last day of a month | 20100428 | |
| 3 | Static method | Public | Method | Get earliest date for specified month and day | 20100429 | |
| 4 | Static method | Public | Method | Get earliest date for specified weekday after certain date | 20100408 | |
| 5 | Static method | Public | Method | Get earliest date for specified day in a month | 20100408 |
Events
Class CL_GRFN_UTIL_CALENDAR has no event.
Types
Class CL_GRFN_UTIL_CALENDAR has no local type.
Method Signatures
Method GET_DAY_OF_WEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Value transfer | Type reference (TYPE) | DATUM | Date | 20100824 | |||
| 2 | RV_WEEKDAY | Value transfer | Type reference (TYPE) | I | Day in week | 20100824 |
Method GET_DAY_OF_WEEK on class CL_GRFN_UTIL_CALENDAR has no exception.
Method GET_LAST_DAY_OF_MONTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20100428 | |||
| 2 | RV_END_OF_MONTH | Value transfer | Type reference (TYPE) | DATUM | Date | 20100428 |
Method GET_LAST_DAY_OF_MONTH on class CL_GRFN_UTIL_CALENDAR has no exception.
Method GET_NEXT_DATE_BY_MNTH_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATEFROM | Value transfer | Type reference (TYPE) | DATUM | Date | 20100429 | |||
| 2 | IV_MNTHDAY | Value transfer | Type reference (TYPE) | NUM02 | ABAB Dictionary: Two-Digit Numeric Field | 20100429 | |||
| 3 | IV_MONTH | Value transfer | Type reference (TYPE) | ALMONTH | List of Month in numbers | 20100429 | |||
| 4 | RV_DATE | Value transfer | Type reference (TYPE) | GRFN_DATE | Date | 20100429 |
Method GET_NEXT_DATE_BY_MNTH_DAY on class CL_GRFN_UTIL_CALENDAR has no exception.
Method GET_NEXT_DATE_ON_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATEFROM | Value transfer | Type reference (TYPE) | DATUM | Date | 20100408 | |||
| 2 | IV_WEEKDAY | Value transfer | Type reference (TYPE) | PERWEEK | Weekdays for Periodic Scheduling | 20100408 | |||
| 3 | RV_DATE | Value transfer | Type reference (TYPE) | DATUM | Date | 20100408 |
Method GET_NEXT_DATE_ON_DAY on class CL_GRFN_UTIL_CALENDAR has no exception.
Method GET_NEXT_DATE_ON_MNTHDAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATEFROM | Value transfer | Type reference (TYPE) | DATUM | Date | 20100408 | |||
| 2 | IV_MNTHDAY | Value transfer | Type reference (TYPE) | NUM02 | ABAB Dictionary: Two-Digit Numeric Field | 20100408 | |||
| 3 | RV_DATE | Value transfer | Type reference (TYPE) | DATUM | Date | 20100408 |
Method GET_NEXT_DATE_ON_MNTHDAY on class CL_GRFN_UTIL_CALENDAR has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 600 |