Package com.exonum.binding.testkit
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ZonedDateTime
getTime()
Returns the current time of this time provider in UTC time zone.
-
-
-
Method Detail
-
getTime
ZonedDateTime getTime()
Returns the current time of this time provider in UTC time zone.
-
-