nsIRDFDate *aDate; if (!JS_ConvertArguments(cx, argc, argv, "o", &aDate))
JSObject* jsaDate; if (!JS_ConvertArguments(cx, argc, argv, "o", &jsaDate))
nsIRDFDate_EqualsDate(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval){  nsIRDFDate *priv = (nsIRDFDate *)JS_GetPrivate(cx, obj);  if (!priv)    return JS_TRUE;  nsIRDFDate *aDate;  if (!JS_ConvertArguments(cx, argc, argv, "o", &aDate))    return JS_FALSE;  PRBool retval;  nsresult rv = priv->EqualsDate(aDate, &retval);  if (NS_FAILED(rv)) {    JS_ReportError(cx, XXXnsresult2string(rv));    return JS_FALSE;  }  *rval = BOOLEAN_TO_JSVAL(retval);  return JS_TRUE;}