String dateValue = _dateTextBox.getText();
String timeValue = _timeTextBox.getText();
if (dateValue.length() > 0 && timeValue.length() > 0) {
try {
Date parsedDate = _dateFormat.parse(dateValue);
FlexibleDateParser parser = new FlexibleDateParser();
int minutes = parser.getMintuesSinceMidnight(timeValue);
date = new Date(parsedDate.getTime() + minutes * 60 * 1000);
} catch (FlexibleDateParser.DateParseException ex) {
System.err.println("bad time=" + dateValue + " " + timeValue);
}
}