SAP ABAP Class CL_PT_CALENDAR (Calendar Services)
Hierarchy
☛
EA-HRRXX (Software Component) Sub component EA-HRRXX of EA-HR
⤷ PT-RC (Application Component) Time Data Recording and Administration
⤷ PAOC_TIM_TMW_CALENDAR (Package) TMW: Calendar Views
⤷ PT-RC (Application Component) Time Data Recording and Administration
⤷ PAOC_TIM_TMW_CALENDAR (Package) TMW: Calendar Views
Properties
Class | CL_PT_CALENDAR | |
Short Description | Calendar Services | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PAOC_TIM_TMW_CALENDAR | TMW: Calendar Views |
Created | 20010213 | SAP |
Last change | 20020211 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_PT_CALENDAR has no forward declaration.
Interfaces
Class CL_PT_CALENDAR has no interface implemented.
Friends
Class CL_PT_CALENDAR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CO_DATE_MAX | Constant | Public | Type reference (TYPE) | DATS | '99991231' | Minimum Date | 20010214 | |
2 | CO_DATE_MIN | Constant | Public | Type reference (TYPE) | DATS | '18000101' | Minimum Date | 20010214 | |
3 | DATE_FROM | Instance attribute | Public | Type reference (TYPE) | DATS | Start Date | 20010213 | ||
4 | DATE_TO | Instance attribute | Public | Type reference (TYPE) | DATS | End Date | 20010213 | ||
5 | DAY_ATTRIBUTES | Instance attribute | Private | See coding | Interface: Daily attributes | 20010213 | |||
6 | HOLIDAYCAL | Instance attribute | Public | Type reference (TYPE) | HIDENT | Public Holiday Calendar | 20010213 | ||
7 | INSTANCE | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PT_CALENDAR | Calendar Services | 20010213 | ||
8 | MONTH_NAMES | Instance attribute | Private | See coding | "Names Of The Months" | 20010214 | |||
9 | WEEK_START | Instance attribute | Public | Type reference (TYPE) | PT_TMW_WEEKDAY | First day of the week | 20010226 |
Methods
Events
Class CL_PT_CALENDAR has no event.
Types
Class CL_PT_CALENDAR has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_PT_CALENDAR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PT_CALENDAR has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_PT_CALENDAR has no parameter.
Method CONSTRUCTOR on class CL_PT_CALENDAR has no exception.
Method GET_DATE_WEEKDAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | DATS | Jahr | 20010227 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | PT_TMW_WEEKDAY | Erster Tag der ersten Woche | 20010227 |
Method GET_DATE_WEEKDAY on class CL_PT_CALENDAR has no exception.
Method GET_DAY_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | DATS | Datum | 20010213 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | CASDAYATTR | Attribute | 20010213 |
Method GET_DAY_ATTRIBUTES on class CL_PT_CALENDAR has no exception.
Method GET_DAY_DESCRIPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | DATS | Datum | 20010214 | ||
2 | Importing | IM_WIDTH | Value transfer | Type reference (TYPE) | I | Breite | 20010214 | ||
3 | Returning | RESULT | Value transfer | Type reference (TYPE) | SC_DAYSTR | Aufbereitete Tagesattribute | 20010214 |
Method GET_DAY_DESCRIPTION on class CL_PT_CALENDAR has no exception.
Method GET_MONTH_LAST_DAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_MONTH | Value transfer | Type reference (TYPE) | KMONTH | Monat | 20010213 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | SYDATUM | Datum | 20010213 |
Method GET_MONTH_LAST_DAY on class CL_PT_CALENDAR has no exception.
Method GET_MONTH_NAME_LONG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_MONTH | Value transfer | Type reference (TYPE) | FCMNR | Monatsnummer | 20010214 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | CHAR10 | Kurztext | 20010214 |
Method GET_MONTH_NAME_LONG on class CL_PT_CALENDAR has no exception.
Method GET_MONTH_NAME_SHORT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_MONTH | Value transfer | Type reference (TYPE) | FCMNR | Monatsnummer | 20010214 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | CHAR3 | Kurztext | 20010214 |
Method GET_MONTH_NAME_SHORT on class CL_PT_CALENDAR has no exception.
Method GET_WEEK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | SCDATUM | Datum | 20010213 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | KWEEK | Woche | 20010213 |
Method GET_WEEK on class CL_PT_CALENDAR has no exception.
Method GET_WEEK_FIRST_DAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_WEEK | Value transfer | Type reference (TYPE) | KWEEK | Woche | 20010213 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | SCDATUM | Datum | 20010213 |
Method GET_WEEK_FIRST_DAY on class CL_PT_CALENDAR has no exception.
Method GET_YEAR_FIRST_WEEK_FIRST_DAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_YEAR | Value transfer | Type reference (TYPE) | CYEAR | Jahr | 20010228 | ||
2 | Returning | RESULT | Value transfer | Type reference (TYPE) | DATS | Datum | 20010228 |
Method GET_YEAR_FIRST_WEEK_FIRST_DAY on class CL_PT_CALENDAR has no exception.
Method INCREASE_DATE_INTERVAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE | Value transfer | Type reference (TYPE) | DATS | Datum | 20010214 |
Method INCREASE_DATE_INTERVAL on class CL_PT_CALENDAR has no exception.
Method INITIALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_DATE_FROM | Value transfer | Type reference (TYPE) | DATS | Beginndatum | 20010213 | ||
2 | Importing | IM_DATE_TO | Value transfer | Type reference (TYPE) | DATS | Endedatum | 20010213 | ||
3 | Importing | IM_FORCE_REFRESH | Value transfer | Type reference (TYPE) | BOOLE_D | Auffrischen erzwingen | 20010214 | ||
4 | Importing | IM_HOLIDAYCAL | Value transfer | Type reference (TYPE) | HIDENT | Feiertagskalender | 20010213 |
Method INITIALIZE on class CL_PT_CALENDAR has no exception.
Method SET_WEEK_START Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_WEEK_START | Value transfer | Type reference (TYPE) | PT_TMW_WEEKDAY | Erster Tag der Woche | 20010226 |
Method SET_WEEK_START on class CL_PT_CALENDAR has no exception.
History
Last changed by/on | SAP | 20020211 |
SAP Release Created in | 46C |