code: public Date getFirstValueAsDate() throws ParseException {
          String valueString = getFirstValue();
          if (valueString == null) {
              return null;
          }
          return XmppDateTime.parseXEP0082Date(valueString);
      }
docs: Parses the first value of this form field as XEP-0082 date/time format and returns a date instance or {@code null}.
  
  @return a Date instance representing the date/time information of the first value of this field.
  @throws ParseException if parsing fails.
  @since 4.3.0