org.pentaho.reporting.libraries.formula.function.datetime
Class SecondFunction

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.datetime.SecondFunction
All Implemented Interfaces:
Serializable, Function

public class SecondFunction
extends Object
implements Function

This function extracts the minute (0 through 59) from a time.

Author:
Cedric Pronzato
See Also:
Serialized Form

Constructor Summary
SecondFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondFunction

public SecondFunction()
Method Detail

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