org.openxava.calculators
Class CurrentTimestampCalculator

java.lang.Object
  extended by org.openxava.calculators.CurrentTimestampCalculator
All Implemented Interfaces:
java.io.Serializable, ICalculator

public class CurrentTimestampCalculator
extends java.lang.Object
implements ICalculator

Returns the current time in java.sql.Timestamp format.

Author:
Eduardo Escrihuela
See Also:
Serialized Form

Constructor Summary
CurrentTimestampCalculator()
           
 
Method Summary
 java.lang.Object calculate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentTimestampCalculator

public CurrentTimestampCalculator()
Method Detail

calculate

public java.lang.Object calculate()
                           throws java.lang.Exception
Specified by:
calculate in interface ICalculator
Throws:
java.lang.Exception