public class Utils
extends java.lang.Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkTimes(java.lang.String startTime,
java.lang.String endTime)
Check if startTime is before endTime
|
static boolean |
checkTriggerValue(int value)
Return if trigger value is between 0 and 100
|
static java.lang.String |
getAutomaticId()
Get random generated ID_SIZE characters id
|
public static java.lang.String getAutomaticId()
public static boolean checkTimes(java.lang.String startTime, java.lang.String endTime)
startTime
- start timeendTime
- end timepublic static boolean checkTriggerValue(int value)
value
- value to check