E - a representation of a date, typically JDK: Date, Calendar;
            Joda:LocalDate, YearMonthDaypublic interface PeriodCountCalculator<E>
| Modifier and Type | Method and Description | 
|---|---|
| int | dayDiff(E start,
       E end,
       PeriodCountBasis basis)This calculates the number of days between 2 dates, it follows the given
 basis which means that the result could vary between the same 2 dates if
 the basis is different. | 
| double | monthDiff(E start,
         E end,
         PeriodCountBasis basis)This calculates the number of months (or fraction) between 2 dates, it
 follows the given basis which means that the result could vary between
 the same 2 dates if the basis is different. | 
| double | yearDiff(E start,
        E end,
        PeriodCountBasis basis)This calculates the number of years (or fraction) between 2 dates, it
 follows the given basis which means that the result could vary between
 the same 2 dates if the basis is different. | 
int dayDiff(E start, E end, PeriodCountBasis basis)
start - the start dateend - the end datebasis - the basis to usedouble monthDiff(E start, E end, PeriodCountBasis basis)
start - the start dateend - the end datebasis - the basis to usedouble yearDiff(E start, E end, PeriodCountBasis basis)
start - the start dateend - the end datebasis - the basis to useCopyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.