public class Time
extends java.lang.Object
Constructor and Description |
---|
Time() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFormattedRuntime(long startTime) |
static java.lang.String |
getFormattedTime(long time) |
static int |
getHumanReaction() |
static long |
getRuntime(long startTime) |
static int |
getRuntimeMinutes(long startTime) |
static boolean |
sleep() |
static boolean |
sleep(int sleep) |
static boolean |
sleep(int sleep,
Completable completable) |
static boolean |
sleep(int sleep,
Completable completable,
int iterationSleep) |
static boolean |
sleep(int min,
int max) |
static boolean |
sleep(int min,
int max,
Completable completable) |
static boolean |
sleep(int min,
int max,
Completable completable,
int iterationSleep) |
static boolean |
sleep(SleepTimer timer) |
static boolean |
sleep(SleepTimer timer,
int iterationSleep) |
public static int getHumanReaction()
public static boolean sleep()
public static boolean sleep(int min, int max)
public static boolean sleep(int sleep)
public static boolean sleep(int min, int max, Completable completable)
public static boolean sleep(int min, int max, Completable completable, int iterationSleep)
public static boolean sleep(int sleep, Completable completable)
public static boolean sleep(int sleep, Completable completable, int iterationSleep)
public static boolean sleep(SleepTimer timer)
public static boolean sleep(SleepTimer timer, int iterationSleep)
public static long getRuntime(long startTime)
public static java.lang.String getFormattedRuntime(long startTime)
public static int getRuntimeMinutes(long startTime)
public static java.lang.String getFormattedTime(long time)