Interface IDayCountConvention

  • All Known Implementing Classes:
    SimpleDayCount

    public interface IDayCountConvention
    Interface used for calculating day counts.
    • Method Detail

      • dayCount

        long dayCount​(LocalDate start,
                      LocalDate end)
        Given two dates, calculates the number of days between them.
        Parameters:
        start - The start date.
        end - The end date.
        Returns:
        a long representing a number of days.