public class DayCountConvention_ACT_360 extends DayCountConvention_ACT implements DayCountConventionInterface
getDaycountFraction corresponds to the implementation of the "ACT/360 method" of Excel function YEARFRAC, i.e., YEARFRAC(startDate,endDate,2).
| Constructor and Description |
|---|
DayCountConvention_ACT_360()
Create an ACT/360 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, getDaycountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDaycountpublic DayCountConvention_ACT_360()
public double getDaycountFraction(java.time.LocalDate startDate,
java.time.LocalDate endDate)
DayCountConventionInterfacegetDaycountFraction in interface DayCountConventionInterfacestartDate - The start date given as a LocalDate.endDate - The end date given as a LocalDate.Copyright © 2017. All rights reserved.