net.objectlab.kit.datecalc.jdk
Class CalendarPeriodCountCalculator
java.lang.Object
net.objectlab.kit.datecalc.jdk.CalendarPeriodCountCalculator
- All Implemented Interfaces:
- PeriodCountCalculator<Calendar>
public class CalendarPeriodCountCalculator
- extends Object
- implements PeriodCountCalculator<Calendar>
Jdk Calendar based implementation of the
PeriodCountCalculator.
- Version:
- $Revision: 300 $ $Date: 2010-03-18 16:09:14 -0400 (Thu, 18 Mar 2010) $
- Author:
- Marcin Jekot, $LastChangedBy: benoitx $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarPeriodCountCalculator
public CalendarPeriodCountCalculator()
dayDiff
public int dayDiff(Calendar start,
Calendar end,
PeriodCountBasis basis)
- Specified by:
dayDiff in interface PeriodCountCalculator<Calendar>
monthDiff
public double monthDiff(Calendar start,
Calendar end,
PeriodCountBasis basis)
- Specified by:
monthDiff in interface PeriodCountCalculator<Calendar>
yearDiff
public double yearDiff(Calendar start,
Calendar end,
PeriodCountBasis basis)
- Specified by:
yearDiff in interface PeriodCountCalculator<Calendar>
Copyright © 2006-2010 Appendium - Portfolio Financing Platform. All Rights Reserved.