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