|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.robokind.api.common.utils.TimeUtils
public class TimeUtils
Utility methods for dealing with time.
Constructor Summary | |
---|---|
TimeUtils()
|
Method Summary | |
---|---|
static long |
now()
Returns the current clock time. |
static void |
sleep(long msec)
Attempts to sleep for the specified length |
static String |
timeString(long elapsed)
Formats a timespan in milliseconds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeUtils()
Method Detail |
---|
public static long now()
public static void sleep(long msec)
msec
- number of milliseconds to sleeppublic static String timeString(long elapsed)
elapsed
- number of milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |