public enum StandardTenor extends java.lang.Enum<StandardTenor>
| Enum Constant and Description |
|---|
_INVALID |
M1
One month.
|
M10
Ten months.
|
M11
Eleven months.
|
M15
Fifteen months.
|
M18
Eighteen months.
|
M2
Two months.
|
M21
Twenty-one months.
|
M3
Three months.
|
M4
Four months.
|
M5
Five months.
|
M6
Six months.
|
M7
Seven months.
|
M8
Eight months.
|
M9
Nine months.
|
NA
Not available
|
ON
Overnight.
|
SN
Spot next.
|
SP
Spot.
|
TN
Tomorrow next.
|
TOD
Today.
|
TOM
Tomorrow.
|
W1
One week.
|
W2
Two weeks.
|
W3
Three weeks.
|
Y1
One year.
|
Y2
Two years.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static StandardTenor |
get(byte value) |
static java.util.Collection<StandardTenor> |
validValues() |
static StandardTenor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardTenor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardTenor NA
public static final StandardTenor TOD
public static final StandardTenor TOM
public static final StandardTenor ON
public static final StandardTenor TN
public static final StandardTenor SP
public static final StandardTenor SN
public static final StandardTenor W1
public static final StandardTenor W2
public static final StandardTenor W3
public static final StandardTenor M1
public static final StandardTenor M2
public static final StandardTenor M3
public static final StandardTenor M4
public static final StandardTenor M5
public static final StandardTenor M6
public static final StandardTenor M7
public static final StandardTenor M8
public static final StandardTenor M9
public static final StandardTenor M10
public static final StandardTenor M11
public static final StandardTenor Y1
public static final StandardTenor M15
public static final StandardTenor M18
public static final StandardTenor M21
public static final StandardTenor Y2
public static final StandardTenor _INVALID
public static StandardTenor[] values()
for (StandardTenor c : StandardTenor.values()) System.out.println(c);
public static StandardTenor valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte get()
public static StandardTenor get(byte value)
public static java.util.Collection<StandardTenor> validValues()