public static enum ScheduleGenerator.ShortPeriodConvention extends Enum<ScheduleGenerator.ShortPeriodConvention>
Enum Constant and Description |
---|
FIRST
The first period will be shorter, if a regular period does not fit.
|
LAST
The last period will be shorter, if a regular period does not fit.
|
Modifier and Type | Method and Description |
---|---|
static ScheduleGenerator.ShortPeriodConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleGenerator.ShortPeriodConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleGenerator.ShortPeriodConvention FIRST
public static final ScheduleGenerator.ShortPeriodConvention LAST
public static ScheduleGenerator.ShortPeriodConvention[] values()
for (ScheduleGenerator.ShortPeriodConvention c : ScheduleGenerator.ShortPeriodConvention.values()) System.out.println(c);
public static ScheduleGenerator.ShortPeriodConvention 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 © 2018. All rights reserved.