public class Tenor extends Object implements Serializable
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
TenorCode | 
getCode()  | 
int | 
getUnits()  | 
int | 
hashCode()  | 
boolean | 
hasUnits()  | 
String | 
toString()  | 
static Tenor | 
valueOf(String tenor)  | 
public Tenor(int units,
             TenorCode code)
public int getUnits()
public TenorCode getCode()
public boolean hasUnits()
public static Tenor valueOf(String tenor)
tenor - the tenor, e.g. 1D, 3W, SP etcIllegalArgumentException - if the tenor is not a valid onCopyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.