public static enum ScheduleGenerator.Frequency extends Enum<ScheduleGenerator.Frequency>
ScheduleGenerator
.Enum Constant and Description |
---|
ANNUAL
Twelve months periods.
|
DAILY
Daily periods.
|
MONTHLY
One months periods.
|
QUARTERLY
Three months periods.
|
SEMIANNUAL
Six months periods.
|
TENOR
A single period, i.e., the period is as long as from start to maturity.
|
WEEKLY
Weekly periods.
|
Modifier and Type | Method and Description |
---|---|
static ScheduleGenerator.Frequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleGenerator.Frequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleGenerator.Frequency DAILY
public static final ScheduleGenerator.Frequency WEEKLY
public static final ScheduleGenerator.Frequency MONTHLY
public static final ScheduleGenerator.Frequency QUARTERLY
public static final ScheduleGenerator.Frequency SEMIANNUAL
public static final ScheduleGenerator.Frequency ANNUAL
public static final ScheduleGenerator.Frequency TENOR
public static ScheduleGenerator.Frequency[] values()
for (ScheduleGenerator.Frequency c : ScheduleGenerator.Frequency.values()) System.out.println(c);
public static ScheduleGenerator.Frequency 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 nullCopyright © 2015. All rights reserved.