code: public String getAsText() {
          DateTime value = (DateTime) getValue();
          return (value != null ? value.toString(this.formatter) : "");
      }
docs: Format the DateTime as String, using the specified format.