net.objectlab.kit.datecalc.joda
Class LocalDatePeriodCountCalculator
java.lang.Object
net.objectlab.kit.datecalc.joda.LocalDatePeriodCountCalculator
- All Implemented Interfaces:
- PeriodCountCalculator<LocalDate>
public class LocalDatePeriodCountCalculator
- extends Object
- implements PeriodCountCalculator<LocalDate>
Joda LocalDatePeriod based implementation of the
PeriodCountCalculator.
- Version:
- $Revision: 306 $ $Date: 2010-03-19 15:42:44 -0400 (Fri, 19 Mar 2010) $
- Author:
- Benoit Xhenseval, $LastChangedBy: marchy $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalDatePeriodCountCalculator
public LocalDatePeriodCountCalculator()
dayDiff
public int dayDiff(LocalDate start,
LocalDate end,
PeriodCountBasis basis)
- Specified by:
dayDiff in interface PeriodCountCalculator<LocalDate>
monthDiff
public double monthDiff(LocalDate start,
LocalDate end,
PeriodCountBasis basis)
- Specified by:
monthDiff in interface PeriodCountCalculator<LocalDate>
yearDiff
public double yearDiff(LocalDate start,
LocalDate end,
PeriodCountBasis basis)
- Specified by:
yearDiff in interface PeriodCountCalculator<LocalDate>
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.