| Constructor | Description |
|---|---|
Debt() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getLoanedDuration(java.time.LocalDateTime now) |
Retrieve the duration in full days since taking the loan.
|
long |
getTotalDuration() |
Retrieve the total duration of the loan in days.
|
getAmount, getCreditor, getDebitor, getDueDate, getInterestpublic long getLoanedDuration(java.time.LocalDateTime now)
IDebtgetLoanedDuration in interface IDebtnow - date per which the number of days are to be calculated.nowpublic long getTotalDuration()
IDebtgetTotalDuration in interface IDebtCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.