Package org.drip.analytics.cashflow
Class ReferenceIndexPeriod
java.lang.Object
org.drip.analytics.cashflow.ReferenceIndexPeriod
public class ReferenceIndexPeriod
extends java.lang.Object
ReferenceIndexPeriod contains the Cash Flow Period Details. Currently it holds the Start Date, the
End Date, the Fixing Date, and the Reference Latent State Label.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Date, Cash Flow, and Cash Flow Period Measure Generation Utilities
- Package = Unit and Composite Cash Flow Periods
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ReferenceIndexPeriod(int iStartDate, int iEndDate, int iFixingDate, double dblDCF, FloaterLabel floaterLabel)
The ReferenceIndexPeriod Constructor -
Method Summary
Modifier and Type Method Description double
dcf()
Retrieve the Reference Period Day Count Fractionint
endDate()
Reference Period End Dateint
fixingDate()
Reference Period Fixing DateFloaterLabel
floaterLabel()
Retrieve the Floater Labelstatic ReferenceIndexPeriod
Standard(int iStartDate, int iEndDate, FloaterLabel floaterLabel)
Standard Instance of ReferenceIndexPeriodint
startDate()
Reference Period Start DateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ReferenceIndexPeriod
public ReferenceIndexPeriod(int iStartDate, int iEndDate, int iFixingDate, double dblDCF, FloaterLabel floaterLabel) throws java.lang.ExceptionThe ReferenceIndexPeriod Constructor- Parameters:
iStartDate
- Reference Period Start DateiEndDate
- Reference Period End DateiFixingDate
- Reference Period Fixing DatedblDCF
- Reference Period Day Count FractionfloaterLabel
- Period Floater Label- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
public static final ReferenceIndexPeriod Standard(int iStartDate, int iEndDate, FloaterLabel floaterLabel)Standard Instance of ReferenceIndexPeriod- Parameters:
iStartDate
- Reference Period Start DateiEndDate
- Reference Period End DatefloaterLabel
- Period Forward Label- Returns:
- The ReferenceIndexPeriod Instance
-
startDate
public int startDate()Reference Period Start Date- Returns:
- The Reference Period Start Date
-
endDate
public int endDate()Reference Period End Date- Returns:
- The Reference Period End Date
-
fixingDate
public int fixingDate()Reference Period Fixing Date- Returns:
- The Reference Period Fixing Date
-
floaterLabel
Retrieve the Floater Label- Returns:
- The Floater Label
-
dcf
public double dcf()Retrieve the Reference Period Day Count Fraction- Returns:
- The Reference Period Day Count Fraction
-