Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
static SdkClock |
get() |
static void |
reset()
Reset the clock to
SdkClock.STANDARD . |
static void |
set(SdkClock newClock)
Should only be used by tests to mock the clock.
|
public static SdkClock get()
public static void set(SdkClock newClock)
newClock
- New clock to use.public static void reset()
SdkClock.STANDARD
. Should only be used by SDK tests.