SAP ABAP Interface IF_TIMEUNIT_CALC (Calculation Functions of a Time Duration)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-TIM-TR (Application Component) Date Rules
⤷
SZTI (Package) Central Basis Development: Time ('Time/Event')

⤷

⤷

Meta Relationship - Used By
Properties
Interface | IF_TIMEUNIT_CALC | |
Short Description | Calculation Functions of a Time Duration |
General Data
Package | SZTI | Central Basis Development: Time ('Time/Event') |
Created | 20000508 | SAP |
Last changed | 00000000 | SAP |
Unicode checks active |
Forward declarations
Interface IF_TIMEUNIT_CALC has no forward declaration.
Interfaces
Interface IF_TIMEUNIT_CALC has no interface.
Friends
Interface IF_TIMEUNIT_CALC has no friend.
Attributes
Interface IF_TIMEUNIT_CALC has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Add Duration to Duration | 20000508 |
2 | ![]() |
Instance method | Public | Method | Converts duration of base unit into this unit | 20000511 |
3 | ![]() |
Instance method | Public | Method | Converts a duration into its base unit | 20000508 |
4 | ![]() |
Instance method | Public | Method | Difference between time durations in this unit | 20000511 |
5 | ![]() |
Instance method | Public | Method | Difference between two times in this unit | 20000511 |
6 | ![]() |
Instance method | Public | Method | Returns the base unit (as name) | 20000508 |
7 | ![]() |
Instance method | Public | Method | Calculates the time slot for a time | 20000511 |
8 | ![]() |
Instance method | Public | Method | Number of time unit in which time falls | 20000511 |
9 | ![]() |
Instance method | Public | Method | Go x units forwards or backwards (relative) | 20000511 |
10 | ![]() |
Instance method | Public | Method | Go to unit with number X | 20000511 |
11 | ![]() |
Instance method | Public | Method | Round to this unit from a time | 20000508 |
Events
Interface IF_TIMEUNIT_CALC has no event.
Types
Interface IF_TIMEUNIT_CALC has no local type.
Method Signatures
Method ADD_DURA_TO_DURA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DURA1 | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000508 | ||
2 | ![]() |
DURA2 | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000508 | ||
3 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000508 | ||
4 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000508 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method CONVERT_FROM_BASEUNIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DURA | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
2 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
3 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method CONVERT_TO_BASEUNIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DURA | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
2 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
3 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method DIFF_DURA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DURA_FROM | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
2 | ![]() |
DURA_TO | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
3 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
4 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method DIFF_TIME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEDURA | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
2 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Übersteuert timeobject von dest_dura | 20000511 | ||
3 | ![]() |
TIME_FROM | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
4 | ![]() |
TIME_TO | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method GET_BASEUNIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEUNITNA | Zeiteinheit | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method GET_TIMESLICE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DEST_TIMESLICE | Call by reference | Object reference (TYPE REF TO) | CL_TIMESLICE | Zeitscheibe, halboffenes Intervall | 20000511 | ||
2 | ![]() |
POSITION | Call by reference | Type reference (TYPE) | TIMEPOS | Position bei Zeitberechnungen (Beginn, Mitte, Ende) | 20000511 | ||
3 | ![]() |
RESULT | Value transfer | Object reference (TYPE REF TO) | CL_TIMESLICE | Zeitscheibe, halboffenes Intervall | 20000511 | ||
4 | ![]() |
TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
5 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method GET_UNIT_NUMBER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000512 | ||
2 | ![]() |
TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000512 | ||
3 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method MOVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DIRECTION | Call by reference | Type reference (TYPE) | TIMEDIR | Richtung bei Zeitberechnungen | 20000511 | ||
2 | ![]() |
DURA | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
3 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
4 | ![]() |
TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
5 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
Method MOVE on Interface IF_TIMEUNIT_CALC has no exception.
Method MOVE_TO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DIRECTION | Call by reference | Type reference (TYPE) | TIMEDIR | Richtung bei Zeitberechnungen | 20000511 | ||
2 | ![]() |
DURA | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
3 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
4 | ![]() |
TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
5 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
Method ROUND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
POSITION | Call by reference | Type reference (TYPE) | TIMEPOS | Position | 20000508 | ||
2 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | TIMESTAMP | Zeitpunkt | 20000508 | ||
3 | ![]() |
TIME | Call by reference | Type reference (TYPE) | TIMESTAMP | Zeitpunkt | 20000508 | ||
4 | ![]() |
TIMEOBJECT | Call by reference | Object reference (TYPE REF TO) | IF_TIMEOBJECT | Referenz auf ein Anwendungsobjekt | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Schwerer Fehler | 20000512 |
History
Last changed by/on | SAP | 00000000 |
SAP Release Created in | 12A |