public interface TimeSource
new Date() and
System.currentTimeMillis()| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMillis()
Return current timestamp in milliseconds.
|
java.util.Date |
currentTimestamp()
Return current timestamp as Date instance.
|
static final java.lang.String NAME