import com.google.gwt.i18n.client.DateTimeFormat;
...
DateTimeFormat myDateTimeFormat = DateTimeFormat.getFormat(...);
Date date = myDateTimeFormat.parseStrict(dateString);
Run Code Online (Sandbox Code Playgroud)
parseStrict() 为无效的日期字符串抛出IllegalArgumentException.