SAP ABAP Class CL_TIMETIME (Date/Time)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-TIM-TR (Application Component) Date Rules
⤷
SZTI (Package) Central Basis Development: Time ('Time/Event')
⤷
⤷
Properties
| Class | CL_TIMETIME | |
| Short Description | Date/Time | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SZTI | Central Basis Development: Time ('Time/Event') |
| Created | 20000403 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_TIMETIME has no forward declaration.
Interfaces
Class CL_TIMETIME has no interface implemented.
Friends
Class CL_TIMETIME has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_TIMEEVENT | Activity that belongs to time | 20000404 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Generic Reference to Application Object | 20000403 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20000403 | |||
| 4 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_TIMEUNIT | Time Unit | 20000515 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | TIMESTATI | Status Fields Time | 20000404 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Delete Reference to Activity | 20000404 | |
| 2 | Instance method | Public | Method | Create Time with Reference | 20000404 | |
| 3 | Instance method | Public | Constructor | Constructor | 20000413 | |
| 4 | Static method | Public | Method | Generate Time | 20000404 | |
| 5 | Instance method | Public | Method | Determine Local Time | 20000404 | |
| 6 | Instance method | Public | Method | Determine Reference to Time Object | 20000515 | |
| 7 | Instance method | Public | Method | Determine Unit for Lack of Clarity in Time | 20000515 | |
| 8 | Instance method | Public | Method | Determine Time Zone | 20000404 | |
| 9 | Instance method | Public | Method | Set Reference to Activity | 20000404 | |
| 10 | Instance method | Public | Method | Set Local Time | 20000404 | |
| 11 | Instance method | Public | Method | Set Time Stamp | 20000515 | |
| 12 | Instance method | Public | Method | Set Reference Object | 20000404 | |
| 13 | Instance method | Public | Method | Set Unit for Lack of Clarity of Time | 20000523 |
Events
Class CL_TIMETIME has no event.
Types
Class CL_TIMETIME has no local type.
Method Signatures
Method CLEAR_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EVENT | Call by reference | Object reference (TYPE REF TO) | CL_TIMEEVENT | Vorgang (Intervall) | 20000404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000404 |
Method CLONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIME | Value transfer | Object reference (TYPE REF TO) | CL_TIMETIME | Zeitpunkt | 20000404 |
Method CLONE on class CL_TIMETIME has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000413 | |||
| 2 | TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000413 | |||
| 3 | TIMEUNIT | Call by reference | Object reference (TYPE REF TO) | CL_TIMEUNIT | Zeiteinheit | 20000515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000413 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIME | Call by reference | Object reference (TYPE REF TO) | CL_TIMETIME | Zeitpunkt | 20000404 | |||
| 2 | TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Generische Referenz auf ein Anwendungsobjekt | 20000404 | |||
| 3 | TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20000404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000404 |
Method GET_LOCALTIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE | Call by reference | Type reference (TYPE) | D | Lokales Datum | 20000404 | |||
| 2 | TIME | Call by reference | Type reference (TYPE) | T | Lokale Uhrzeit | 20000404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000404 |
Method GET_TIMEOBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000515 |
Method GET_TIMEOBJECT on class CL_TIMETIME has no exception.
Method GET_TIMEUNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_TIMEUNIT | Zeiteinheit | 20000515 |
Method GET_TIMEUNIT on class CL_TIMETIME has no exception.
Method GET_TIMEZONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Zeitzone | 20000404 |
Method GET_TIMEZONE on class CL_TIMETIME has no exception.
Method SET_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EVENT | Call by reference | Object reference (TYPE REF TO) | CL_TIMEEVENT | Vorgang | 20000404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Diese Timeobject ist schon einem Event zugeordnet. | 20000404 | ||
| 2 | Schwerer Fehler | 20000404 |
Method SET_LOCALTIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE | Call by reference | Type reference (TYPE) | D | Lokales Datum | 20000404 | |||
| 2 | TIME | Call by reference | Type reference (TYPE) | T | '000000' | Lokale Uhrzeit | 20000404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000404 |
Method SET_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000515 |
Method SET_TIME on class CL_TIMETIME has no exception.
Method SET_TIMEOBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Bezugsobjekt | 20000404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000404 |
Method SET_TIMEUNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TIMEUNIT | Value transfer | Object reference (TYPE REF TO) | CL_TIMEUNIT | Zeiteinheit | 20000523 |
Method SET_TIMEUNIT on class CL_TIMETIME has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 12A |