| Package | Description | 
|---|---|
| net.objectlab.kit.datecalc.common | 
 This package provides functionalities that are used by both JDK and Joda implementation,
it is not released alone but included in the datecalc-jdk, datecalc-jdk8 or datecalc-joda JARs. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static PeriodCountBasis | 
PeriodCountBasis.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static PeriodCountBasis[] | 
PeriodCountBasis.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
PeriodCountCalculator.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 | 
PeriodCountCalculator.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 | 
PeriodCountCalculator.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. 
 | 
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.