docs: public static Date fromRfc3339DateString(String rfc3339FormattedDate)
        throws InvalidFormatException {
  
      SimpleDateFormat rfc3339DateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
      try {
        return rfc3339DateFormat.parse(rfc3339FormattedDate);
      } catch (ParseException e) {
        throw new InvalidFormatException("Error parsing as date", rfc3339FormattedDate, Date.class);
      }
    }