- All Known Implementing Classes:
public interface DayCountConventionInterface for various day count conventions. Classes implementing this interface have to implement the methods
getDaycountFraction(LocalDate, LocalDate). Classes implementing these methods then provide day counting and day count fractions for a given interval.
- Christian Fries
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
getDaycount(LocalDate startDate, LocalDate endDate)Return the number of days between startDate and endDate given the specific daycount convention.
getDaycountFraction(LocalDate startDate, LocalDate endDate)Return the daycount fraction corresponding to the period from startDate to endDate given the specific daycount convention.
getDaycountReturn the number of days between startDate and endDate given the specific daycount convention.