@Deprecated public class SystemClock extends Object implements Clock
Clock
that uses System.currentTimeMillis()
to determine the system time.Constructor and Description |
---|
SystemClock()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
currentTimeMillis()
Deprecated.
Return the current system time in milliseconds.
|
public long currentTimeMillis()
Clock
currentTimeMillis
in interface Clock
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.