Class SimpleTimeSource

  • All Implemented Interfaces:
    ITimeSource

    public class SimpleTimeSource
    extends java.lang.Object
    implements ITimeSource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getCurrentDate()
      Retrieves current time and date.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleTimeSource

        public SimpleTimeSource()
    • Method Detail

      • getCurrentDate

        public java.util.Date getCurrentDate()
        Description copied from interface: ITimeSource
        Retrieves current time and date.
        Specified by:
        getCurrentDate in interface ITimeSource
        Returns:
        current time and date