public enum TenorCode extends Enum<TenorCode>
Tenor| Enum Constant and Description | 
|---|
DAY  | 
MONTH  | 
OVERNIGHT  | 
SPOT  | 
SPOT_NEXT  | 
TOM_NEXT  | 
WEEK  | 
YEAR  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
acceptUnits()  | 
static TenorCode | 
fromCode(String code)  | 
String | 
getCode()  | 
static TenorCode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static TenorCode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TenorCode OVERNIGHT
public static final TenorCode SPOT
public static final TenorCode TOM_NEXT
public static final TenorCode SPOT_NEXT
public static final TenorCode DAY
public static final TenorCode WEEK
public static final TenorCode MONTH
public static final TenorCode YEAR
public static TenorCode[] values()
for (TenorCode c : TenorCode.values()) System.out.println(c);
public static TenorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
TenorCodepublic static TenorCode fromCode(String code)
code - string representation of the TenorCodeTenorCode represented by the string argumentpublic boolean acceptUnits()
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.