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

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

public class TimeFunction
extends Object
implements Function

This fonction constructs a time from hours, minutes, and seconds.

Author:
Cedric Pronzato
See Also:
Serialized Form

Constructor Summary
TimeFunction()
           
 
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

TimeFunction

public TimeFunction()
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