public static Date date(string asxCode, Date referenceDate) { Date ret = new Date(NQuantLibcPINVOKE.ASX_date__SWIG_0(asxCode, Date.getCPtr(referenceDate)), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }