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