Class symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper
Object
   |
   +----DerivationHelper
           |
           +----symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper
  -  public class DateFunctionsHelper
  
-  extends DerivationHelper
  
DateFunctionsHelper class
  -  Version:
  
 -  1.0, 10/09/98
  
 -  Author:
  
 -  Puru Balakrishnan
 
  
  -  
	DATEOP_ADD
   -    
 -  
	DATEOP_CURRDATE
   -    
 -  
	DATEOP_CURRTIME
   -    
 -  
	DATEOP_SUBTRACT
   -    
 -  
	DATEOP_UNKNOWN
   -   public constants which define the different operations on date
  
 -  
	EXCPTITLE
   -    
 -  
	INVALID_INPUTS
   -    
 -  
	INVALID_NUMCOLS_DATEADD
   -    
 -  
	INVALID_NUMCOLS_DATESUBTRACT
   -    
 -  
	INVALID_OUTTYPE
   -    
 -  
	NUMCOLS_DATEADD
   -    
 -  
	NUMCOLS_DATESUBTRACT
   -    
 -  
	defCal
   -    
 -  
	logWinHelper
   -  
 
  
  -  
	symantec.itools.db.beans.brl.derivation.date.DateFunctionsHelper()
   -   Constructor
 
  
  -  
	calculate(DerivationRow, int, int)
   -   Method which does the calculation
  
 -  
	convertDateToDesiredType(Date, int)
   -    
 -  
	isDateConversionOK(int)
   -    
 -  
	performDateAdd(DerivationRow)
   -    
 -  
	performDateSubtract(DerivationRow)
   -  
 
  
DATEOP_ADD
public static final int DATEOP_ADD
DATEOP_CURRDATE
public static final int DATEOP_CURRDATE
DATEOP_CURRTIME
public static final int DATEOP_CURRTIME
DATEOP_SUBTRACT
public static final int DATEOP_SUBTRACT
DATEOP_UNKNOWN
public static final int DATEOP_UNKNOWN
  -  public constants which define the different operations on date
 
EXCPTITLE
protected static java.lang.String EXCPTITLE
INVALID_INPUTS
protected static java.lang.String INVALID_INPUTS
INVALID_NUMCOLS_DATEADD
protected static java.lang.String INVALID_NUMCOLS_DATEADD
INVALID_NUMCOLS_DATESUBTRACT
protected static java.lang.String INVALID_NUMCOLS_DATESUBTRACT
INVALID_OUTTYPE
protected static java.lang.String INVALID_OUTTYPE
NUMCOLS_DATEADD
protected static final int NUMCOLS_DATEADD
NUMCOLS_DATESUBTRACT
protected static final int NUMCOLS_DATESUBTRACT
defCal
protected transient java.util.Calendar defCal
logWinHelper
protected transient symantec.itools.db.beans.util.LogWindowHelper logWinHelper
  
DateFunctionsHelper
public DateFunctionsHelper()
  -  Constructor
  
 
 
  
calculate
public java.lang.Object calculate(DerivationRow inputRow,
                                  int outputDataType,
                                  int operatorType)
  -  Method which does the calculation
  
 
 
convertDateToDesiredType
protected java.lang.Object convertDateToDesiredType(Date dateVal,
                                                    int outputType) throws Exception
isDateConversionOK
protected boolean isDateConversionOK(int type)
performDateAdd
protected java.util.Date performDateAdd(DerivationRow inputRow) throws Exception
performDateSubtract
protected java.util.Date performDateSubtract(DerivationRow inputRow) throws Exception
All Packages  Class Hierarchy  This Package  Previous  Next  Index