Home
last modified time | relevance | path

Searched refs:nPeriods (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java491 private int nPeriods;
493 MultiUnitBuilder(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
495 this.nPeriods = nPeriods;
498 public static MultiUnitBuilder get(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
499 if (nPeriods > 0 && settings != null) {
500 return new MultiUnitBuilder(nPeriods, settings);
507 return MultiUnitBuilder.get(nPeriods, settingsToUse);
519 if (n == nPeriods) {
526 if (n < nPeriods) {
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java492 private int nPeriods;
494 MultiUnitBuilder(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
496 this.nPeriods = nPeriods;
499 public static MultiUnitBuilder get(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
500 if (nPeriods > 0 && settings != null) {
501 return new MultiUnitBuilder(nPeriods, settings);
508 return MultiUnitBuilder.get(nPeriods, settingsToUse);
520 if (n == nPeriods) {
527 if (n < nPeriods) {
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp2600 double nPeriods = ValueToDouble(pThis, argThree.get()); in Apr() local
2601 if (nPrincipal <= 0 || nPayment <= 0 || nPeriods <= 0) { in Apr()
2606 double r = 2 * (nPeriods * nPayment - nPrincipal) / (nPeriods * nPrincipal); in Apr()
2608 for (int32_t i = 0; i < nPeriods; ++i) in Apr()
2614 ((nTemp + r * nPeriods * (nTemp / (1 + r))) * (nTemp - 1) - in Apr()
2615 (r * nTemp * nPeriods * (nTemp / (1 + r)))) / in Apr()
2624 for (int32_t i = 0; i < nPeriods; ++i) { in Apr()
2825 float nPeriods = ValueToFloat(pThis, argThree.get()); in Pmt() local
2826 if ((nPrincipal <= 0) || (nRate <= 0) || (nPeriods <= 0)) { in Pmt()
2833 for (int32_t i = 0; i < nPeriods - 1; ++i) in Pmt()