docs: public void setDateMax(Date dateMax) {
          this.dateMax = dateMax;
  
          if (isAttached() && dateMax != null) {
              getPicker().set("max", JsDate.create((double) dateMax.getTime()));
          }
      }