Home
last modified time | relevance | path

Searched refs:FULL_NAME (Results 1 – 25 of 29) sorted by relevance

12

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRangesTest.java80 …{0.0, 1.0, ULocale.FRANCE, UnitWidth.FULL_NAME, MeasureUnit.FAHRENHEIT, "0–1\u00A0degré Fahrenheit… in TestFormatting()
81 …{1.0, 2.0, ULocale.FRANCE, UnitWidth.FULL_NAME, MeasureUnit.FAHRENHEIT, "1–2\u00A0degrés Fahrenhei… in TestFormatting()
84 {3.1, 4.25, ULocale.CHINESE, UnitWidth.FULL_NAME, MeasureUnit.INCH, "3.1-4.25英寸"}, in TestFormatting()
85 {0.0, 1.0, ULocale.ENGLISH, UnitWidth.FULL_NAME, MeasureUnit.INCH, "0–1 inches"}, in TestFormatting()
95 … {0.0, 1.0, ULocale.ENGLISH, UnitWidth.FULL_NAME, Currency.getInstance("EUR"), "0.00–1.00 euros"}, in TestFormatting()
96 … {0.0, 1.0, ULocale.FRENCH, UnitWidth.FULL_NAME, Currency.getInstance("EUR"), "0,00–1,00 euro"}, in TestFormatting()
97 … {0.0, 2.0, ULocale.FRENCH, UnitWidth.FULL_NAME, Currency.getInstance("EUR"), "0,00–2,00 euros"}, in TestFormatting()
98 …{0.0, 100.0, ULocale.FRENCH, UnitWidth.FULL_NAME, Currency.getInstance("JPY"), "0–100 yens japonai… in TestFormatting()
DTimeUnitTest.java38 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
51 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
68 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
72 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
86 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
139 TimeUnitFormat tf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
140 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
143 MeasureFormat tfne2 = new TimeUnitFormat(ULocale.GERMAN, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
171 int[] styles = new int[] {TimeUnitFormat.FULL_NAME, TimeUnitFormat.ABBREVIATED_NAME}; in TestGreek()
335 int[] cases = { TimeUnitFormat.FULL_NAME - 1, TimeUnitFormat.FULL_NAME - 2, 3 }; in TestTimeUnitFormat()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeUnitTest.java41 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FractionalPlurals()
54 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in Test10219FactionalPluralsParse()
71 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
75 for (int style = TimeUnitFormat.FULL_NAME; in TestBasic()
89 …for (int parseStyle = TimeUnitFormat.FULL_NAME; parseStyle <= TimeUnitFormat.ABBREVIATED_NAME; par… in TestBasic()
142 TimeUnitFormat tf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
143 MeasureFormat tfeq = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
146 MeasureFormat tfne2 = new TimeUnitFormat(ULocale.GERMAN, TimeUnitFormat.FULL_NAME); in TestEqHashCode()
174 int[] styles = new int[] {TimeUnitFormat.FULL_NAME, TimeUnitFormat.ABBREVIATED_NAME}; in TestGreek()
338 int[] cases = { TimeUnitFormat.FULL_NAME - 1, TimeUnitFormat.FULL_NAME - 2, 3 }; in TestTimeUnitFormat()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java286 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact()
339 … NumberFormatter.with().notation(Notation.compactLong()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact()
534 …ormatter nf = NumberFormatter.with().locale(locale).unit(inputUnit).unitWidth(UnitWidth.FULL_NAME); in unitWithLocaleTags()
573 NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
590 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
622 NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
650 NumberFormatter.with().unit(MeasureUnit.DAY).unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
710 NumberFormatter.with().unit(MeasureUnit.KELVIN).unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
722 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
733 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
[all …]
DNumberRangeFormatterTest.java117 …numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME)), in testBasic()
133 …rFormatterBoth(NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_NAME)), in testBasic()
633 NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_NAME)), in testIdentity()
718 .unitWidth(UnitWidth.FULL_NAME) in testPlurals()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTimeUnitFormat.java76 public static final int FULL_NAME = 0; field in TimeUnitFormat
114 this(ULocale.getDefault(), FULL_NAME); in TimeUnitFormat()
124 this(locale, FULL_NAME); in TimeUnitFormat()
134 this(locale, FULL_NAME); in TimeUnitFormat()
147 super(locale, style == FULL_NAME ? FormatWidth.WIDE : FormatWidth.SHORT); in TimeUnitFormat()
149 if (style < FULL_NAME || style >= TOTAL_STYLES) { in TimeUnitFormat()
265 for (int styl = FULL_NAME; styl < TOTAL_STYLES; ++styl) { in parseObject()
350 setup("units/duration", timeUnitToCountToPatterns, FULL_NAME, pluralKeywords); in setup()
DMeasureFormat.java158 WIDE(ListFormatter.Style.UNIT, UnitWidth.FULL_NAME, UnitWidth.FULL_NAME),
185 DEFAULT_CURRENCY(ListFormatter.Style.UNIT, UnitWidth.FULL_NAME, UnitWidth.SHORT);
981 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java74 public static final int FULL_NAME = 0; field in TimeUnitFormat
112 this(ULocale.getDefault(), FULL_NAME); in TimeUnitFormat()
122 this(locale, FULL_NAME); in TimeUnitFormat()
132 this(locale, FULL_NAME); in TimeUnitFormat()
145 super(locale, style == FULL_NAME ? FormatWidth.WIDE : FormatWidth.SHORT); in TimeUnitFormat()
147 if (style < FULL_NAME || style >= TOTAL_STYLES) { in TimeUnitFormat()
263 for (int styl = FULL_NAME; styl < TOTAL_STYLES; ++styl) { in parseObject()
348 setup("units/duration", timeUnitToCountToPatterns, FULL_NAME, pluralKeywords); in setup()
DMeasureFormat.java163 WIDE(ListFormatter.Width.WIDE, UnitWidth.FULL_NAME, UnitWidth.FULL_NAME),
196 DEFAULT_CURRENCY(ListFormatter.Width.SHORT, UnitWidth.FULL_NAME, UnitWidth.SHORT);
1016 style = TimeUnitFormat.FULL_NAME; in createTimeUnitFormat()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberFormatterApiTest.java285 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact()
338 … NumberFormatter.with().notation(Notation.compactLong()).unit(USD).unitWidth(UnitWidth.FULL_NAME), in notationCompact()
504 NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
521 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
537 NumberFormatter.with().unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
565 NumberFormatter.with().unit(MeasureUnit.DAY).unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
625 NumberFormatter.with().unit(MeasureUnit.KELVIN).unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
637 .unitWidth(UnitWidth.FULL_NAME), in unitMeasure()
732 NumberFormatter.with().unit(GBP).unitWidth(UnitWidth.FULL_NAME), in unitCurrency()
906 NumberFormatter.with().unit(RON).unitWidth(UnitWidth.FULL_NAME), in unitCurrency()
[all …]
DNumberRangeFormatterTest.java119 …numberFormatterBoth(NumberFormatter.with().unit(MeasureUnit.METER).unitWidth(UnitWidth.FULL_NAME)), in testBasic()
135 …rFormatterBoth(NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_NAME)), in testBasic()
635 NumberFormatter.with().unit(MeasureUnit.FAHRENHEIT).unitWidth(UnitWidth.FULL_NAME)), in testIdentity()
682 .unitWidth(UnitWidth.FULL_NAME) in testPlurals()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberFormatterImpl.java197 (unitWidth == UnitWidth.FULL_NAME || !(isPercent || isPermille)); in macrosToMicroGenerator()
232 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
350 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
368 && macros.unitWidth != UnitWidth.FULL_NAME) ? CompactType.CURRENCY in macrosToMicroGenerator()
DNumberFormatter.java129 FULL_NAME, enumConstant
DNumberSkeletonImpl.java320 return UnitWidth.FULL_NAME; in unitWidth()
434 case FULL_NAME: in unitWidth()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java212 && (unitWidth == UnitWidth.FULL_NAME in macrosToMicroGenerator()
256 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
445 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
463 && macros.unitWidth != UnitWidth.FULL_NAME) ? CompactType.CURRENCY in macrosToMicroGenerator()
DNumberFormatter.java192 FULL_NAME, enumConstant
DNumberSkeletonImpl.java335 return UnitWidth.FULL_NAME; in unitWidth()
453 case FULL_NAME: in unitWidth()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java383 if (width != UnitWidth.FULL_NAME) { in getMeasureData()
408 if (width == UnitWidth.FULL_NAME in getMeasureData()
1231 if (width == UnitWidth.FULL_NAME) { in processPatternTimes()
1249 if (width == UnitWidth.FULL_NAME) { in processPatternTimes()
DMixedUnitLongNameHandler.java90 } else if (width == NumberFormatter.UnitWidth.FULL_NAME) { in forMeasureUnit()
/third_party/icu/icu4j/tools/build/
Dicu4j66.api3.gz12;ICU4J 66.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j67.api3.gz
Dicu4j68.api3.gz12;ICU4J 68.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j65.api3.gz
Dicu4j64.api3.gz12;ICU4J 64.2;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j63.api3.gz

12