public interface DayCountConvention
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(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.
|
double getDaycount(LocalDate startDate, LocalDate endDate)
Copyright © 2019. All rights reserved.