Schnittstelle IIncrementalCurrentTimeCreator
- Alle bekannten Implementierungsklassen:
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
.- Version:
- 2024-12-14
- Autor:
- Silvan Wyss
-
Methodenübersicht