com.mbc.jfin.daycount
Enum DaycountConvention
- java.lang.Object
-
- java.lang.Enum<DaycountConvention>
-
- com.mbc.jfin.daycount.DaycountConvention
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DaycountConvention>
public enum DaycountConvention extends java.lang.Enum<DaycountConvention>
Created by IntelliJ IDEA. User: dmb Date: 25/04/2011 Time: 16:45
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description ACTUAL_360ACTUAL_365_FIXEDACTUAL_366AFB_ACTUAL_ACTUALBUSINESS_252EU_30_360ISDA_ACTUAL_ACTUALISMA_ACTUAL_ACTUALIT_30_360US_30_360
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static DaycountConventionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DaycountConvention[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTUAL_360
public static final DaycountConvention ACTUAL_360
-
ACTUAL_365_FIXED
public static final DaycountConvention ACTUAL_365_FIXED
-
ACTUAL_366
public static final DaycountConvention ACTUAL_366
-
AFB_ACTUAL_ACTUAL
public static final DaycountConvention AFB_ACTUAL_ACTUAL
-
BUSINESS_252
public static final DaycountConvention BUSINESS_252
-
EU_30_360
public static final DaycountConvention EU_30_360
-
ISDA_ACTUAL_ACTUAL
public static final DaycountConvention ISDA_ACTUAL_ACTUAL
-
ISMA_ACTUAL_ACTUAL
public static final DaycountConvention ISMA_ACTUAL_ACTUAL
-
IT_30_360
public static final DaycountConvention IT_30_360
-
US_30_360
public static final DaycountConvention US_30_360
-
-
Method Detail
-
values
public static DaycountConvention[] 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 (DaycountConvention c : DaycountConvention.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DaycountConvention valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-
DataMelt 3.0 © DataMelt by jWork.ORG