|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||

java.lang.Objectjava.lang.Enum<IMMPeriod>
net.objectlab.kit.datecalc.common.IMMPeriod
public enum IMMPeriod
Some instruments require a period different from the usual Quarterly but still following IMM, e.g. Bi Annually which then can be Mar-Sep or Jun-Dec, or Annually.
| Enum Constant Summary | |
|---|---|
ANNUALLY
Annually, jump from 1 year to the next |
|
BI_ANNUALY_JUN_DEC
Bi-annually June and December |
|
BI_ANNUALY_MAR_SEP
Bi-annually March and September |
|
QUARTERLY
Conventional period: Quarterly: eg March, June, September, December |
|
| Method Summary | |
|---|---|
static IMMPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IMMPeriod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IMMPeriod BI_ANNUALY_MAR_SEP
public static final IMMPeriod BI_ANNUALY_JUN_DEC
public static final IMMPeriod QUARTERLY
public static final IMMPeriod ANNUALLY
| Method Detail |
|---|
public static IMMPeriod[] values()
for (IMMPeriod c : IMMPeriod.values()) System.out.println(c);
public static IMMPeriod valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||