public class DayCountConvention_ACT_365 extends DayCountConvention_ACT
getDaycountFraction corresponds to the implementation of the "ACT/365 method" of Excel function YEARFRAC, i.e., YEARFRAC(startDate,endDate,3).
| Constructor and Description |
|---|
DayCountConvention_ACT_365()
Create an ACT/365 day count convention.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDaycountFraction(java.time.LocalDate startDate,
java.time.LocalDate endDate)
Return the daycount fraction corresponding to the period from startDate to endDate given the
specific daycount convention.
|
daysBetween, getDaycountpublic DayCountConvention_ACT_365()
public double getDaycountFraction(java.time.LocalDate startDate,
java.time.LocalDate endDate)
DayCountConventionInterfacestartDate - The start date given as a LocalDate.endDate - The end date given as a LocalDate.Copyright © 2017. All rights reserved.