*/
public static WaitTimeProvider parse(String value) {
value = Val.chkStr(value);
String[] elements = value.split("[ ]+");
if (elements.length == 1) {
DayOfWeek dow = DayOfWeek.checkValueOf(elements[0]);
if (dow != null) {
return new DayOfWeekTimeProvider(dow);
}
} else if (elements.length == 2) {
DayOfWeek dow = DayOfWeek.checkValueOf(elements[0]);
String[] hourMin = elements[1].split(":");
if (dow != null && hourMin.length == 2) {
try {
int h = Integer.parseInt(hourMin[0]);
int m = Integer.parseInt(hourMin[1]);