public class DayCountConvention_ACT_360 extends DayCountConvention_ACT implements DayCountConvention, Serializable
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(LocalDate startDate,
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(LocalDate startDate, LocalDate endDate)
DayCountConventiongetDaycountFraction in interface DayCountConventionstartDate - The start date given as a LocalDate.endDate - The end date given as a LocalDate.Copyright © 2019. All rights reserved.