Interface IIncrementalCurrentTimeCreator
- All Known Implementing Classes:
IncrementalCurrentTimeCreator
public interface IIncrementalCurrentTimeCreator
The
ZonedDateTime.now() method delivers ZonedDateTime with a
limited nanosecond accuracy. The nanoseconds of such a ZonedDateTime
are rounded to hundreds. Through this, ZonedDateTime.now() that are
created just some few nanoseconds after each other, are equal.
A IIncrementalCurrentTimeCreator guarantees that each
ZonedDateTime the IIncrementalCurrentTimeCreator creates is
at least 1 microsecond bigger then the previously created
ZonedDateTime.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
getCurrentTime
-