| Constructor and Description |
|---|
FixedClock()
Creates a new fixed clock using
new as the seed timestamp. |
FixedClock(Date now)
Creates a new fixed clock using the specified seed timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
now()
Returns the clock's current timestamp at the instant the method is invoked.
|
Copyright © 2016. All rights reserved.