if (tilde >= 0) {
st.parseUserEntry(text.substring(0, tilde).trim());
et.parseUserEntry(text.substring(tilde + 1).trim());
} else {
// Not sure how to specify the type of the Exception
throw new ValueParseException("No tilde found", new Exception());
}
if (et.isLessThan(st)) {
throw new ValueParseException("End time before start time", new Exception());
}
setValue(st, et);
}
}