Class Vintage

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

public class Vintage
extends java.lang.Object
Vintage contains the Loan Origination Vintage Details - i.e., the Year/Month of Loan Origination.

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    Vintage​(int iOriginationYear, int iOriginationMonth)
    Vintage Constructor
  • Method Summary

    Modifier and Type Method Description
    int originationMonth()
    Retrieve the Origination Month
    int originationYear()
    Retrieve the Origination Year
    static Vintage Standard​(JulianDate dtOrigination)
    Construct a Vintage Instance from the Origination Date

    Methods inherited from class java.lang.Object

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

    • Vintage

      public Vintage​(int iOriginationYear, int iOriginationMonth) throws java.lang.Exception
      Vintage Constructor
      Parameters:
      iOriginationYear - Loan Origination Year
      iOriginationMonth - Loan Origination Month
      Throws:
      java.lang.Exception - Thrown if the Inputs are not Valid
  • Method Details

    • Standard

      public static final Vintage Standard​(JulianDate dtOrigination)
      Construct a Vintage Instance from the Origination Date
      Parameters:
      dtOrigination - The Origination Date
      Returns:
      Vintage Instance
    • originationYear

      public int originationYear()
      Retrieve the Origination Year
      Returns:
      The Origination Year
    • originationMonth

      public int originationMonth()
      Retrieve the Origination Month
      Returns:
      The Origination Month