HomeSort by relevance Sort by last modified time
    Searched refs:PluralFormat (Results 1 - 25 of 37) sorted by null

1 2

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
PluralFormatUnitTest.java 29 import android.icu.text.PluralFormat;
43 PluralFormat plFmts[] = new PluralFormat[10];
44 plFmts[0] = new PluralFormat();
46 plFmts[1] = new PluralFormat(PluralRules.DEFAULT);
48 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}");
49 plFmts[3] = new PluralFormat("other{#}");
50 plFmts[4] = new PluralFormat(ULocale.getDefault());
52 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT);
54 plFmts[6] = new PluralFormat(ULocale.getDefault()
    [all...]
PluralFormatTest.java 20 import android.icu.text.PluralFormat;
53 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralFormatUnitTest.java 28 import com.ibm.icu.text.PluralFormat;
42 PluralFormat plFmts[] = new PluralFormat[10];
43 plFmts[0] = new PluralFormat();
45 plFmts[1] = new PluralFormat(PluralRules.DEFAULT);
47 plFmts[2] = new PluralFormat(PluralRules.DEFAULT, "other{#}");
48 plFmts[3] = new PluralFormat("other{#}");
49 plFmts[4] = new PluralFormat(ULocale.getDefault());
51 plFmts[5] = new PluralFormat(ULocale.getDefault(), PluralRules.DEFAULT);
53 plFmts[6] = new PluralFormat(ULocale.getDefault()
    [all...]
PluralFormatTest.java 19 import com.ibm.icu.text.PluralFormat;
52 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern);
  /external/icu/icu4c/source/i18n/unicode/
plurfmt.h 21 * \brief C++ API: PluralFormat object
37 * <code>PluralFormat</code> supports the creation of internationalized
41 * <code>PluralFormat</code> selects the appropriate message based on
58 * <code>PluralFormat</code> deals with this by breaking the problem
74 * <h4>Usage of <code>PluralFormat</code></h4>
77 * rather than using a stand-alone <code>PluralFormat</code>.
79 * This discussion assumes that you use <code>PluralFormat</code> with
122 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
132 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
134 * <code>PluralFormat</code>'s constructor. If you also specify a locale in thi
    [all...]
rbnf.h 46 class PluralFormat;
478 * This uses the cardinal plural rules from PluralFormat. All strings used in the plural format are treated
487 * This uses the ordinal plural rules from PluralFormat. All strings used in the plural format are treated
557 * @see PluralFormat
    [all...]
msgfmt.h 119 * pluralStyle: see {@link PluralFormat}
314 * See {@link PluralFormat} and {@link PluralRules} for details.
    [all...]
  /external/icu/icu4c/source/i18n/
plurfmt.cpp 35 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
37 PluralFormat::PluralFormat(UErrorCode& status)
45 PluralFormat::PluralFormat(const Locale& loc, UErrorCode& status)
53 PluralFormat::PluralFormat(const PluralRules& rules, UErrorCode& status)
61 PluralFormat::PluralFormat(const Locale& loc,
71 PluralFormat::PluralFormat(const Locale& loc
    [all...]
nfrule.h 30 class PluralFormat;
115 const PluralFormat* rulePatternFormat;
  /external/icu/android_icu4j/src/samples/java/android/icu/samples/text/pluralformat/
PluralFormatSample.java 10 package android.icu.samples.text.pluralformat;
15 import android.icu.text.PluralFormat;
30 System.out.println(" Use PluralFormat and Messageformat to get appropriate Plural Form for languages below:");
40 // Create a new PluralFormat for a given locale locale and pattern string
41 PluralFormat plfmtEn = new PluralFormat(locEn, patEn);
42 PluralFormat plfmtSl = new PluralFormat(locSl, patSl);
48 System.out.println("Output by using PluralFormat and MessageFormat API\n");
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/text/pluralformat/
PluralFormatSample.java 9 package com.ibm.icu.samples.text.pluralformat;
14 import com.ibm.icu.text.PluralFormat;
29 System.out.println(" Use PluralFormat and Messageformat to get appropriate Plural Form for languages below:");
39 // Create a new PluralFormat for a given locale locale and pattern string
40 PluralFormat plfmtEn = new PluralFormat(locEn, patEn);
41 PluralFormat plfmtSl = new PluralFormat(locSl, patSl);
47 System.out.println("Output by using PluralFormat and MessageFormat API\n");
  /external/icu/icu4c/source/samples/plurfmtsample/
plurfmtsample.cpp 24 u_printf(" Use PluralFormat and Messageformat to get Plural Form for languages below:\n");
36 // Create a new PluralFormat for a given locale locale and pattern string
37 PluralFormat plfmtEn = PluralFormat(locEn, patEn,status);
38 PluralFormat plfmtSl = PluralFormat(locSl, patSl,status);
44 u_printf("Output by using PluralFormat and MessageFormat API\n");
  /external/icu/android_icu4j/src/main/java/android/icu/text/
PluralFormat.java 27 * <code>PluralFormat</code> supports the creation of internationalized
31 * <code>PluralFormat</code> selects the appropriate message based on
48 * <code>PluralFormat</code> deals with this by breaking the problem
64 * <h4>Usage of <code>PluralFormat</code></h4>
67 * rather than using a stand-alone <code>PluralFormat</code>.
69 * This discussion assumes that you use <code>PluralFormat</code> with
111 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
121 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
123 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this
132 public class PluralFormat extends UFormat
    [all...]
NFRule.java 99 private PluralFormat rulePatternFormat = null;
    [all...]
RuleBasedNumberFormat.java 478 * This uses the cardinal plural rules from PluralFormat. All strings used in the plural format are treated
487 * This uses the ordinal plural rules from PluralFormat. All strings used in the plural format are treated
537 * @see PluralFormat
    [all...]
MessageFormat.java 118 * pluralStyle: see {@link PluralFormat}
316 * See {@link PluralFormat} and {@link PluralRules} for details.
330 * @see PluralFormat
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
PluralFormat.java 26 * <code>PluralFormat</code> supports the creation of internationalized
30 * <code>PluralFormat</code> selects the appropriate message based on
47 * <code>PluralFormat</code> deals with this by breaking the problem
63 * <h4>Usage of <code>PluralFormat</code></h4>
66 * rather than using a stand-alone <code>PluralFormat</code>.
68 * This discussion assumes that you use <code>PluralFormat</code> with
110 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
120 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
122 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this
132 public class PluralFormat extends UFormat
    [all...]
NFRule.java 98 private PluralFormat rulePatternFormat = null;
    [all...]
RuleBasedNumberFormat.java 477 * This uses the cardinal plural rules from PluralFormat. All strings used in the plural format are treated
486 * This uses the ordinal plural rules from PluralFormat. All strings used in the plural format are treated
536 * @see PluralFormat
    [all...]
  /external/icu/icu4c/source/test/intltest/
plurfmts.h 38 void numberFormatTest(PluralFormat* plFmt,
plurfmts.cpp 37 if (exec) logln("TestSuite PluralFormat");
50 * Test various generic API methods of PluralFormat for Basic usage.
55 PluralFormat* plFmt[8];
58 UnicodeString message=UnicodeString("ERROR: PluralFormat basic test");
61 logln(" Testing PluralFormat constructors ...");
74 plFmt[0] = new PluralFormat(status[0]);
75 plFmt[1] = new PluralFormat(*plRules, status[1]);
76 plFmt[2] = new PluralFormat(locale, status[2]);
77 plFmt[3] = new PluralFormat(locale, *plRules, status[3]);
78 plFmt[4] = new PluralFormat(otherPattern, status[4])
    [all...]
uobjtest.cpp 364 TESTCLASSID_CTOR(PluralFormat, (status));
  /external/messageformat/java/com/ibm/icu/simple/
PluralFormat.java 23 * <code>PluralFormat</code> supports the creation of internationalized
27 * <code>PluralFormat</code> selects the appropriate message based on
44 * <code>PluralFormat</code> deals with this by breaking the problem
60 * <h4>Usage of <code>PluralFormat</code></h4>
63 * rather than using a stand-alone <code>PluralFormat</code>.
65 * This discussion assumes that you use <code>PluralFormat</code> with
108 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
118 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
120 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this
131 public class PluralFormat /* extends UFormat */
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
FormatHandler.java 36 import android.icu.text.PluralFormat;
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
FormatHandler.java 35 import com.ibm.icu.text.PluralFormat;
    [all...]

Completed in 824 milliseconds

1 2