public YieldFinder(double faceAmount, List<CashFlow> cashflows, double dirtyPrice, DayCounter dayCounter, Compounding compounding, Frequency frequency, Date settlement) { _faceAmount = faceAmount; _cashflows = cashflows; _dirtyPrice = dirtyPrice; _compounding = compounding; _dayCounter = dayCounter; _frequency = frequency; _settlement = settlement; }
protected DayCounter(DayCounter dayCounter) { _dayCounter = dayCounter; }
public bool Equals(DayCounter other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Name, Name); }
public YoYInflationLegBase withPaymentDayCounter(DayCounter dayCounter) { paymentDayCounter_ = dayCounter; return this; }
// initializers public FloatingLegBase withPaymentDayCounter(DayCounter dayCounter) { paymentDayCounter_ = dayCounter; return this; }