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 | CALCDIFF_DAYS | Instance method | Public | Method | Calculate difference in days | 20000511 |
2 | CALCDIFF_SECONDS | Instance method | Public | Method | Calculate difference in seconds | 20000511 |
3 | GET_INFO | Instance method | Public | Method | Returns an information text | 20000913 |
4 | MOVE_DAYS | Instance method | Public | Method | Add days to a start date | 20000510 |
5 | MOVE_SECONDS | 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 | Importing | DATE1 | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000511 | ||
2 | Importing | DATE2 | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000511 | ||
3 | Exporting | RESULT | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000511 |
Method CALCDIFF_SECONDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | RESULT | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000511 | ||
2 | Importing | TIME1 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
3 | Importing | TIME2 | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000511 | ||
4 | Importing | TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Zeitzone | 20000810 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000511 |
Method GET_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | 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 | Importing | DATE | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000510 | ||
2 | Importing | DAYS | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000510 | ||
3 | Importing | DIRECTION | Call by reference | Type reference (TYPE) | TIMEDIR | Richtung bei Zeitberechnungen | 20000510 | ||
4 | Exporting | RESULT | Call by reference | Type reference (TYPE) | DATS | Feld vom Typ DATS | 20000510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000510 |
Method MOVE_SECONDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | DIRECTION | Call by reference | Type reference (TYPE) | TIMEDIR | Richtung bei Zeitberechnungen | 20000510 | ||
2 | Importing | DURATION | Call by reference | Type reference (TYPE) | TIMEDURA | Zeitdauer | 20000510 | ||
3 | Exporting | RESULT | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000510 | ||
4 | Importing | TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) | 20000510 | ||
5 | Importing | TIMEZONE | Call by reference | Type reference (TYPE) | TIMEZONE | Zeitzone | 20000810 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | FATAL_ERROR | Schwerer Fehler | 20000510 |
History
Last changed by/on | SAP | 00000000 |
SAP Release Created in |