Skip to content

heemin32/AccountL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AccountL

Java library for interest calculation of saving

Usage

// Create FixedDeposit instance
FixedDeposit fd = new FixedDeposit();
fd.setStartDate(new DateTime());
fd.setMonths(12);
fd.setInterestRate(0.027);
fd.setTaxRate(0.154);
fd.setSeedMoney(10000000L);

// Get money and interest after given months
fd.moneyAtTheLastMonth();
fd.interestAtTheLastMonth();
// Create RecurringDeposit instance
RecurringDeposit rd = new RecurringDeposit();
rd.setStartDate(new DateTime());
rd.setMonths(12);
rd.setInterestRate(0.032);
rd.setTaxRate(0.154);
rd.setSeedMoney(100000L);

// Get money and interest after given months
fd.moneyAtTheLastMonth();
fd.interestAtTheLastMonth();

About

Java library for interest calculation of saving

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages