Interface TimeProvider

All Known Implementing Classes:
FakeTimeProvider

public interface TimeProvider
Time provider for service testing. Used as a time source by TestKit time service.
  • Method Summary

    Modifier and Type Method Description
    ZonedDateTime getTime()
    Returns the current time of this time provider in UTC time zone.
    static TimeProvider systemTime()
    Returns a provider that uses the system time.