SAP ABAP Class CL_TIMEFORMAT_SIMPLE (Simple Formatter for Times)
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 - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_TIMEFORMAT Input/Output of Times 20010117
Properties
Class CL_TIMEFORMAT_SIMPLE  
Short Description Simple Formatter for Times    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package SZTI   Central Basis Development: Time ('Time/Event') 
Created 20010117   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TIMEFORMAT_SIMPLE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_TIMEFORMAT Input/Output of Times 20010117
Friends
Class CL_TIMEFORMAT_SIMPLE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_RT_DOW Constant Protected Type reference (TYPE) TIMEFMTRT 'WD' Return Type of a Time Format Command 20010119
2 M_CMD_BROKER Instance attribute Protected Object reference (TYPE REF TO) CL_TIMEFORMAT_CMD_BROKER Time Format: Commands 20010119
3 M_CONTEXT Instance attribute Protected Object reference (TYPE REF TO) IF_TIMECONTEXT Context in Time Environment 20010117
4 M_DEFAULT_DATE Instance attribute Protected Type reference (TYPE) D 20010117
5 M_DEFAULT_DATE_NOW Instance attribute Protected Type reference (TYPE) XFLAG New Input Values 20010117
6 M_DEFAULT_TIME Instance attribute Protected Type reference (TYPE) T 20010117
7 M_DEFAULT_TIME_NOW Instance attribute Protected Type reference (TYPE) XFLAG New Input Values 20010117
8 M_MESSAGE Instance attribute Protected Object reference (TYPE REF TO) CL_TIMEMESSAGE Output Management in Date Environment 20010117
9 M_TIMEZONE Instance attribute Protected Type reference (TYPE) TIMEZONE Time Zone 20010117
10 OP_MODE_BEFORE Constant Public Type reference (TYPE) OPERATION_MODE 'B' 20130912
11 OP_MODE_NEXT Constant Public Type reference (TYPE) OPERATION_MODE 'N' 20130912
12 OP_MODE_WALLCLOCK Constant Public Type reference (TYPE) OPERATION_MODE 'W' 20130912
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor Constructor 20010117
2 FORMAT Instance method Protected Method Creates formatted output 20010119
3 GET_DEFAULTS Instance method Protected Method Determines default values 20010122
4 GET_DEFAULTS_PROFILE Instance method Protected Method Determines default values from the profile^ 20010122
5 MAKE_VALID_TIME Static method Public Method Convert date/time from the missing hour 20130912
6 PARSE Instance method Protected Method Reads input 20010119
7 SPLIT_INPUT Instance method Protected Method Splits intput into commands, date, and time 20010119
Events
Class CL_TIMEFORMAT_SIMPLE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 OPERATION_MODE Public Type reference (TYPE) CHAR1 20130912
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT Call by reference Object reference (TYPE REF TO) IF_TIMECONTEXT Kontext im Time - Umfeld 20010117
2 Importing DEFAULT_DATE Call by reference Type reference (TYPE) D SY-DATLO Vorschlag Datum 20010122
3 Importing DEFAULT_TIME Call by reference Type reference (TYPE) T SY-TIMLO Vorschlag Uhrzeit 20010122
4 Importing DEFAULT_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE SY-ZONLO Vorschlag Zeitzone 20010122
5 Importing FORMAT Call by reference Type reference (TYPE) TIMESFMT Ausgabeformat von Zeitpunkten 20010117

Method CONSTRUCTOR on class CL_TIMEFORMAT_SIMPLE has no exception.

Method FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) TIMESFMT Ausgabeformat von Zeitpunkten 20010119
2 Exporting OUTPUT Call by reference Type reference (TYPE) TIME_IO Feld für die Ein- und Ausgabe von Zeitpunkten 20010119
3 Importing TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20010119
4 Importing TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Zeitzone 20010119
# Exception Resumable Description Created on
1 FATAL_ERROR Schwerer Fehler 20010119

Method GET_DEFAULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DEFAULT_DATE Call by reference Type reference (TYPE) D 20010122
2 Exporting DEFAULT_TIME Call by reference Type reference (TYPE) T 20010122

Method GET_DEFAULTS on class CL_TIMEFORMAT_SIMPLE has no exception.

Method GET_DEFAULTS_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DEFAULT_DATE Call by reference Type reference (TYPE) D 20010122
2 Exporting DEFAULT_TIME Call by reference Type reference (TYPE) T 20010122
3 Importing EVENT_NAME Call by reference Type reference (TYPE) TIMENAME Objektname 20010122
4 Exporting FORMAT Call by reference Type reference (TYPE) TIMESFMT Ausgabeformat von Zeitpunkten 20010122
5 Importing POS Call by reference Type reference (TYPE) TIMEPOS Position bei Zeitberechnungen (Beginn, Mitte, Ende) 20010122

Method GET_DEFAULTS_PROFILE on class CL_TIMEFORMAT_SIMPLE has no exception.

Method MAKE_VALID_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATE_IN Value transfer Type reference (TYPE) D 20130912
2 Exporting DATE_VALID Call by reference Type reference (TYPE) D Date in timezone format 20130912
3 Importing MODE Call by reference Type reference (TYPE) OPERATION_MODE OP_MODE_WALLCLOCK 20130912
4 Exporting TIMESTAMP_UTC_VALID Call by reference Type reference (TYPE) TIMESTAMP UTC timestamp 20130912
5 Importing TIME_IN Value transfer Type reference (TYPE) T 20130912
6 Exporting TIME_VALID Call by reference Type reference (TYPE) T Time in timezone format 20130912
7 Importing TIME_ZONE Call by reference Type reference (TYPE) TZNZONE Zeitzone 20130912
# Exception Resumable Description Created on
1 INVALID_INPUT Invalid input date or mode 20130912
2 TSTMP_CALC_ERROR Error during timestamp calculation 20130912

Method PARSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEFAULT_DATE Call by reference Type reference (TYPE) D 20010119
2 Importing DEFAULT_TIME Call by reference Type reference (TYPE) T 20010119
3 Importing DEFAULT_TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Zeitzone 20010119
4 Importing INPUT Call by reference Type reference (TYPE) TIME_IO Feld für die Ein- und Ausgabe von Zeitpunkten 20010119
5 Exporting TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC-Zeitstempel in Kurzform (JJJJMMTThhmmss) 20010119
6 Exporting TIMEZONE Call by reference Type reference (TYPE) TIMEZONE Zeitzone 20010119
# Exception Resumable Description Created on
1 FATAL_ERROR Fehler aufgetreten 20010119

Method SPLIT_INPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting COMMANDS Call by reference Type reference (TYPE) TIMETFMTC1 Liste mit Referenzen auf if_timeformat_cmd 20010119
2 Exporting DATE_STR Call by reference Type reference (TYPE) TIME_IO Feld für die Ein- und Ausgabe von Zeitpunkten 20010119
3 Importing INPUT Call by reference Type reference (TYPE) TIME_IO Feld für die Ein- und Ausgabe von Zeitpunkten 20010119
4 Exporting TIME_STR Call by reference Type reference (TYPE) TIME_IO Feld für die Ein- und Ausgabe von Zeitpunkten 20010119
# Exception Resumable Description Created on
1 FATAL_ERROR Fehler aufgetreten 20010119
History
Last changed by/on SAP  20140121 
SAP Release Created in 610