public class Util
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
getCurrentTime()
Returns the current system time.
|
static void |
sleep(long millis)
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds.
|
public static double getCurrentTime()
public static void sleep(long millis)
millis
- sleep time in milliseconds.