Class DayCountBasis
java.lang.Object
com.independentsoft.calc.functions.DayCountBasis
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddMonths(int year, int month, int day, int months, boolean endOfMonth, boolean date1904, OutDouble serial)static booleancoupDates(double settlement, double maturity, int frequency, boolean date1904, OutDouble pcd, OutDouble ncd, OutInt couponsRemaining)static doublecoupPeriodDays(double pcd, double ncd, int frequency, int basis)static doubledays360Nasd(int y1, int m1, int d1, int y2, int m2, int d2)static doubledaysBetween(double s1, double s2, int basis, boolean date1904)static CalcValue
-
Method Details
-
yearFrac
-
days360Nasd
public static double days360Nasd(int y1, int m1, int d1, int y2, int m2, int d2) -
coupDates
-
addMonths
public static boolean addMonths(int year, int month, int day, int months, boolean endOfMonth, boolean date1904, OutDouble serial) -
coupPeriodDays
public static double coupPeriodDays(double pcd, double ncd, int frequency, int basis) -
daysBetween
public static double daysBetween(double s1, double s2, int basis, boolean date1904)
-