public static Date nextDate(Date d)
        {
            Date ret = new Date(NQuantLibcPINVOKE.ASX_nextDate__SWIG_1(Date.getCPtr(d)), true);

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