Class Term

java.lang.Object
org.drip.loan.characteristics.Term

public class Term
extends java.lang.Object
Term contains the original Term of the Loan in Months.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    Term​(double dblMonths)
    Term Constructor
  • Method Summary

    Modifier and Type Method Description
    double months()
    Retrieve the Loan Term in Months

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Term

      public Term​(double dblMonths) throws java.lang.Exception
      Term Constructor
      Parameters:
      dblMonths - Outstanding Months in Balance
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • months

      public double months()
      Retrieve the Loan Term in Months
      Returns:
      The Loan Term in Months