| Package | Description |
|---|---|
| cz.auderis.tools.time |
Facilitates common time-related tasks, such as obtaining current time,
handling timeouts etc.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SteppingTimeProvider |
| Modifier and Type | Method and Description |
|---|---|
static ManualTimeProvider |
TimeProviders.manual()
Returns a new instance of
ManualTimeProvider,
that is initialized to the current system time. |
static ManualTimeProvider |
TimeProviders.manual(Date startTime)
Returns a new instance of
ManualTimeProvider,
that is initialized to the provided date/time. |
ManualTimeProvider |
ManualTimeProvider.setTimeInMillis(long millis)
Changes the time of this
TimeProvider to the new value given in milliseconds. |
ManualTimeProvider |
ManualTimeProvider.step(long incrementMillis)
Changes the time of this
TimeProvider by the specified increment
specified in milliseconds. |
ManualTimeProvider |
ManualTimeProvider.step(long increment,
TimeUnit unit)
Changes the time of this
TimeProvider by the specified increment. |
Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.