docs: public static Date toDate(final String pString, final DateFormat pFormat) {
          try {
              synchronized (pFormat) {
                  // Parse date using given format
                  return pFormat.parse(pString);
              }
          }
          catch (ParseException pe) {
              // Wrap in RuntimeException
              throw new IllegalArgumentException(pe.getMessage());
          }
      }