Home
last modified time | relevance | path

Searched refs:CompactDecimalFormat (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java18 import com.ibm.icu.text.CompactDecimalFormat;
19 import com.ibm.icu.text.CompactDecimalFormat.CompactStyle;
228 CompactDecimalFormat cdf = new CompactDecimalFormat( in checkCore()
246 CompactDecimalFormat cdf = in TestDefaultSignificantDigits()
247 CompactDecimalFormat.getInstance(ULocale.ENGLISH, CompactStyle.SHORT); in TestDefaultSignificantDigits()
254 CompactDecimalFormat cdf = in TestCharacterIterator()
271 CompactDecimalFormat.getInstance( in TestArabicLongStyle()
309 CompactDecimalFormat cdf = getCDFInstance( in TestFieldPosition()
320 CompactDecimalFormat cdf = CompactDecimalFormat.getInstance( in TestEquals()
322 CompactDecimalFormat equalsCdf = CompactDecimalFormat.getInstance( in TestEquals()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dcompactdecimalformat.h52 class U_I18N_API CompactDecimalFormat : public DecimalFormat {
62 static CompactDecimalFormat* U_EXPORT2 createInstance(
71 CompactDecimalFormat(const CompactDecimalFormat& source);
77 virtual ~CompactDecimalFormat();
85 CompactDecimalFormat& operator=(const CompactDecimalFormat& rhs);
320CompactDecimalFormat(const DecimalFormat &, const UHashtable* unitsByVariant, const double* diviso…
322 UBool eqHelper(const CompactDecimalFormat& that) const;
/external/icu/icu4c/source/i18n/
Dcompactdecimalformat.cpp163 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CompactDecimalFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
165 CompactDecimalFormat::CompactDecimalFormat( in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
173 CompactDecimalFormat::CompactDecimalFormat(const CompactDecimalFormat& source) in CompactDecimalFormat() function in CompactDecimalFormat
177 CompactDecimalFormat* U_EXPORT2
178 CompactDecimalFormat::createInstance( in createInstance()
192 CompactDecimalFormat* result = in createInstance()
193 … new CompactDecimalFormat(*decfmt, data->unitsByVariant, data->divisors, pluralRules.getAlias()); in createInstance()
205 CompactDecimalFormat&
206 CompactDecimalFormat::operator=(const CompactDecimalFormat& rhs) { in operator =()
217 CompactDecimalFormat::~CompactDecimalFormat() { in ~CompactDecimalFormat()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcompactdecimalformattest.cpp192 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
194CompactDecimalFormat* createCDFInstance(const Locale& locale, UNumberCompactStyle style, UErrorCod…
246 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition()
283 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestSignificantDigits()
299 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale()
312 … const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) { in CheckExpectedResult()
324 CompactDecimalFormat*
326 CompactDecimalFormat* result = CompactDecimalFormat::createInstance(locale, style, status); in createCDFInstance()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCompactDecimalFormat.java53 public class CompactDecimalFormat extends DecimalFormat { class
92 public static CompactDecimalFormat getInstance(ULocale locale, CompactStyle style) { in getInstance()
93 return new CompactDecimalFormat(locale, style); in getInstance()
104 public static CompactDecimalFormat getInstance(Locale locale, CompactStyle style) { in getInstance()
105 return new CompactDecimalFormat(ULocale.forLocale(locale), style); in getInstance()
116 CompactDecimalFormat(ULocale locale, CompactStyle style) { in CompactDecimalFormat() method in CompactDecimalFormat
162 public CompactDecimalFormat(String pattern, DecimalFormatSymbols formatSymbols, in CompactDecimalFormat() method in CompactDecimalFormat
206 CompactDecimalFormat other = (CompactDecimalFormat) obj; in equals()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java22 import com.ibm.icu.text.CompactDecimalFormat;
1725 return new CompactDecimalFormat[0]; in getTestObjects()