java.lang.Object
java.lang.Enum<ScheduleGenerator.DaycountConvention>
net.finmath.time.ScheduleGenerator.DaycountConvention
- All Implemented Interfaces:
Serializable
,Comparable<ScheduleGenerator.DaycountConvention>
,java.lang.constant.Constable
- Enclosing class:
- ScheduleGenerator
public static enum ScheduleGenerator.DaycountConvention extends Enum<ScheduleGenerator.DaycountConvention>
Possible day count conventions supported by
ScheduleGenerator.DaycountConvention
.- Author:
- Christian Fries
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ACT_360
ACT_365
ACT_ACT
ACT_ACT_ISDA
E30_360
E30_360_ISDA
U30_360
-
Method Summary
Modifier and Type Method Description static ScheduleGenerator.DaycountConvention
getEnum(String string)
static ScheduleGenerator.DaycountConvention
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScheduleGenerator.DaycountConvention[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-