| Constructor and Description |
|---|
FixedClock()
Creates a new fixed clock using
new as the seed timestamp. |
FixedClock(java.util.Date now)
Creates a new fixed clock using the specified seed timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
now() |
public FixedClock()
new Date() as the seed timestamp. All calls to
now() will always return this seed Date.Copyright © 2014-2022 jsonwebtoken.io. All Rights Reserved.