public interface SdkClock
System.currentTimeMillis().| Modifier and Type | Interface and Description |
|---|---|
static class |
SdkClock.Instance
Container for Singleton instance of the
SdkClock. |
static class |
SdkClock.MockClock
Mock implementation used in tests.
|
| Modifier and Type | Field and Description |
|---|---|
static SdkClock |
STANDARD
Standard implementation that calls out to
System.currentTimeMillis(). |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMillis() |
static final SdkClock STANDARD
System.currentTimeMillis(). Used in production code.Copyright © 2017. All rights reserved.