date.setMillis(DateTimeZone.getDefault().getMillisKeepLocal(
DateTimeZone.forTimeZone(zone), date.getMillis()));
}
// the date will be in the server's timezone
setConvertedInput(date.toDate());
}
catch (RuntimeException e)
{
DateTimeField.this.error(e.getMessage());
invalid();