Clock.Default, Clock.Global
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
long |
currentTimeMillis()
System.currentTimeMillis() |
long |
nanoTime()
System.nanoTime() |
public long currentTimeMillis()
System.currentTimeMillis()
currentTimeMillis
in interface Clock
Copyright © 2009- The Apache Software Foundation