SAP ABAP Class IF_TIMECALENDAR (General Calendar)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_TIMESET_ITEM | Entry in Time Set | 20000509 |
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
| Class | IF_TIMECALENDAR | |
| Short Description | General Calendar | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20000508 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class IF_TIMECALENDAR has no forward declaration.
Interfaces
Class IF_TIMECALENDAR has no interface implemented.
Friends
Class IF_TIMECALENDAR has no friend class.
Attributes
Class 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
Class IF_TIMECALENDAR has no event.
Types
Class 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 class 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 |