SAP ABAP Class CL_ABAP_TIMEFM (Time Format)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_CONVERT (Package) Conversion of Time Specifications

⤷

⤷

Properties
Class | CL_ABAP_TIMEFM | |
Short Description | Time Format | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | S | System Program |
Category | 0 | |
Package | SABP_CONVERT | Conversion of Time Specifications |
Created | 20070717 | SAP |
Last change | 20110908 | 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_TIMEFM has no interface implemented.
Friends
Class CL_ABAP_TIMEFM has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | TY_FORMAT | 3 | Time Format According to Environment (SET COUNTRY) | 20070717 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | XUTIMEFM | '4' | Time Format (12-Hour Specification) 0 to 11 am/pm | 20070807 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | XUTIMEFM | '3' | Time Format (12-Hour Specification) 0 to 11 AM/PM | 20070807 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | XUTIMEFM | '2' | Time Format (12-Hour Specification) 1 to 12 am/pm | 20070807 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | XUTIMEFM | '1' | Time Format (12-Hour Specification) 1 to 12 AM/PM | 20070807 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | XUTIMEFM | '0' | Time Format (24-Hour Specification) 0 to 23 | 20070807 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | TY_FORMAT | 1 | Time Format HH:MM:SS (Without AM/PM) | 20070717 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | I | 11 | Maximum Output Length | 20070807 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | TY_FORMAT | 2 | Time Format According toUser Master Record | 20070717 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Conversion: External Time Format -> Internal Time Format | 20070717 |
2 | ![]() |
Static method | Public | Method | Conversion: Internal Time Format -> External Time Format | 20070816 |
3 | ![]() |
Static method | Public | Method | Time Format of a Country | 20070814 |
4 | ![]() |
Static method | Public | Method | Time Format Currently Active | 20070807 |
5 | ![]() |
Static method | Public | Method | Output Length | 20070822 |
6 | ![]() |
Static method | Public | Method | Time Format of User | 20070814 |
7 | ![]() |
Static method | Private | Method | Conversion: External Time Format -> Internal Time Format | 20080923 |
Events
Class CL_ABAP_TIMEFM has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_FORMAT | Public | Type reference (TYPE) | I | 20070717 |
|
Method Signatures
Method CONV_TIME_EXT_TO_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_24_ALLOWED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ist 24:00 Uhr erlaubt? | 20070822 | |
2 | ![]() |
TIME_EXT | Value transfer | Type reference (TYPE) | CSEQUENCE | Externe Darstellung der Zeit | 20070822 | ||
3 | ![]() |
TIME_INT | Call by reference | Type reference (TYPE) | T | Interne Darstellung der Zeit | 20070822 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Externe Zeitdarstellung ungültig | 20070717 |
Method CONV_TIME_INT_TO_EXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMAT_ACCORDING_TO | Call by reference | Type reference (TYPE) | TY_FORMAT | ENVIRONMENT | Format gemäß ENVIRONMENT oder ISO | 20070821 | |
2 | ![]() |
TIME_EXT | Call by reference | Type reference (TYPE) | STRING | Externe Zeitdarstellung | 20070822 | ||
3 | ![]() |
TIME_INT | Value transfer | Type reference (TYPE) | T | Type T für internes Zeitformat | 20070822 | ||
4 | ![]() |
WITHOUT_SECONDS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag für Sekunden | 20070822 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter FORMAT_ACCORDING_TO ist ungültig | 20070821 |
Method GET_COUNTRY_TIMEFM 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 | Land | 20070815 | ||
2 | ![]() |
TIMEFM | Value transfer | Type reference (TYPE) | XUTIMEFM | Zeitformat (12-/24-Stundenangabe) | 20070821 |
Method GET_COUNTRY_TIMEFM on class CL_ABAP_TIMEFM has no exception.
Method GET_ENVIRONMENT_TIMEFM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TIMEFM | Value transfer | Type reference (TYPE) | XUTIMEFM | Zeitformat (12-/24-Stundenangabe) | 20070807 |
Method GET_ENVIRONMENT_TIMEFM on class CL_ABAP_TIMEFM has no exception.
Method GET_OUTPUT_LENGTH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FORMAT_ACCORDING_TO | Call by reference | Type reference (TYPE) | TY_FORMAT | ENVIRONMENT | Format gemäß ENVIRONMENT oder ISO | 20070822 | |
2 | ![]() |
LENGTH | Value transfer | Type reference (TYPE) | I | Ausgabelänge für externe Zeitdarstellung | 20070822 | ||
3 | ![]() |
WITHOUT_SECONDS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag für Sekunden | 20070822 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Parameter FORMAT_ACCORDING_TO ist ungültig | 20070822 |
Method GET_USER_TIMEFM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TIMEFM | Value transfer | Type reference (TYPE) | XUTIMEFM | Zeitformat (12-/24-Stundenangabe) | 20070821 |
Method GET_USER_TIMEFM on class CL_ABAP_TIMEFM has no exception.
Method PRIV_CONV_TIME_EXT_TO_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_24_ALLOWED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ist 24:00 Uhr erlaubt? | 20080923 | |
2 | ![]() |
RC | Call by reference | Type reference (TYPE) | I | Return Code | 20080923 | ||
3 | ![]() |
TIME_EXT | Call by reference | Type reference (TYPE) | CSEQUENCE | Externe Darstellung der Zeit | 20080923 | ||
4 | ![]() |
TIME_INT | Call by reference | Type reference (TYPE) | T | Interne Darstellung der Zeit | 20080923 |
Method PRIV_CONV_TIME_EXT_TO_INT on class CL_ABAP_TIMEFM has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |