Home
last modified time | relevance | path

Searched refs:MeasureFormat (Results 1 – 25 of 35) sorted by relevance

12

/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h97 class U_I18N_API MeasureFormat : public Format {
106 MeasureFormat(
113 MeasureFormat(
123 MeasureFormat(const MeasureFormat &other);
129 MeasureFormat &operator=(const MeasureFormat &rhs);
135 virtual ~MeasureFormat();
237 static MeasureFormat* U_EXPORT2 createCurrencyFormat(const Locale& locale,
247 static MeasureFormat* U_EXPORT2 createCurrencyFormat(UErrorCode& ec);
280 MeasureFormat();
Dtmutfmt.h87 class U_I18N_API TimeUnitFormat: public MeasureFormat {
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp49 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MeasureFormat)
608 MeasureFormat::MeasureFormat( in MeasureFormat() function in MeasureFormat
618 MeasureFormat::MeasureFormat( in MeasureFormat() function in MeasureFormat
631 MeasureFormat::MeasureFormat(const MeasureFormat &other) : in MeasureFormat() function in MeasureFormat
646 MeasureFormat &MeasureFormat::operator=(const MeasureFormat &other) { in operator =()
664 MeasureFormat::MeasureFormat() : in MeasureFormat() function in MeasureFormat
672 MeasureFormat::~MeasureFormat() { in ~MeasureFormat()
685 UBool MeasureFormat::operator==(const Format &other) const { in operator ==()
692 const MeasureFormat &rhs = static_cast<const MeasureFormat &>(other); in operator ==()
721 Format *MeasureFormat::clone() const { in clone()
[all …]
Dcurrfmt.h38 class CurrencyFormat : public MeasureFormat {
63 using MeasureFormat::format;
Dcurrfmt.cpp24 MeasureFormat(locale, UMEASFMT_WIDTH_WIDE, ec), fmt(NULL) in CurrencyFormat()
30 MeasureFormat(other), fmt(NULL) in CurrencyFormat()
Dtmutfmt.cpp111 : MeasureFormat(other), in TimeUnitFormat()
150 MeasureFormat::operator=(other); in operator =()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java37 import com.ibm.icu.text.MeasureFormat;
38 import com.ibm.icu.text.MeasureFormat.FormatWidth;
1019 MeasureFormat fmtFr = MeasureFormat.getInstance( in TestExamplesInDocs()
1025 MeasureFormat fmtFrFull = MeasureFormat.getInstance( in TestExamplesInDocs()
1039 MeasureFormat fmtFrNarrow = MeasureFormat.getInstance( in TestExamplesInDocs()
1047 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs()
1168 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
1170 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
1172 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1174 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
[all …]
DPluralRangesTest.java18 import com.ibm.icu.text.MeasureFormat;
19 import com.ibm.icu.text.MeasureFormat.FormatWidth;
66 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
105 MeasureFormat mf = MeasureFormat.getInstance(locale, width); in TestFormatting()
DTimeUnitTest.java20 import com.ibm.icu.text.MeasureFormat;
138 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
140 MeasureFormat tfne = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.ABBREVIATED_NAME); in TestEqHashCode()
141 MeasureFormat tfne2 = new TimeUnitFormat(ULocale.GERMAN, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
442 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
DNumberFormatTest.java45 import com.ibm.icu.text.MeasureFormat;
918 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(new ULocale("en_US")); in TestCurrencyFormatForMixParsing()
1022 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(); in TestCurrency()
2229 MeasureFormat mfmt = null; in TestCases()
2357 mfmt = MeasureFormat.getCurrencyFormat(l); in TestCases()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java38 import android.icu.text.MeasureFormat;
39 import android.icu.text.MeasureFormat.FormatWidth;
1020 MeasureFormat fmtFr = MeasureFormat.getInstance( in TestExamplesInDocs()
1026 MeasureFormat fmtFrFull = MeasureFormat.getInstance( in TestExamplesInDocs()
1040 MeasureFormat fmtFrNarrow = MeasureFormat.getInstance( in TestExamplesInDocs()
1048 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE); in TestExamplesInDocs()
1169 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf); in TestFormatPeriodEn()
1171 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf); in TestFormatPeriodEn()
1173 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf); in TestFormatPeriodEn()
1175 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf); in TestFormatPeriodEn()
[all …]
DPluralRangesTest.java19 import android.icu.text.MeasureFormat;
20 import android.icu.text.MeasureFormat.FormatWidth;
67 String formatter = MeasureFormat.getRangeFormat(ulocale, width); in TestRangePattern()
106 MeasureFormat mf = MeasureFormat.getInstance(locale, width); in TestFormatting()
DTimeUnitTest.java21 import android.icu.text.MeasureFormat;
139 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
141 MeasureFormat tfne = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.ABBREVIATED_NAME); in TestEqHashCode()
142 MeasureFormat tfne2 = new TimeUnitFormat(ULocale.GERMAN, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
443 assertEquals("getWidth", MeasureFormat.FormatWidth.WIDE, tuf.getWidth()); in TestStandInForMeasureFormat()
DNumberFormatTest.java46 import android.icu.text.MeasureFormat;
919 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(new ULocale("en_US")); in TestCurrencyFormatForMixParsing()
1023 MeasureFormat curFmt = MeasureFormat.getCurrencyFormat(); in TestCurrency()
2230 MeasureFormat mfmt = null; in TestCases()
2358 mfmt = MeasureFormat.getCurrencyFormat(l); in TestCases()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyFormat.java36 class CurrencyFormat extends MeasureFormat {
41 private transient final MeasureFormat mf;
46 mf = MeasureFormat.getInstance(locale, FormatWidth.WIDE); in CurrencyFormat()
99 public MeasureFormat.FormatWidth getWidth() { in getWidth()
DMeasureFormat.java114 public class MeasureFormat extends UFormat { class
212 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance()
223 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance()
235 …public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat form… in getInstance()
254 return new MeasureFormat( in getInstance()
273 …public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth, NumberFormat forma… in getInstance()
589 if (!(other instanceof MeasureFormat)) { in equals()
592 MeasureFormat rhs = (MeasureFormat) other; in equals()
612 public MeasureFormat.FormatWidth getWidth() { in getWidth()
636 public static MeasureFormat getCurrencyFormat(ULocale locale) { in getCurrencyFormat()
[all …]
DTimeUnitFormat.java69 public class TimeUnitFormat extends MeasureFormat {
101 private transient MeasureFormat mf;
122 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); in TimeUnitFormat()
160 mf = MeasureFormat.getInstance( in TimeUnitFormat()
592 public MeasureFormat.FormatWidth getWidth() { in getWidth()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyFormat.java35 class CurrencyFormat extends MeasureFormat {
40 private transient final MeasureFormat mf;
45 mf = MeasureFormat.getInstance(locale, FormatWidth.WIDE); in CurrencyFormat()
98 public MeasureFormat.FormatWidth getWidth() { in getWidth()
DMeasureFormat.java114 public class MeasureFormat extends UFormat { class
223 public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth) { in getInstance()
235 public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth) { in getInstance()
248 …public static MeasureFormat getInstance(ULocale locale, FormatWidth formatWidth, NumberFormat form… in getInstance()
267 return new MeasureFormat( in getInstance()
287 …public static MeasureFormat getInstance(Locale locale, FormatWidth formatWidth, NumberFormat forma… in getInstance()
610 if (!(other instanceof MeasureFormat)) { in equals()
613 MeasureFormat rhs = (MeasureFormat) other; in equals()
635 public MeasureFormat.FormatWidth getWidth() { in getWidth()
662 public static MeasureFormat getCurrencyFormat(ULocale locale) { in getCurrencyFormat()
[all …]
DTimeUnitFormat.java67 public class TimeUnitFormat extends MeasureFormat {
99 private transient MeasureFormat mf;
120 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); in TimeUnitFormat()
158 mf = MeasureFormat.getInstance( in TimeUnitFormat()
590 public MeasureFormat.FormatWidth getWidth() { in getWidth()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp74 const MeasureFormat &fmt,
80 const MeasureFormat &fmt,
87 const MeasureFormat &fmt,
124 const MeasureFormat &fmt,
993 MeasureFormat fmtFr(Locale::getFrench(), UMEASFMT_WIDTH_SHORT, status); in TestExamplesInDocs()
994 MeasureFormat fmtFrFull( in TestExamplesInDocs()
996 MeasureFormat fmtFrNarrow( in TestExamplesInDocs()
998 MeasureFormat fmtEn(Locale::getUS(), UMEASFMT_WIDTH_WIDE, status); in TestExamplesInDocs()
1219 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status); in TestFormatPeriodEn()
1227 MeasureFormat mf2(mf); in TestFormatPeriodEn()
[all …]
Duobjtest.cpp377 …TESTCLASSID_FACTORY_HIDDEN(CurrencyFormat, MeasureFormat::createCurrencyFormat(Locale::getUS(), st… in testIDs()
Dnumfmtst.cpp2641 MeasureFormat *mfmt = 0; in TestCases()
2733 mfmt = MeasureFormat::createCurrencyFormat( in TestCases()
3271 MeasureFormat *cloneObj; in TestCurrencyFormat()
3283 MeasureFormat *measureObj = MeasureFormat::createCurrencyFormat(status); in TestCurrencyFormat()
3289 cloneObj = (MeasureFormat *)measureObj->clone(); in TestCurrencyFormat()
3320 if (MeasureFormat::createCurrencyFormat(status) != NULL) { in TestCurrencyFormat()
3742 MeasureFormat* curFmt = MeasureFormat::createCurrencyFormat(Locale("en_US"), status); in TestCurrencyFormatForMixParsing()
/external/icu/icu4j/tools/build/
Dicu4j54.api3.gz
Dicu4j55.api3.gz

12