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(Calendar startDate,
Calendar endDate)
Return the daycount fraction corresponding to the period from startDate to endDate given the
specific daycount convention.
|
daysBetween, getDaycount
public DayCountConvention_ACT_365()
public double getDaycountFraction(Calendar startDate, Calendar endDate)
DayCountConventionInterface
Copyright © 2015. All rights reserved.