Table Head (thead) |
---|
Table Row (tr) |
---|
| Table Head (th) |
---|
| Constants Details |
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
NUMBER_UNLIMITED |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify an unlimited number of repeated events. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_ANNUALY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify an annual period. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_BI_ANNUALLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a bi-annual period (twice every year). |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_BI_MONTHLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a bi-monthly period (twice every month). TODO: this period is not supported yet. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_DAILY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a daily period. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_FOUR_MONTHLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a four-monthly period (once every four months). |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_FOUR_WEEKLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a four-weekly period (once every four weeks). |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_MONTHLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a monthly period. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_NONE |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify that there is no period. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_QUARTERLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a quarterly period (once every three months). |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_TWO_MONTHLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a two-monthly period (once every two months). |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_TWO_WEEKLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a two-weekly period (once every two weeks). |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
PERIOD_WEEKLY |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify a weekly period. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
Table Body (tbody) |
---|
| Table Row (tr) |
---|
| Table Cell (td) |
---|
STARTDAY_NORMAL |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Div |
---|
| The numeric constant used to identify that the same start day should be used as the day of the month of the starting date of the event. |
|
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample Div |
---|
| Code Block |
---|
| var c = plugins.amortization.newCalculation();
c.addPayment(500, new Date(2005, 1, 28), null,
plugins.amortization.AmortizationCalculation.PERIOD_DAILY, 5,
plugins.amortization.AmortizationCalculation.STARTDAY_NORMAL);
var c2 = plugins.amortization.newCalculation();
c2.addPayment(300, new Date(2006, 11, 24), new Date(2006, 12, 24),
plugins.amortization.AmortizationCalculation.PERIOD_BI_MONTHLY,
plugins.amortization.AmortizationCalculation.NUMBER_UNLIMITED, 30); |
|
|
|
|
|