public interface DayCountConventionInterface
getDaycount(LocalDate, LocalDate) and getDaycountFraction(LocalDate, LocalDate).
Classes implementing these methods then provide day counting and day count fractions for
a given interval.| Modifier and Type | Method and Description |
|---|---|
double |
getDaycount(java.time.LocalDate startDate,
java.time.LocalDate endDate)
Return the number of days between startDate and endDate given the
specific daycount convention.
|
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.
|
double getDaycount(java.time.LocalDate startDate,
java.time.LocalDate endDate)
startDate - The start date given as a LocalDate.endDate - The end date given as a LocalDate.double getDaycountFraction(java.time.LocalDate startDate,
java.time.LocalDate endDate)
startDate - The start date given as a LocalDate.endDate - The end date given as a LocalDate.Copyright © 2017. All rights reserved.