All Implemented Interfaces:
Serializable, Product, TermStructureMonteCarloProduct, MonteCarloProduct
Direct Known Subclasses:
Period

public abstract class AbstractPeriod extends AbstractProductComponent
Base class for a period. A period has references to the index (coupon) and the notional. It provides the fixing date for the index, the period length, and the payment date.
Version:
1.1
Author:
Christian Fries
See Also:
  • Constructor Details

    • AbstractPeriod

      public AbstractPeriod(LocalDateTime referenceDate, double periodStart, double periodEnd, double fixingDate, double paymentDate, Notional notional, AbstractProductComponent index, double daycountFraction)
      Initialize basic properties of the period.
      Parameters:
      referenceDate - The date corresponding to time \( t = 0 \).
      periodStart - The period start.
      periodEnd - The period end.
      fixingDate - The fixing date (as double).
      paymentDate - The payment date (as double).
      notional - The notional object relevant for this period.
      index - The index (used for coupon calculation) associated with this period.
      daycountFraction - The daycount fraction (coupon = index(fixingDate) * daycountFraction).
    • AbstractPeriod

      public AbstractPeriod(double periodStart, double periodEnd, double fixingDate, double paymentDate, Notional notional, AbstractProductComponent index, double daycountFraction)
      Initialize basic properties of the period.
      Parameters:
      periodStart - The period start.
      periodEnd - The period end.
      fixingDate - The fixing date (as double).
      paymentDate - The payment date (as double).
      notional - The notional object relevant for this period.
      index - The index (used for coupon calculation) associated with this period.
      daycountFraction - The daycount fraction (coupon = index(fixingDate) * daycountFraction).
    • AbstractPeriod

      public AbstractPeriod(double periodStart, double periodEnd, double fixingDate, double paymentDate, Notional notional, AbstractProductComponent index)
      Initialize basic properties of the period using the idealized daycount faction periodEnd-periodStart.
      Parameters:
      periodStart - The period start.
      periodEnd - The period end.
      fixingDate - The fixing date (as double).
      paymentDate - The payment date (as double).
      notional - The notional object relevant for this period.
      index - The index (coupon) associated with this period.
  • Method Details