Class NowFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.datetime.NowFunction
- All Implemented Interfaces:
Serializable
,Function
Return the serial number of the current date and time. This returns the current day and time serial number, using the
current locale. If you want only the serial number of the current day, use TODAY.
- Since:
- 23.03.2007
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NowFunction
public NowFunction()
-
-
Method Details
-
getCanonicalName
- Specified by:
getCanonicalName
in interfaceFunction
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException - Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-