// presentation
text.setValue(DateTimeFormat.getFormat(
getFormatString()).format(date), false);
}
} else {
date = format.parseStrict(text.getText());
}
long stamp = date.getTime();
if (stamp == 0) {
// If date parsing fails in firefox the stamp will be 0