SAP ABAP Class CL_I18_CALENDAR (CL_I18_CALENDAR)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-I18 (Application Component) Internationalization (I18N)
     SI18N_CALENDAR (Package) Test
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_I18_CALENDAR_GREG 20060529
2 Inheritance (c INHERITING FROM c_ref)  CL_I18_CALENDAR_ISL 20060529
Properties
Class CL_I18_CALENDAR  
Short Description    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SI18N_CALENDAR   Test 
Created 20060529   SAP 
Last change 20070911   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_I18_CALENDAR has no forward declaration.
Interfaces
Class CL_I18_CALENDAR has no interface implemented.
Friends
Class CL_I18_CALENDAR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LANG Instance attribute Protected Type reference (TYPE) SY-LANGU Language Key of Current Text Environment 20060529
2 MONTHES Constant Protected Type reference (TYPE) I 12 number of monthes 20060529
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060529
2 GETDATE Instance method Public Method returns current date valid for current calendar 20060529
3 GETDAYNAME Instance method Public Method Get the Day name of the week 20060529
4 GETDAYOFWEEK Instance method Public Method returns day of week for supplied date 20060529
5 GETDAYSOFMONTH Instance method Public Method returns number of days in month of given date 20060529
6 GETFIRSTWEEKDAYOFMONTH Instance method Public Method 20060529
7 GETMONTHNAME Instance method Public Method returns name of month (supplied as number) in set language 20060529
8 GETSHORTDAYNAME Instance method Public Method Get Day Name Short text 20060529
9 GETSHORTMONTHNAME Instance method Public Method returns short name of month (supplied as number) 20060529
10 GETWEEKNUMBER Instance method Public Method returns week number 20060529
11 INT_TO_EXT Instance method Public Method parces and converts internal date in current calendar 20060529
12 MINUSDAYS Instance method Public Method decreases number of days from given date 20060529
13 MINUSMONTHS Instance method Public Method decreases number of monthes from given date 20060529
14 MINUSYEARS Instance method Public Method decreases number of years from given date 20060529
15 PLUSDAYS Instance method Public Method adds number of days to given date 20060529
16 PLUSMONTHS Instance method Public Method adds number of monthes to given date 20060529
17 PLUSYEARS Instance method Public Method adds number of years to given date 20060529
Events
Class CL_I18_CALENDAR has no event.
Types
Class CL_I18_CALENDAR has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANG Value transfer Type reference (TYPE) SY-LANGU 20060529

Method CONSTRUCTOR on class CL_I18_CALENDAR has no exception.

Method GETDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DATE Value transfer Object reference (TYPE REF TO) CL_I18_DATEC 20060529

Method GETDATE on class CL_I18_CALENDAR has no exception.

Method GETDAYNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DAY_NAME Call by reference Type reference (TYPE) TEXT20 Day long text 20060529
2 Importing IM_DAY Call by reference Type reference (TYPE) INT4 Natural number 20060529
# Exception Resumable Description Created on
1 CX_PARAMETER_INVALID_RANGE Parameter mit ungültigem Wertebereich 20060529

Method GETDAYOFWEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DAY_NUM Value transfer Type reference (TYPE) I 20060529
2 Importing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC 20060529

Method GETDAYOFWEEK on class CL_I18_CALENDAR has no exception.

Method GETDAYSOFMONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_NUM Value transfer Type reference (TYPE) I 20060529
2 Importing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC 20060529

Method GETDAYSOFMONTH on class CL_I18_CALENDAR has no exception.

Method GETFIRSTWEEKDAYOFMONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DAY_NUM Value transfer Type reference (TYPE) I 20060529
2 Importing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC 20060529

Method GETFIRSTWEEKDAYOFMONTH on class CL_I18_CALENDAR has no exception.

Method GETMONTHNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MONTH_NAME Value transfer Type reference (TYPE) FCLTX Month long text 20060529
2 Importing IM_MONTH Value transfer Type reference (TYPE) I month number 20060529
# Exception Resumable Description Created on
1 CX_PARAMETER_INVALID_RANGE Parameter mit ungültigem Wertebereich 20060529

Method GETSHORTDAYNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DAY_NAME Call by reference Type reference (TYPE) TEXT2 Version Number Component 20060529
2 Importing IM_DAY Call by reference Type reference (TYPE) INT4 Natural number 20060529
# Exception Resumable Description Created on
1 CX_PARAMETER_INVALID_RANGE Parameter mit ungültigem Wertebereich 20060529

Method GETSHORTMONTHNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MONTH_NAME Call by reference Type reference (TYPE) FCKTX Month short text 20060529
2 Importing IM_MONTH Call by reference Type reference (TYPE) I month number 20060529
# Exception Resumable Description Created on
1 CX_PARAMETER_INVALID_RANGE Parameter with Invalid Range 20060529

Method GETWEEKNUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_WEEKNUM Call by reference Type reference (TYPE) I 20060529
2 Importing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC 20060529

Method GETWEEKNUMBER on class CL_I18_CALENDAR has no exception.

Method INT_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_DAY Value transfer Type reference (TYPE) I 20060529
2 Exporting EX_MONTH Value transfer Type reference (TYPE) I 20060529
3 Exporting EX_YEAR Value transfer Type reference (TYPE) I 20060529
4 Importing IM_DATE Value transfer Type reference (TYPE) D 20060529

Method INT_TO_EXT on class CL_I18_CALENDAR has no exception.

Method MINUSDAYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC from which date to remove days 20060529
2 Importing IM_REM Call by reference Type reference (TYPE) I how many days to remove 20060529

Method MINUSDAYS on class CL_I18_CALENDAR has no exception.

Method MINUSMONTHS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC from which date to remove monthes 20060529
2 Importing IM_REM Call by reference Type reference (TYPE) I how many monthes to remove 20060529

Method MINUSMONTHS on class CL_I18_CALENDAR has no exception.

Method MINUSYEARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IM_DATE Value transfer Object reference (TYPE REF TO) CL_I18_DATEC from which date to remove years 20060529
2 Importing IM_REM Value transfer Type reference (TYPE) I how many years to remove 20060529

Method MINUSYEARS on class CL_I18_CALENDAR has no exception.

Method PLUSDAYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ADD Call by reference Type reference (TYPE) I how many days to add 20060529
2 Changing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC to which date to add 20060529

Method PLUSDAYS on class CL_I18_CALENDAR has no exception.

Method PLUSMONTHS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ADD Call by reference Type reference (TYPE) I how many monthes to add 20060529
2 Changing IM_DATE Call by reference Object reference (TYPE REF TO) CL_I18_DATEC to which date to add 20060529

Method PLUSMONTHS on class CL_I18_CALENDAR has no exception.

Method PLUSYEARS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ADD Value transfer Type reference (TYPE) I how many years to add 20060529
2 Changing IM_DATE Value transfer Object reference (TYPE REF TO) CL_I18_DATEC to which date to add years 20060529

Method PLUSYEARS on class CL_I18_CALENDAR has no exception.
History
Last changed by/on SAP  20070911 
SAP Release Created in 710