Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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