Searched refs:decPlaces (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | crelativedateformattest.c | 317 …int32_t decPlaces; /* fixed decimal places; -1 to use default num form… member 359 if (itemPtr->decPlaces >= 0) { in TestRelDateFmt() 365 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt() 366 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt() 372 … itemPtr->locale, itemPtr->decPlaces, (int)itemPtr->width, (int)itemPtr->capContext, in TestRelDateFmt() 389 … itemPtr->locale, itemPtr->decPlaces, (int)itemPtr->width, (int)itemPtr->capContext, in TestRelDateFmt() 398 … itemPtr->locale, itemPtr->decPlaces, (int)itemPtr->width, (int)itemPtr->capContext, in TestRelDateFmt() 411 … itemPtr->locale, itemPtr->decPlaces, (int)itemPtr->width, (int)itemPtr->capContext, in TestRelDateFmt() 420 … itemPtr->locale, itemPtr->decPlaces, (int)itemPtr->width, (int)itemPtr->capContext, in TestRelDateFmt() 440 if (itemPtr->decPlaces >= 0) { in TestNumericField() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 808 … public int decPlaces; /* fixed decimal places; -1 to use default num formatter */ in TestRelativeDateTimeUnitFormatters() field in RelativeDateTimeFormatterTest.TestRelativeDateTimeUnitItem 816 decPlaces = decP; in TestRelativeDateTimeUnitFormatters() 847 if (item.decPlaces >= 0) { in TestRelativeDateTimeUnitFormatters() 849 nf.setMinimumFractionDigits(item.decPlaces); in TestRelativeDateTimeUnitFormatters() 850 nf.setMaximumFractionDigits(item.decPlaces); in TestRelativeDateTimeUnitFormatters() 860 …uals("RelativeDateTimeUnit format locale "+item.localeID +", dec "+item.decPlaces +", width "+item… in TestRelativeDateTimeUnitFormatters() 867 …s("RelativeDateTimeUnit formatNum locale "+item.localeID +", dec "+item.decPlaces +", width "+item… in TestRelativeDateTimeUnitFormatters()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RelativeDateTimeFormatterTest.java | 805 … public int decPlaces; /* fixed decimal places; -1 to use default num formatter */ in TestRelativeDateTimeUnitFormatters() field in RelativeDateTimeFormatterTest.TestRelativeDateTimeUnitItem 813 decPlaces = decP; in TestRelativeDateTimeUnitFormatters() 844 if (item.decPlaces >= 0) { in TestRelativeDateTimeUnitFormatters() 846 nf.setMinimumFractionDigits(item.decPlaces); in TestRelativeDateTimeUnitFormatters() 847 nf.setMaximumFractionDigits(item.decPlaces); in TestRelativeDateTimeUnitFormatters() 857 …uals("RelativeDateTimeUnit format locale "+item.localeID +", dec "+item.decPlaces +", width "+item… in TestRelativeDateTimeUnitFormatters() 864 …s("RelativeDateTimeUnit formatNum locale "+item.localeID +", dec "+item.decPlaces +", width "+item… in TestRelativeDateTimeUnitFormatters()
|