Example #1
0
 public DateBoxBase() {
   this.box = new TextBox();
   setElement(box.getElement());
   setFormat("mm/dd/yyyy");
   this.language = LocaleUtil.getLanguage();
   setValue(new Date());
 }
Example #2
0
 public void setLanguage(String language) {
   this.language = language;
   LocaleUtil.forceLocale(language);
 }