public class Tenor
Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity
Constructor and Description |
---|
Tenor(java.lang.String name)
Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
component1() |
Tenor |
copy(java.lang.String name)
Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity
|
int |
daysToMaturity(java.time.LocalDate startDate,
BusinessCalendar calendar) |
boolean |
equals(java.lang.Object p) |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
public Tenor(java.lang.String name)
Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity
public int daysToMaturity(java.time.LocalDate startDate, BusinessCalendar calendar)
public java.lang.String toString()
public java.lang.String getName()
public java.lang.String component1()
public Tenor copy(java.lang.String name)
Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity
public int hashCode()
public boolean equals(java.lang.Object p)