public static enum BusinessdayCalendarInterface.DateOffsetUnit extends Enum<BusinessdayCalendarInterface.DateOffsetUnit>
| Enum Constant and Description |
|---|
BUSINESS_DAYS |
DAYS |
MONTHS |
WEEKS |
YEARS |
| Modifier and Type | Method and Description |
|---|---|
static BusinessdayCalendarInterface.DateOffsetUnit |
getEnum(String string)
Get the date offset unit enum for a string (using common synonyms like "d", "b", "bd", "w").
|
static BusinessdayCalendarInterface.DateOffsetUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessdayCalendarInterface.DateOffsetUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessdayCalendarInterface.DateOffsetUnit DAYS
public static final BusinessdayCalendarInterface.DateOffsetUnit BUSINESS_DAYS
public static final BusinessdayCalendarInterface.DateOffsetUnit WEEKS
public static final BusinessdayCalendarInterface.DateOffsetUnit MONTHS
public static final BusinessdayCalendarInterface.DateOffsetUnit YEARS
public static BusinessdayCalendarInterface.DateOffsetUnit[] values()
for (BusinessdayCalendarInterface.DateOffsetUnit c : BusinessdayCalendarInterface.DateOffsetUnit.values()) System.out.println(c);
public static BusinessdayCalendarInterface.DateOffsetUnit 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 BusinessdayCalendarInterface.DateOffsetUnit getEnum(String string)
string - The date roll convention name.Copyright © 2017. All rights reserved.