public static enum BusinessdayCalendar.DateRollConvention extends Enum<BusinessdayCalendar.DateRollConvention>
| Enum Constant and Description |
|---|
FOLLOWING |
MODIFIED_FOLLOWING |
MODIFIED_PRECEDING |
PRECEDING |
UNADJUSTED |
| Modifier and Type | Method and Description |
|---|---|
static BusinessdayCalendar.DateRollConvention |
getEnum(String string)
Get the date roll convention enum for a string (using common synonyms like "modfollow".
|
static BusinessdayCalendar.DateRollConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessdayCalendar.DateRollConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessdayCalendar.DateRollConvention UNADJUSTED
public static final BusinessdayCalendar.DateRollConvention FOLLOWING
public static final BusinessdayCalendar.DateRollConvention PRECEDING
public static final BusinessdayCalendar.DateRollConvention MODIFIED_FOLLOWING
public static final BusinessdayCalendar.DateRollConvention MODIFIED_PRECEDING
public static BusinessdayCalendar.DateRollConvention[] values()
for (BusinessdayCalendar.DateRollConvention c : BusinessdayCalendar.DateRollConvention.values()) System.out.println(c);
public static BusinessdayCalendar.DateRollConvention 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 BusinessdayCalendar.DateRollConvention getEnum(String string)
string - The date roll convention name.Copyright © 2019. All rights reserved.