Documentation of 'org.jfin.date.accrual.impl.FixedAccrualPeriod' Java class
FixedAccrualPeriod
org.jfin.date.accrual.impl

Class FixedAccrualPeriod

  • All Implemented Interfaces:
    java.lang.Comparable, Initialisable


    public class FixedAccrualPeriod
    extends AccrualPeriod
    Concrete implementation of AccrualPeriod that models a Fixed Rate accrual period (e.g. a fixed rate Bond)
    • Constructor Detail

      • FixedAccrualPeriod

        public FixedAccrualPeriod()
        Default constructor
      • FixedAccrualPeriod

        public FixedAccrualPeriod(Period toCopy)
        Copy constructor
        Parameters:
        toCopy - The period to copy
    • Method Detail

      • getFixedRate

        public double getFixedRate()
        Returns the fixed rate of this period
        Returns:
        The fixed rate
      • setFixedRate

        public void setFixedRate(double fixedRate)
        Sets the fixed rate of this period
        Parameters:
        fixedRate - The fixed rate
      • getPaymentAmount

        public double getPaymentAmount(double notional)
                                throws java.lang.Exception
        Gets the payment amount for this period for a given notional
        Specified by:
        getPaymentAmount in class AccrualPeriod
        Parameters:
        notional - The notional amount
        Returns:
        The payment amount
        Throws:
        java.lang.Exception - If there is a problem calculating the payment amount

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.