Hierarchy

⤷

⤷

Properties
Class | CL_ABAP_DATFM | |
Short Description | Internationalization and date format | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SABP_CONVERT | Conversion of Time Specifications |
Created | 20050118 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ABAP_DATFM has no interface implemented.
Friends
Class CL_ABAP_DATFM has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | See coding | 20090828 | ||||
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | XUDATFM | Date format | 20090828 | ||
3 | ![]() |
Static Attribute | Private | See coding | '-' | 20091009 | |||
4 | ![]() |
Static Attribute | Private | See coding | '-' | Use previous CONV_PERIOD_EXT_TO_INT implementation. | 20100126 | ||
5 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | alid date formats | 20050224 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | check whether date format is vaild format | 20050609 |
2 | ![]() |
Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050810 |
3 | ![]() |
Static method | Public | Method | conversion external date -> internal date | 20050119 |
4 | ![]() |
Static method | Private | Method | conversion external date -> internal date (old impl.) | 20090828 |
5 | ![]() |
Static method | Public | Method | conversion internal date -> external date | 20050121 |
6 | ![]() |
Static method | Public | Method | convert internal date -> abbreviated date without year | 20050425 |
7 | ![]() |
Static method | Public | Method | Convert from Islamic date to Gregorian date | 20050901 |
8 | ![]() |
Static method | Public | Method | conversion external period -> internal period | 20050323 |
9 | ![]() |
Static method | Private | Method | conversion external period -> internal period | 20100126 |
10 | ![]() |
Static method | Public | Method | conversion internal period -> external period | 20050323 |
11 | ![]() |
Static method | Public | Method | Conversion: External year to internal year | 20070702 |
12 | ![]() |
Static method | Public | Method | Conversion: Internal year to external year | 20070702 |
13 | ![]() |
Static method | Public | Method | date format of a country | 20130129 |
14 | ![]() |
Static method | Public | Method | date format describer | 20050224 |
15 | ![]() |
Static method | Public | Method | date format describer in JAVA standard | 20050609 |
16 | ![]() |
Static method | Public | Method | get the currently active date format | 20051025 |
17 | ![]() |
Static method | Public | Method | delimiter of date format | 20050323 |
18 | ![]() |
Static method | Public | Method | Number of dateformats | 20050118 |
19 | ![]() |
Static method | Public | Method | period format describer | 20050425 |
20 | ![]() |
Static method | Private | Method | get all valid date formats supported by the kernel | 20060928 |
21 | ![]() |
Static method | Private | Method | Checks if DATE can be converted to any internal representat. | 20090828 |
Events
Class CL_ABAP_DATFM has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | DATFM_COMPAT | Private | See coding | 20090828 | begin of datfm_compat,
datfm type xudatfm,
eq_class type c length 1,
end of datfm_compat
|
Method Signatures
Method CHECK_DATE_FORMAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IM_DATFM | Call by reference | Type reference (TYPE) | XUDATFM | Datumsformat | 20050609 | ||
2 | ![]() |
RE_IS_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20050609 |
Method CHECK_DATE_FORMAT on class CL_ABAP_DATFM has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ABAP_DATFM has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ABAP_DATFM has no exception.
Method CONV_DATE_EXT_TO_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung verwendetes Datumsformat | 20050120 | ||
2 | ![]() |
EX_DATINT | Call by reference | Type reference (TYPE) | D | externe Darstellung des Datums | 20050120 | ||
3 | ![]() |
IM_DATEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | interne Darstellung des Datums | 20050120 | ||
4 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung gewünschtes Datumsformat | 20050120 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050124 | ||
2 | ![]() |
20050124 | ||
3 | ![]() |
20050124 | ||
4 | ![]() |
20050124 |
Method CONV_DATE_EXT_TO_INT_FALLBACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | date format used for conversion | 20090828 | ||
2 | ![]() |
EX_DATINT | Call by reference | Type reference (TYPE) | D | external representation of date | 20090828 | ||
3 | ![]() |
IM_DATEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | internal representation of date | 20090828 | ||
4 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | date format wanted for conversion | 20090828 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20090828 | ||
2 | ![]() |
20090828 | ||
3 | ![]() |
20090828 | ||
4 | ![]() |
20090828 |
Method CONV_DATE_INT_TO_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | externe Darstellung des Datums | 20050121 | ||
2 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung verwendetes Datumsformat | 20050121 | ||
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung gewünschtes Datumsformat | 20050121 | ||
4 | ![]() |
IM_DATINT | Call by reference | Type reference (TYPE) | D | interne Darstellung des Datums | 20050121 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050124 |
Method CONV_DATE_INT_TO_SHORTEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_ABBRDATEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20050425 | |||
2 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | Datumformat | 20050425 | ||
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Datumformat | 20050425 | ||
4 | ![]() |
IM_DATINT | Call by reference | Type reference (TYPE) | D | 20050425 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050425 |
Method CONV_ISL_TO_GREG_FORMULA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
GREGDATE | Call by reference | Type reference (TYPE) | GREGDATE | Gregorianisches Datum als reines Zeichenfeld | 20050901 | ||
2 | ![]() |
ISLDATE | Call by reference | Type reference (TYPE) | ISLDATE | Islamisches Datum als reines Zeichenfeld | 20050901 |
Method CONV_ISL_TO_GREG_FORMULA on class CL_ABAP_DATFM has no exception.
Method CONV_PERIOD_EXT_TO_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung verwendetes Datumsformat | 20050323 | ||
2 | ![]() |
EX_PERIODINT | Call by reference | Type reference (TYPE) | CSEQUENCE | Interne Darstellung der Periode | 20050323 | ||
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung gewünschtes Datumsformat | 20050323 | ||
4 | ![]() |
IM_INARBITRARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Period has arbitrary value between '00' and '99' | 20070924 | |
5 | ![]() |
IM_INWEEKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050404 | ||
6 | ![]() |
IM_PERIODEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Externe Darstellung der Periode | 20050323 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050323 | ||
2 | ![]() |
20050323 | ||
3 | ![]() |
20050323 | ||
4 | ![]() |
20050323 |
Method CONV_PERIOD_EXT_TO_INT_FBACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | date format used for conversion | 20100126 | ||
2 | ![]() |
EX_PERIODINT | Call by reference | Type reference (TYPE) | CSEQUENCE | internal representation of period | 20100126 | ||
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | date format wanted for conversion | 20100126 | ||
4 | ![]() |
IM_INARBITRARY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Period has arbitrary value between '00' and '99' | 20100126 | |
5 | ![]() |
IM_INWEEKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100126 | ||
6 | ![]() |
IM_PERIODEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | external representation of period | 20100126 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20100126 | ||
2 | ![]() |
20100126 | ||
3 | ![]() |
20100126 | ||
4 | ![]() |
20100126 |
Method CONV_PERIOD_INT_TO_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATFMUSED | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung verwendetes Datumsformat | 20050323 | ||
2 | ![]() |
EX_PERIODEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Externe Darstellung der Periode | 20050323 | ||
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Für Konvertierung gewünschtes Datumsformat | 20050323 | ||
4 | ![]() |
IM_PERIODINT | Call by reference | Type reference (TYPE) | CSEQUENCE | Interne Darstellung der Periode | 20050323 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050323 |
Method CONV_YEAR_EXT_TO_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_YEARINT | Call by reference | Type reference (TYPE) | CLIKE | Year in external format | 20070702 | ||
2 | ![]() |
IM_BY_PARAMETER | Call by reference | Type reference (TYPE) | ABAP_BOOL | SPACE | Conversions switchable by system parameter | 20080520 | |
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Date format | 20070702 | ||
4 | ![]() |
IM_YEAREXT | Call by reference | Type reference (TYPE) | CLIKE | Year in internal format | 20070702 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20070702 | ||
2 | ![]() |
20070702 |
Method CONV_YEAR_INT_TO_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_YEAREXT | Call by reference | Type reference (TYPE) | CLIKE | External representation of a year | 20070702 | ||
2 | ![]() |
IM_BY_PARAMETER | Call by reference | Type reference (TYPE) | ABAP_BOOL | SPACE | Conversions switchable by system parameter | 20080520 | |
3 | ![]() |
IM_DATFMDES | Call by reference | Type reference (TYPE) | XUDATFM | Date format | 20070702 | ||
4 | ![]() |
IM_YEARINT | Call by reference | Type reference (TYPE) | CLIKE | Internal representation of a year | 20070702 |
Method CONV_YEAR_INT_TO_EXT on class CL_ABAP_DATFM has no exception.
Method GET_COUNTRY_DATFM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
COUNTRY | Call by reference | Type reference (TYPE) | T005X-LAND | Country | 20130129 | ||
2 | ![]() |
DATFM | Value transfer | Type reference (TYPE) | XUDATFM | Date Format | 20130129 |
Method GET_COUNTRY_DATFM on class CL_ABAP_DATFM has no exception.
Method GET_DATE_FORMAT_DES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATEFORMAT | Call by reference | Type reference (TYPE) | CSEQUENCE | Characterfeld der Länge 10 | 20050224 | ||
2 | ![]() |
IM_DATFM | Call by reference | Type reference (TYPE) | XUDATFM | Datumformat | 20050224 | ||
3 | ![]() |
IM_LANGU | Call by reference | Type reference (TYPE) | LANG | SY-LANGU | Sprachen-ID | 20050224 | |
4 | ![]() |
IM_LONG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | pattern plus description (ignored, if im_plain is set) | 20110211 | |
5 | ![]() |
IM_PLAIN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050224 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050224 |
Method GET_DATE_FORMAT_DES_J Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DATEFORMAT | Call by reference | Type reference (TYPE) | CSEQUENCE | Datumsformat-Beschreiber in JAVA | 20050609 | ||
2 | ![]() |
IM_DATFM | Call by reference | Type reference (TYPE) | XUDATFM | Datumsformat | 20050609 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050609 |
Method GET_DATFM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATFM | Value transfer | Type reference (TYPE) | XUDATFM | Date format | 20051025 |
Method GET_DATFM on class CL_ABAP_DATFM has no exception.
Method GET_DELIMITER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_DELIMITER | Call by reference | Type reference (TYPE) | CHAR1 | Trennzeichen | 20050323 | ||
2 | ![]() |
IM_DATFM | Call by reference | Type reference (TYPE) | XUDATFM | Datumsformat | 20050323 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050323 |
Method GET_NUM_OF_DATEFORMATS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RE_NUM | Value transfer | Type reference (TYPE) | INT4 | Anzahl von Datumsformaten | 20050118 |
Method GET_NUM_OF_DATEFORMATS on class CL_ABAP_DATFM has no exception.
Method GET_PERIOD_FORMAT_DES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_PERIODFORMAT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20050425 | |||
2 | ![]() |
IM_DATFM | Call by reference | Type reference (TYPE) | XUDATFM | Datumformat | 20050425 | ||
3 | ![]() |
IM_ISWEEKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | calendar weeks (instead of months) expected | 20110211 | |
4 | ![]() |
IM_LANGU | Call by reference | Type reference (TYPE) | LANG | SY-LANGU | Sprachen-ID | 20050425 | |
5 | ![]() |
IM_LONG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | pattern plus description (ignored, if im_plain is set) | 20110211 | |
6 | ![]() |
IM_PLAIN | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20050425 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20050425 |
Method GET_VALID_DATFM_FULL_PRIV Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EX_VALID_DATEFORMATS | Call by reference | Type reference (TYPE) | STRING | 20060928 |
Method GET_VALID_DATFM_FULL_PRIV on class CL_ABAP_DATFM has no exception.
Method IS_VALID_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090828 | |||
2 | ![]() |
EXPECTED_DATFM | Call by reference | Type reference (TYPE) | XUDATFM | Date format | 20101025 | ||
3 | ![]() |
RET | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090828 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20090831 |
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 700 |