code: public void setExpiredEnd(Date expiredEnd) throws InvalidArgumentException {
          if (expiredEnd == null) {
              throw new InvalidArgumentException("Date can't be null");
          }
          queryParms.put("expired_end", Util.dateToString(expiredEnd));
      }
docs: Get certificates that have expired before this date
  
  @param expiredEnd Expired end date
  @throws InvalidArgumentException Date can't be null