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

1 2 3

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
RbnfRoundTripTest.java 13 import android.icu.text.RuleBasedNumberFormat;
36 RuleBasedNumberFormat formatter
37 = new RuleBasedNumberFormat(Locale.US,
38 RuleBasedNumberFormat.SPELLOUT);
47 RuleBasedNumberFormat formatter
48 = new RuleBasedNumberFormat(Locale.US,
49 RuleBasedNumberFormat.DURATION);
58 RuleBasedNumberFormat formatter
59 = new RuleBasedNumberFormat(new Locale("es", "es",
60 ""), RuleBasedNumberFormat.SPELLOUT)
    [all...]
RbnfTest.java 21 import android.icu.text.RuleBasedNumberFormat;
124 RuleBasedNumberFormat fmt0 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT);
125 RuleBasedNumberFormat fmt1 = (RuleBasedNumberFormat)fmt0.clone();
126 RuleBasedNumberFormat fmt2 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT);
139 RuleBasedNumberFormat fmt3 = new RuleBasedNumberFormat(durationInSecondsRules)
    [all...]
RbnfLenientScannerTest.java 18 import android.icu.text.RuleBasedNumberFormat;
43 RuleBasedNumberFormat formatter
44 = new RuleBasedNumberFormat(Locale.US,
45 RuleBasedNumberFormat.SPELLOUT);
63 RuleBasedNumberFormat formatter
64 = new RuleBasedNumberFormat(Locale.US,
65 RuleBasedNumberFormat.SPELLOUT);
90 RuleBasedNumberFormat formatter
91 = new RuleBasedNumberFormat(Locale.US,
92 RuleBasedNumberFormat.DURATION)
    [all...]
RBNFParseTest.java 13 import android.icu.text.RuleBasedNumberFormat;
87 RuleBasedNumberFormat fmt = new RuleBasedNumberFormat(tests[i], Locale.US);
107 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) {
117 private void parseList(RuleBasedNumberFormat rbnf_en, RuleBasedNumberFormat rbnf_fr, String[][] lists) {
130 RuleBasedNumberFormat rbnf_en, rbnf_fr;
134 rbnf_en = new RuleBasedNumberFormat(Locale.ENGLISH, RuleBasedNumberFormat.SPELLOUT);
136 rbnf_fr = new RuleBasedNumberFormat(Locale.FRENCH, RuleBasedNumberFormat.SPELLOUT)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
RbnfRoundTripTest.java 12 import com.ibm.icu.text.RuleBasedNumberFormat;
32 RuleBasedNumberFormat formatter
33 = new RuleBasedNumberFormat(Locale.US,
34 RuleBasedNumberFormat.SPELLOUT);
43 RuleBasedNumberFormat formatter
44 = new RuleBasedNumberFormat(Locale.US,
45 RuleBasedNumberFormat.DURATION);
54 RuleBasedNumberFormat formatter
55 = new RuleBasedNumberFormat(new Locale("es", "es",
56 ""), RuleBasedNumberFormat.SPELLOUT)
    [all...]
RbnfTest.java 20 import com.ibm.icu.text.RuleBasedNumberFormat;
120 RuleBasedNumberFormat fmt0 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT);
121 RuleBasedNumberFormat fmt1 = (RuleBasedNumberFormat)fmt0.clone();
122 RuleBasedNumberFormat fmt2 = new RuleBasedNumberFormat(RuleBasedNumberFormat.SPELLOUT);
135 RuleBasedNumberFormat fmt3 = new RuleBasedNumberFormat(durationInSecondsRules)
    [all...]
RBNFParseTest.java 12 import com.ibm.icu.text.RuleBasedNumberFormat;
83 RuleBasedNumberFormat fmt = new RuleBasedNumberFormat(tests[i], Locale.US);
103 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) {
113 private void parseList(RuleBasedNumberFormat rbnf_en, RuleBasedNumberFormat rbnf_fr, String[][] lists) {
126 RuleBasedNumberFormat rbnf_en, rbnf_fr;
130 rbnf_en = new RuleBasedNumberFormat(Locale.ENGLISH, RuleBasedNumberFormat.SPELLOUT);
132 rbnf_fr = new RuleBasedNumberFormat(Locale.FRENCH, RuleBasedNumberFormat.SPELLOUT)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
RBNFPostProcessor.java 21 void init(RuleBasedNumberFormat formatter, String rules);
RuleBasedNumberFormat.java 45 * &quot;2:03&quot;).&nbsp; The client can also define more specialized <tt>RuleBasedNumberFormat</tt>s
48 * <p>The behavior of a <tt>RuleBasedNumberFormat</tt> is specified by a textual description
188 * <p>The description of a <tt>RuleBasedNumberFormat</tt>'s behavior consists of one or more <em>rule
538 public class RuleBasedNumberFormat extends NumberFormat {
    [all...]
  /external/icu/icu4c/source/test/intltest/
itrbnfp.h 31 void testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status);
32 void testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status);
itrbnfrt.cpp 64 RuleBasedNumberFormat* formatter
65 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status);
82 RuleBasedNumberFormat* formatter
83 = new RuleBasedNumberFormat(URBNF_DURATION, Locale::getUS(), status);
100 RuleBasedNumberFormat* formatter
101 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("es", "es"), status);
118 RuleBasedNumberFormat* formatter
119 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getFrance(), status);
136 RuleBasedNumberFormat* formatter
137 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale("fr", "CH"), status)
    [all...]
