org.pentaho.reporting.libraries.formula.function.datetime
Class MonthFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.datetime.MonthFunction
- All Implemented Interfaces:
- Serializable, Function
public class MonthFunction
- extends Object
- implements Function
This function extracts the month from a date.
- Author:
- Cedric Pronzato
- See Also:
- Serialized Form
MonthFunction
public MonthFunction()
getCanonicalName
public String getCanonicalName()
- Specified by:
getCanonicalName
in interface Function
evaluate
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
throws EvaluationException
- Specified by:
evaluate
in interface Function
- Throws:
EvaluationException