public interface DayCountConventionInterface
getDaycount(Calendar, Calendar) and getDaycountFraction(Calendar, Calendar).
Classes implementing these methods then provide day counting and day count fractions for
a given interval on a GregorianCalendar.| Modifier and Type | Method and Description |
|---|---|
double |
getDaycount(Calendar startDate,
Calendar endDate)
Return the number of days between startDate and endDate given the
specific daycount convention.
|
double |
getDaycountFraction(Calendar startDate,
Calendar endDate)
Return the daycount fraction corresponding to the period from startDate to endDate given the
specific daycount convention.
|
double getDaycount(Calendar startDate, Calendar endDate)
Copyright © 2015. All rights reserved.