SAP ABAP Class /AIN/CL_SEMANTIC_DATE (Converting Semantic Date Conversions)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII-UI (Application Component) User Interface
     /AIN/UI (Package) Auto-ID User Interface
Properties
Class /AIN/CL_SEMANTIC_DATE  
Short Description Converting Semantic Date Conversions    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /AIN/UI   Auto-ID User Interface 
Created 20061201   SAP 
Last change 20141109   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /AIN/CL_SEMANTIC_DATE has no forward declaration.
Interfaces
Class /AIN/CL_SEMANTIC_DATE has no interface implemented.
Friends
Class /AIN/CL_SEMANTIC_DATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_SEMTYPE_ANY Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '' Semantic Date 20061201
2 GC_SEMTYPE_LASTDAY Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '11' Semantic Date 20061201
3 GC_SEMTYPE_LASTMONTH Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '31' Semantic Date 20061201
4 GC_SEMTYPE_LASTQUARTER Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '41' Semantic Date 20061201
5 GC_SEMTYPE_LASTWEEK Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '21' Semantic Date 20061201
6 GC_SEMTYPE_LASTYEAR Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '51' Semantic Date 20061201
7 GC_SEMTYPE_MONTH2DATE Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '39' Semantic Date 20061201
8 GC_SEMTYPE_NEXTDAY Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '12' Semantic Date 20061201
9 GC_SEMTYPE_NEXTMONTH Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '32' Semantic Date 20061201
10 GC_SEMTYPE_NEXTQUARTER Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '42' Semantic Date 20061201
11 GC_SEMTYPE_NEXTWEEK Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '22' Semantic Date 20061201
12 GC_SEMTYPE_NEXTYEAR Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '52' Semantic Date 20061201
13 GC_SEMTYPE_QUARTER2DATE Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '49' Semantic Date 20061201
14 GC_SEMTYPE_RESTOFMONTH Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '38' Semantic Date 20061201
15 GC_SEMTYPE_RESTOFQUARTER Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '48' Semantic Date 20061201
16 GC_SEMTYPE_RESTOFWEEK Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '28' Semantic Date 20061201
17 GC_SEMTYPE_RESTOFYEAR Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '58' Semantic Date 20061201
18 GC_SEMTYPE_THISDAY Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '10' Semantic Date 20061201
19 GC_SEMTYPE_THISMONTH Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '30' Semantic Date 20061201
20 GC_SEMTYPE_THISQUARTER Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '40' Semantic Date 20061201
21 GC_SEMTYPE_THISWEEK Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '20' Semantic Date 20061201
22 GC_SEMTYPE_THISYEAR Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '50' Semantic Date 20061201
23 GC_SEMTYPE_WEEK2DATE Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '29' Semantic Date 20061201
24 GC_SEMTYPE_YEAR2DATE Constant Public Type reference (TYPE) /AIN/SEMANTIC_DATE '59' Semantic Date 20061201
25 MV_TIMEZONE Static Attribute Private Type reference (TYPE) TZNZONE Time Zone 20061201
26 MV_USER Static Attribute Private Type reference (TYPE) XUBNAME User Name in User Master Record 20061201
Methods
# Method Level Visibility Method type Description Created on
1 FIRST_DAY_OF_MONTH Static method Public Method Date of the 1st of the Month Containing the Given Date 20061201
2 FIRST_DAY_OF_NEXT_MONTH Static method Public Method Date of the 1st of the Next Month Relative to the Given Date 20061201
3 FIRST_DAY_OF_NEXT_QUARTER Static method Public Method Date of the 1st day of the Next Quarter Rel. to Given Date 20061201
4 FIRST_DAY_OF_NEXT_YEAR Static method Public Method Date of the 1st day of the Next Year Rel. to Given Date 20061201
5 FIRST_DAY_OF_PREV_MONTH Static method Public Method Date of the 1st of the Prev. Month Rel. to the Given Date 20061201
6 FIRST_DAY_OF_PREV_QUARTER Static method Public Method Date of the 1st day of the Prev. Quarter Rel. to Given Date 20061201
7 FIRST_DAY_OF_PREV_YEAR Static method Public Method Date of the 1st day of the Prev. Year Rel. to Given Date 20061201
8 FIRST_DAY_OF_QUARTER Static method Public Method Date of the 1st day of the Quarter Containing the Given Date 20061201
9 FIRST_DAY_OF_WEEK Static method Public Method Date of the 1st day of the Week Containing the Given Date 20061201
10 FIRST_DAY_OF_YEAR Static method Public Method Date of the 1st day of the Year Containing the Given Date 20061201
11 LAST_DAY_OF_MONTH Static method Public Method Date of the last day of the Month Containing the Given Date 20061201
12 LAST_DAY_OF_QUARTER Static method Public Method Date of the last day of the Quarter Containing Given Date 20061201
13 LAST_DAY_OF_YEAR Static method Public Method Date of the last day of the year containind given date 20061201
14 SEMDATE2TIMESTAMPRNG Static method Public Method Convert Semantic Date to Timestamp-range 20061201
15 SEMDATE2TIMESTAMPRNGTAB Static method Public Method Convert Semantic Date to Timestamp-range 20061201
Events
Class /AIN/CL_SEMANTIC_DATE has no event.
Types
Class /AIN/CL_SEMANTIC_DATE has no local type.
Method Signatures

Method FIRST_DAY_OF_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_NEXT_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_NEXT_QUARTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_NEXT_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_PREV_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_PREV_QUARTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_PREV_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_QUARTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_WEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method FIRST_DAY_OF_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method LAST_DAY_OF_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method LAST_DAY_OF_QUARTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method LAST_DAY_OF_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DATE Value transfer Type reference (TYPE) D 20061201
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method SEMDATE2TIMESTAMPRNG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ES_TIMESTAMP_RNG Value transfer Type reference (TYPE) /AIN/DM_TIMESTAMP_RSTR Timestamp range table 20061201
2 Importing IV_LOCAL Call by reference Type reference (TYPE) SAP_BOOL 'X' Boolean Variable (X=True, Space=False) 20061201
3 Importing IV_SEMANTIC_DATE Call by reference Type reference (TYPE) /AIN/SEMANTIC_DATE Semantic Date 20061201
4 Importing IV_USER Call by reference Type reference (TYPE) XUBNAME User Name in User Master Record 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201

Method SEMDATE2TIMESTAMPRNGTAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_TIMESTAMP_RNG Value transfer Type reference (TYPE) /AIN/DM_TIMESTAMP_RTAB Timestamp range table 20061201
2 Importing IV_LOCAL Call by reference Type reference (TYPE) SAP_BOOL 'X' Boolean Variable (X=True, Space=False) 20061201
3 Importing IV_SEMANTIC_DATE Call by reference Type reference (TYPE) /AIN/SEMANTIC_DATE Semantic Date 20061201
4 Importing IV_USER Call by reference Type reference (TYPE) XUBNAME SY-UNAME User Name in User Master Record 20061201
# Exception Resumable Description Created on
1 /AIN/CX_SEMANTIC_DATE Semantic Date Exception Class 20061201
History
Last changed by/on SAP  20141109 
SAP Release Created in 510