Package com.epicbot.api.shared.util.time
Class Time
- java.lang.Object
-
- com.epicbot.api.shared.util.time.Time
-
public class Time extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Time()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 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(int sleep, Completable completable)
static boolean
sleep(int sleep, Completable completable, int iterationSleep)
static boolean
sleep(int timeout, Completable completable, int maxTimeout, Completable resetCondition)
static boolean
sleep(SleepTimer timer)
static boolean
sleep(SleepTimer timer, int iterationSleep)
-
-
-
Method Detail
-
getHumanReaction
public static int getHumanReaction()
-
sleep
public static boolean sleep()
-
sleep
public static boolean sleep(int min, int max)
-
sleep
public static boolean sleep(int sleep)
-
sleep
public static boolean sleep(int min, int max, Completable completable)
-
sleep
public static boolean sleep(int min, int max, Completable completable, int iterationSleep)
-
sleep
public static boolean sleep(int timeout, Completable completable, int maxTimeout, Completable resetCondition)
-
sleep
public static boolean sleep(int sleep, Completable completable)
-
sleep
public static boolean sleep(int sleep, Completable completable, int iterationSleep)
-
sleep
public static boolean sleep(SleepTimer timer)
-
sleep
public static boolean sleep(SleepTimer timer, int iterationSleep)
-
getRuntime
public static long getRuntime(long startTime)
-
getFormattedRuntime
public static java.lang.String getFormattedRuntime(long startTime)
-
getRuntimeMinutes
public static int getRuntimeMinutes(long startTime)
-
getFormattedTime
public static java.lang.String getFormattedTime(long time)
-
-