|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of PeriodCountBasis in net.objectlab.kit.datecalc.common |
|---|
| Methods in net.objectlab.kit.datecalc.common that return PeriodCountBasis | |
|---|---|
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. |
| Methods in net.objectlab.kit.datecalc.common with parameters of type PeriodCountBasis | |
|---|---|
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. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||