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')
⤷ 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 | M_EVENT | Instance attribute | Public | Object reference (TYPE REF TO) | CL_TIMEEVENT | Activity that belongs to time | 20000404 | ||
2 | M_TIMEOBJECT | Instance attribute | Public | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Generic Reference to Application Object | 20000403 | ||
3 | M_TIMESTAMP | Instance attribute | Public | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20000403 | ||
4 | M_TIMEUNIT | Instance attribute | Public | Object reference (TYPE REF TO) | CL_TIMEUNIT | Time Unit | 20000515 | ||
5 | M_TIME_STATUS | Instance attribute | Protected | Type reference (TYPE) | TIMESTATI | Status Fields Time | 20000404 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLEAR_EVENT | Instance method | Public | Method | Delete Reference to Activity | 20000404 |
2 | CLONE | Instance method | Public | Method | Create Time with Reference | 20000404 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20000413 |
4 | CREATE | Static method | Public | Method | Generate Time | 20000404 |
5 | GET_LOCALTIME | Instance method | Public | Method | Determine Local Time | 20000404 |
6 | GET_TIMEOBJECT | Instance method | Public | Method | Determine Reference to Time Object | 20000515 |
7 | GET_TIMEUNIT | Instance method | Public | Method | Determine Unit for Lack of Clarity in Time | 20000515 |
8 | GET_TIMEZONE | Instance method | Public | Method | Determine Time Zone | 20000404 |
9 | SET_EVENT | Instance method | Public | Method | Set Reference to Activity | 20000404 |
10 | SET_LOCALTIME | Instance method | Public | Method | Set Local Time | 20000404 |
11 | SET_TIME | Instance method | Public | Method | Set Time Stamp | 20000515 |
12 | SET_TIMEOBJECT | Instance method | Public | Method | Set Reference Object | 20000404 |
13 | SET_TIMEUNIT | 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 | Importing | EVENT | Call by reference | Object reference (TYPE REF TO) | CL_TIMEEVENT | Vorgang (Intervall) | 20000404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000404 |
Method CLONE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Importing | TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000413 | ||
2 | Importing | TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000413 | ||
3 | Importing | TIMEUNIT | Call by reference | Object reference (TYPE REF TO) | CL_TIMEUNIT | Zeiteinheit | 20000515 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000413 |
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | TIME | Call by reference | Object reference (TYPE REF TO) | CL_TIMETIME | Zeitpunkt | 20000404 | ||
2 | Importing | TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Generische Referenz auf ein Anwendungsobjekt | 20000404 | ||
3 | Importing | TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitstempel | 20000404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000404 |
Method GET_LOCALTIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | DATE | Call by reference | Type reference (TYPE) | D | Lokales Datum | 20000404 | ||
2 | Exporting | TIME | Call by reference | Type reference (TYPE) | T | Lokale Uhrzeit | 20000404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000404 |
Method GET_TIMEOBJECT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Returning | 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 | Exporting | 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 | Importing | EVENT | Call by reference | Object reference (TYPE REF TO) | CL_TIMEEVENT | Vorgang | 20000404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | EVENT_ALREADY_SET | Diese Timeobject ist schon einem Event zugeordnet. | 20000404 | |
2 | FATAL_ERROR | Schwerer Fehler | 20000404 |
Method SET_LOCALTIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DATE | Call by reference | Type reference (TYPE) | D | Lokales Datum | 20000404 | ||
2 | Importing | TIME | Call by reference | Type reference (TYPE) | T | '000000' | Lokale Uhrzeit | 20000404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000404 |
Method SET_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | 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 | Importing | TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Bezugsobjekt | 20000404 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000404 |
Method SET_TIMEUNIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | 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 |