Module net.finmath.lib
Enum BusinessdayCalendar.DateRollConvention
- java.lang.Object
-
- java.lang.Enum<BusinessdayCalendar.DateRollConvention>
-
- net.finmath.time.businessdaycalendar.BusinessdayCalendar.DateRollConvention
-
- All Implemented Interfaces:
Serializable
,Comparable<BusinessdayCalendar.DateRollConvention>
- Enclosing interface:
- BusinessdayCalendar
public static enum BusinessdayCalendar.DateRollConvention extends Enum<BusinessdayCalendar.DateRollConvention>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FOLLOWING
MODIFIED_FOLLOWING
MODIFIED_PRECEDING
PRECEDING
UNADJUSTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
UNADJUSTED
public static final BusinessdayCalendar.DateRollConvention UNADJUSTED
-
FOLLOWING
public static final BusinessdayCalendar.DateRollConvention FOLLOWING
-
PRECEDING
public static final BusinessdayCalendar.DateRollConvention PRECEDING
-
MODIFIED_FOLLOWING
public static final BusinessdayCalendar.DateRollConvention MODIFIED_FOLLOWING
-
MODIFIED_PRECEDING
public static final BusinessdayCalendar.DateRollConvention MODIFIED_PRECEDING
-
-
Method Detail
-
values
public static BusinessdayCalendar.DateRollConvention[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BusinessdayCalendar.DateRollConvention c : BusinessdayCalendar.DateRollConvention.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BusinessdayCalendar.DateRollConvention valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getEnum
public static BusinessdayCalendar.DateRollConvention getEnum(String string)
Get the date roll convention enum for a string (using common synonyms like "modfollow".- Parameters:
string
- The date roll convention name.- Returns:
- The date roll convention enum.
-
-