code: public Date getLegacyDateValue() {
      if (internalDate == null) {
        return null;
      }
      return Date.from(internalDate.atStartOfDay(ZoneId.systemDefault()).toInstant());
    }
docs: Get internal Date as Date (Please avoid this, because LocalDate is far better.)
  
  @return