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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PERIOD_ANNUALY}{tr:id=name}{td}h6.PERIOD_ANNUALY{td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify an annual period.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=}{:=}{td}h6. | Table Cell (td) |
---|
PERIOD_BI_ANNUALLY |
|
| {td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a bi\-annual period (twice every year).{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=}{:=}{td}h6. | Table Cell (td) |
---|
PERIOD_BI_MONTHLY |
|
| {td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a bi\-monthly period (twice every month).
TODO: this period is not supported yet.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PERIOD_DAILY}{tr:id=name}{td}h6.PERIOD_DAILY{td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a daily period.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=}{:=}{td}h6. | Table Cell (td) |
---|
PERIOD_FOUR_MONTHLY |
|
| {td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a four\-monthly period (once every four months).{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=}{:=}{td}h6. | Table Cell (td) |
---|
PERIOD_FOUR_WEEKLY |
|
| {td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a four\-weekly period (once every four weeks).{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PERIOD_MONTHLY}{tr:id=name}{td}h6.PERIOD_MONTHLY{td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a monthly period.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PERIOD_NONE}{tr:id=name}{td}h6.PERIOD_NONE{td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify that there is no period.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PERIOD_QUARTERLY}{tr:id=name}{td}h6.PERIOD_QUARTERLY{td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a quarterly period (once every three months).{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=}{:=}{td}h6. | Table Cell (td) |
---|
PERIOD_TWO_MONTHLY |
|
| {td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a two\-monthly period (once every two months).{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=}{:=}{td}h6. | Table Cell (td) |
---|
PERIOD_TWO_WEEKLY |
|
| {td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a two\-weekly period (once every two weeks).{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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);
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PERIOD_WEEKLY}{tr:id=name}{td}h6.PERIOD_WEEKLY{td}{tr}{tr:id=des}{td}{div:class=sIndent}The numeric constant used to identify a weekly period.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=STARTDAY_NORMAL}{tr:id=name}{td}h6.STARTDAY_NORMAL{td}{tr}{tr:id=des}{td}{div:class=sIndent}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.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
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); |
|
|
|
|
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\
{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=addCompoundPeriodChange-Number_Date}{tr:id=name}{td}h6.addCompoundPeriodChange{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Boolean]{span}{span:style=font-weight: bold;}addCompoundPeriodChange{span}{span}\(newPeriod, date){span}{td}{tr}{tr:id=des}{td}{div:class=sIndent}Adds a compound period change.{div}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} newPeriod
\{[Date]} date
{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
|