io.jsonwebtoken.Clockpublic class FixedClock extends Object implements io.jsonwebtoken.Clock
Clock implementation that is constructed with a seed timestamp and always reports that same
timestamp.| Constructor | 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.
|
public Date now()
now in interface io.jsonwebtoken.ClockCopyright © 2019. All rights reserved.