internal FinanceCalcResult <System.DateTime> GetCoupncd() { var fds = FinancialDaysFactory.Create(Basis); var period = fds.GetCouponPeriod(Settlement, Maturity, Frequency); return(new FinanceCalcResult <System.DateTime>(period.End.ToDateTime())); }
internal FinanceCalcResult <double> GetCoupdays() { var fds = FinancialDaysFactory.Create(Basis); var settlementPeriod = fds.GetCouponPeriod(Settlement, Maturity, Frequency); return(new FinanceCalcResult <double>(fds.GetCoupdays(settlementPeriod.Start, settlementPeriod.End, Frequency))); }
public FinanceCalcResult <double> Coupdaysnc() { var fds = FinancialDaysFactory.Create(Basis); var settlementPeriod = fds.GetCouponPeriod(Settlement, Maturity, Frequency); return(new FinanceCalcResult <double>(fds.GetDaysBetweenDates(Settlement, settlementPeriod.End))); }
public FinanceCalcResult <int> Coupdaybs() { var fds = FinancialDaysFactory.Create(Basis); var settlementPeriod = fds.GetCouponPeriod(Settlement, Maturity, Frequency); return(new FinanceCalcResult <int>((int)Settlement.SubtractDays(settlementPeriod.Start) * -1)); }
internal FinanceCalcResult <int> GetCoupnum() { var fds = FinancialDaysFactory.Create(Basis); return(new FinanceCalcResult <int>(fds.GetNumberOfCouponPeriods(Settlement, Maturity, Frequency))); }
protected FinancialDay GetCouponPeriodBySettlement() { var financialDays = FinancialDaysFactory.Create(Basis); throw new NotImplementedException(); }