Class SystemTimeService

  • All Implemented Interfaces:
    TimeService

    public class SystemTimeService
    extends java.lang.Object
    implements TimeService
    Time service based on current system time.
    • Constructor Detail

      • SystemTimeService

        public SystemTimeService()
    • Method Detail

      • getInstance

        public static TimeService getInstance()
      • now

        public long now()
        Description copied from interface: TimeService
        Provides current time millis.
        Specified by:
        now in interface TimeService
        Returns:
        current time.