public class DataValidation
extends java.lang.Object
Constructor and Description |
---|
DataValidation() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isBlankOrInteger(java.lang.String value)
Indicates whether or not the given
String
is either blank, null, or an intenger. |
static boolean |
isDateBlankOrInStandardFormat(java.lang.String date)
Indicates whether or not the date is in the format MM/DD/YYYY.
|
static boolean |
isDateInThePresentOrFuture(java.lang.String date)
Indicates whether or not a date is in the present or future.
|
static boolean |
isTimeBlankOrInStandardFormat(java.lang.String time)
Indicates whether or not the time is in the format HH:MM:SS.
|
public static boolean isBlankOrInteger(java.lang.String value)
String
is either blank, null, or an intenger.value
- The value to check.public static boolean isDateBlankOrInStandardFormat(java.lang.String date)
date
- The date to check.public static boolean isTimeBlankOrInStandardFormat(java.lang.String time)
time
- The time to check.public static boolean isDateInThePresentOrFuture(java.lang.String date)
date
- The date to check.