itrbnf.h 148 virtual void doTest(RuleBasedNumberFormat* formatter, const char* const testData[][2], UBool testParsing);
149 virtual void doLenientParseTest(RuleBasedNumberFormat* formatter, const char* testData[][2]);
itrbnfrt.h 85 void doTest(const RuleBasedNumberFormat* formatter, double lowLimit, double highLimit);
itrbnfp.cpp 125 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(rule, Locale::getUS(), perr, status);
146 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, double val, UErrorCode& status) {
159 IntlTestRBNFParse::testfmt(RuleBasedNumberFormat* formatter, int val, UErrorCode& status) {
itrbnf.cpp 27 // import com.ibm.text.RuleBasedNumberFormat;
46 if (exec) logln("TestSuite RuleBasedNumberFormat");
106 RuleBasedNumberFormat* formatter = new RuleBasedNumberFormat(URBNF_SPELLOUT, "he_IL", status);
108 errcheckln(status, "Failed in constructing RuleBasedNumberFormat - %s", u_errorName(status));
150 RuleBasedNumberFormat* formatter
151 = new RuleBasedNumberFormat(URBNF_SPELLOUT, Locale::getUS(), status);
162 RuleBasedNumberFormat* rbnfClone = (RuleBasedNumberFormat *)formatter->clone();
176 RuleBasedNumberFormat assignResult(URBNF_SPELLOUT, Locale("es", "ES", ""), status)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
RBNFPostProcessor.java 20 void init(RuleBasedNumberFormat formatter, String rules);
RuleBasedNumberFormat.java 44 * &quot;2:03&quot;).&nbsp; The client can also define more specialized <tt>RuleBasedNumberFormat</tt>s
47 * <p>The behavior of a <tt>RuleBasedNumberFormat</tt> is specified by a textual description
187 * <p>The description of a <tt>RuleBasedNumberFormat</tt>'s behavior consists of one or more <em>rule
537 public class RuleBasedNumberFormat extends NumberFormat {
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
RbnfLenientScannerTest.java 17 import com.ibm.icu.text.RuleBasedNumberFormat;
39 RuleBasedNumberFormat formatter
40 = new RuleBasedNumberFormat(Locale.US,
41 RuleBasedNumberFormat.SPELLOUT);
59 RuleBasedNumberFormat formatter
60 = new RuleBasedNumberFormat(Locale.US,
61 RuleBasedNumberFormat.SPELLOUT);
86 RuleBasedNumberFormat formatter
87 = new RuleBasedNumberFormat(Locale.US,
88 RuleBasedNumberFormat.DURATION)
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
rbnf.h 61 * The RuleBasedNumberFormat class formats numbers according to a set of rules. This number formatter is
73 * &quot;2:03&quot;).&nbsp; The client can also define more specialized <tt>RuleBasedNumberFormat</tt>s
76 * <p>The behavior of a <tt>RuleBasedNumberFormat</tt> is specified by a textual description
210 * <p>The description of a <tt>RuleBasedNumberFormat</tt>'s behavior consists of one or more <em>rule
553 class U_I18N_API RuleBasedNumberFormat : public NumberFormat {
561 * Creates a RuleBasedNumberFormat that behaves according to the description
570 RuleBasedNumberFormat(const UnicodeString& rules, UParseError& perror, UErrorCode& status);
573 * Creates a RuleBasedNumberFormat that behaves according to the description
595 RuleBasedNumberFormat(const UnicodeString& rules, const UnicodeString& localizations,
599 * Creates a RuleBasedNumberFormat that behaves according to the rule
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
ElapsedTimer.java 15 import android.icu.text.RuleBasedNumberFormat;
91 gFormat = new RuleBasedNumberFormat(Locale.US,
92 RuleBasedNumberFormat.DURATION);
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
ElapsedTimer.java 14 import com.ibm.icu.text.RuleBasedNumberFormat;
90 gFormat = new RuleBasedNumberFormat(Locale.US,
91 RuleBasedNumberFormat.DURATION);
  /external/icu/icu4c/source/i18n/
rbnf.cpp 67 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedNumberFormat)
654 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
678 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
702 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
725 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
748 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
    [all...]
nfrs.h 33 NFRuleSet(RuleBasedNumberFormat *owner, UnicodeString* descriptions, int32_t index, UErrorCode& status);
62 const RuleBasedNumberFormat *getOwner() const { return owner; }
74 RuleBasedNumberFormat *owner;
nfrule.h 29 class RuleBasedNumberFormat;
49 const RuleBasedNumberFormat* rbnf,
53 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
112 const RuleBasedNumberFormat* formatter;
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
RbnfDemo.java 46 import com.ibm.icu.text.RuleBasedNumberFormat;
85 spelloutFormatter = new RuleBasedNumberFormat(RbnfSampleRuleSets.usEnglish, Locale.US);
181 RuleBasedNumberFormat temp = new RuleBasedNumberFormat(fieldText);
207 RuleBasedNumberFormat temp = new RuleBasedNumberFormat(fieldText);
399 spelloutFormatter = new RuleBasedNumberFormat(customRuleSet);
408 spelloutFormatter = new RuleBasedNumberFormat(RbnfSampleRuleSets.
439 private RuleBasedNumberFormat spelloutFormatter;

Completed in 673 milliseconds

1 2 3