public enum PeriodCountBasis extends Enum<PeriodCountBasis>
Enum Constant and Description |
---|
ACT_360
Actual/360, known in the United States as money market basis, has a day
count fraction equal to the number of days between the payment dates,
divided by 360.
|
ACT_365
Actual/365(Fixed), known as bond basis in the United States, means that
the day count fraction is equal to the number of days between the last
payment date and the next date divided by 365.
|
ACT_ACT
Actual/Actual, means that the numerator is the number of days between the
two dates.
|
CONV_30_360
30/360, means that day count fractions are calculated assuming 30 day
months and 360 days in a year.
|
CONV_360E_ISDA
30E/360, means that day count fractions are calculated assuming 30 day
months and 360 days in a year.
|
CONV_360E_ISMA
30E+/360, means that day count fractions are calculated assuming 30 day
months and 360 days in a year.
|
Modifier and Type | Method and Description |
---|---|
static PeriodCountBasis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodCountBasis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodCountBasis CONV_30_360
public static final PeriodCountBasis CONV_360E_ISDA
public static final PeriodCountBasis CONV_360E_ISMA
public static final PeriodCountBasis ACT_ACT
public static final PeriodCountBasis ACT_360
public static final PeriodCountBasis ACT_365
public static PeriodCountBasis[] values()
for (PeriodCountBasis c : PeriodCountBasis.values()) System.out.println(c);
public static PeriodCountBasis 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 nullCopyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.