Interface TimeService

  • All Known Implementing Classes:
    SystemTimeService

    public interface TimeService
    Abstract time service. Provides current time millis.
    • Method Detail

      • now

        long now()
        Provides current time millis.
        Returns:
        current time.
      • nowDate

        @NotNull
        default java.util.Date nowDate()