SAP ABAP Interface IF_TIMECALENDAR (General Calendar)
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
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TIMECALENDAR_GENERIC | Simple Calendar (Factory Calendar and Time Stream) | 20000510 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TIMECALENDAR_SIMPLE | Simple Calendar Without Workdays/Worktimes | 20000510 |
Properties
| Interface | IF_TIMECALENDAR | |
| Short Description | General Calendar |
General Data
| Package | SZTI | Central Basis Development: Time ('Time/Event') |
| Created | 20000508 | SAP |
| Last changed | 00000000 | SAP |
| Unicode checks active |
Forward declarations
Interface IF_TIMECALENDAR has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_TIMESET_ITEM | Entry in Time Set | 20000509 |
Friends
Interface IF_TIMECALENDAR has no friend.
Attributes
Interface IF_TIMECALENDAR has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Calculate difference in days | 20000511 | |
| 2 | Instance method | Public | Method | Calculate difference in seconds | 20000511 | |
| 3 | Instance method | Public | Method | Returns an information text | 20000913 | |
| 4 | Instance method | Public | Method | Add days to a start date | 20000510 | |
| 5 | Instance method | Public | Method | Add X seconds to a time (timestamp) | 20000510 |
Events
Interface IF_TIMECALENDAR has no event.
Types
Interface IF_TIMECALENDAR has no local type.
Method Signatures
Method CALCDIFF_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE1 | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000511 | |||
| 2 | DATE2 | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000511 | |||
| 3 | RESULT | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000511 |
Method CALCDIFF_SECONDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | |||
| 2 | TIME1 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | |||
| 3 | TIME2 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | |||
| 4 | TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Zeitzone | 20000810 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000511 |
Method GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INFO | Call by reference | Type reference (TYPE) | TIMETEXT | Infotext für Zeitobjekte | 20000913 |
Method GET_INFO on Interface IF_TIMECALENDAR has no exception.
Method MOVE_DAYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATE | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000510 | |||
| 2 | DAYS | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000510 | |||
| 3 | DIRECTION | Call by reference | Type reference (TYPE) | TIMEDIR | Richtung bei Zeitberechnungen | 20000510 | |||
| 4 | RESULT | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000510 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000510 |
Method MOVE_SECONDS 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 | 20000510 | |||
| 2 | DURATION | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000510 | |||
| 3 | RESULT | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000510 | |||
| 4 | TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000510 | |||
| 5 | TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Zeitzone | 20000810 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Schwerer Fehler | 20000510 |
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 12A |