public class DayCountConvention_NL_365 extends Object implements DayCountConvention, Serializable
| Constructor and Description |
|---|
DayCountConvention_NL_365()
Create an NL/365 day count convention.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDaycount(LocalDate startDate,
LocalDate endDate)
Return the number of days between startDate and endDate given the
specific daycount convention.
|
double |
getDaycountFraction(LocalDate startDate,
LocalDate endDate)
Return the daycount fraction corresponding to the period from startDate to endDate given the
specific daycount convention.
|
public DayCountConvention_NL_365()
public double getDaycount(LocalDate startDate, LocalDate endDate)
DayCountConventiongetDaycount in interface DayCountConventionstartDate - The start date given as a LocalDate.endDate - The end date given as a LocalDate.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.