Documentation of 'net.finmath.time.daycount.DayCountConventionInterface' Java class
DayCountConventionInterface
net.finmath.time.daycount

Interface DayCountConventionInterface

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      double getDaycount(java.util.Calendar startDate, java.util.Calendar endDate)
      Return the number of days between startDate and endDate given the specific daycount convention.
      double getDaycountFraction(java.util.Calendar startDate, java.util.Calendar endDate)
      Return the daycount fraction corresponding to the period from startDate to endDate given the specific daycount convention.
    • Method Detail

      • getDaycount

        double getDaycount(java.util.Calendar startDate,
                           java.util.Calendar endDate)
        Return the number of days between startDate and endDate given the specific daycount convention.
        Parameters:
        startDate - The start date given as a Calendar.
        endDate - The end date given as a Calendar.
        Returns:
        The number of days within the given period.
      • getDaycountFraction

        double getDaycountFraction(java.util.Calendar startDate,
                                   java.util.Calendar endDate)
        Return the daycount fraction corresponding to the period from startDate to endDate given the specific daycount convention.
        Parameters:
        startDate - The start date given as a Calendar.
        endDate - The end date given as a Calendar.
        Returns:
        The daycount fraction corresponding to the given period.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.