SAP ABAP Class CL_SWF_UTL_DATE_SERVICES (Services for Date, Time, and Time Stamp)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_UTL (Package) Workflow: Tools
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SWF_UTL_DATE_SERVICES | Services for Date, Time, and Time Stamp | 20010304 |
Properties
| Class | CL_SWF_UTL_DATE_SERVICES | |
| Short Description | Services for Date, Time, and Time Stamp | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SWF_UTL | Workflow: Tools |
| Created | 20001113 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SWF_UTL_DATE_SERVICES | Services for Date, Time, and Time Stamp | 20010304 |
Friends
Class CL_SWF_UTL_DATE_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Attribute reference (LIKE) | Reference fields for ABAP time stamp | 20010304 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | SYUNAME | User | 20011227 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | SYSTZONLO | Date and time, time zone of user | 20011227 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20010304 | |
| 2 | Static method | Public | Method | Factory | 20010304 | |
| 3 | Static method | Public | Method | Returns date, time, and time stamp | 20001113 |
Events
Class CL_SWF_UTL_DATE_SERVICES has no event.
Types
Class CL_SWF_UTL_DATE_SERVICES has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SWF_UTL_DATE_SERVICES has no parameter.
Method CONSTRUCTOR on class CL_SWF_UTL_DATE_SERVICES has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_USER | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User für Zeitzone | 20011227 | ||
| 2 | RE_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_SWF_UTL_DATE_SERVICES | Services für Datum, Uhrzeit und Zeitstempel | 20010304 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | User nicht gefunden | 20031001 |
Method GET_DATE_AND_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Datum und Zeit, aktuelles (Applikationsserver-)Datum | 20001114 | |||
| 2 | EX_DATE_UTC | Call by reference | Type reference (TYPE) | SYDATUM | UTC-Datum | 20001114 | |||
| 3 | EX_TIME | Call by reference | Type reference (TYPE) | SYUZEIT | Datum und Zeit, aktuelle (Applikationsserver-) Uhrzeit | 20001114 | |||
| 4 | EX_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20001114 | |||
| 5 | EX_TIMESTAMPL | Call by reference | Type reference (TYPE) | TIMESTAMPL | UTC-Zeitstempel in Langform (JJJJMMTThhmmssmmmuuun) | 20001114 | |||
| 6 | EX_TIME_UTC | Call by reference | Type reference (TYPE) | SYUZEIT | UTC-Uhrzeit | 20001114 |
Method GET_DATE_AND_TIME on class CL_SWF_UTL_DATE_SERVICES has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 610 |