public static string nextCode(string asxCode, bool mainCycle, Date referenceDate)
        {
            string ret = NQuantLibcPINVOKE.ASX_nextCode__SWIG_3(asxCode, mainCycle, Date.getCPtr(referenceDate));

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }