| org.axiondb.functions.BaseFunction org.axiondb.functions.DateDiffFunction
DateDiffFunction | public class DateDiffFunction extends BaseFunction implements ScalarFunction,FunctionFactory(Code) | | Syntax: DATEDIFF(interval_type, timestamp1, timestamp2)
version: $Revision: 1.16 $ $Date: 2005/05/02 22:28:41 $ author: Rupesh Ramachandran author: Ritesh Adval |
DateDiffFunction | public DateDiffFunction()(Code) | | Creates a new instance of Class
|
evaluate | public Object evaluate(RowDecorator row) throws AxionException(Code) | | Returns integer difference (timestamp2 - timestamp1) in units of interval of type
interval_type. Valid interval types are {day, month, year, second, millisecond,
minute, hour, week, quarter}
|
isValid | public boolean isValid()(Code) | | |
|
|