public enum IborRateResetMethod extends Enum<IborRateResetMethod> implements NamedEnum
When calculating interest, there may be multiple reset dates for a given accrual period. This typically involves an average of a number of different rate fixings.
| Enum Constant and Description |
|---|
UNWEIGHTED
The unweighted average method.
|
WEIGHTED
The weighted average method.
|
| Modifier and Type | Method and Description |
|---|---|
static IborRateResetMethod |
of(String name)
Obtains an instance from the specified name.
|
String |
toString()
Returns the formatted name of the type.
|
static IborRateResetMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IborRateResetMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IborRateResetMethod UNWEIGHTED
The result is a simple average of the applicable rates.
Defined by the 2006 ISDA definitions article 6.2a(3C).
public static final IborRateResetMethod WEIGHTED
The result is a weighted average of the applicable rates based on the number of days each rate is applicable.
Defined by the 2006 ISDA definitions article 6.2a(3D).
public static IborRateResetMethod[] values()
for (IborRateResetMethod c : IborRateResetMethod.values()) System.out.println(c);
public static IborRateResetMethod 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 static IborRateResetMethod of(String name)
Parsing handles the mixed case form produced by toString() and
the upper and lower case variants of the enum constant name.
name - the name to parseIllegalArgumentException - if the name is not knownpublic String toString()
toString in class Enum<IborRateResetMethod>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.