HomeSort by relevance Sort by last modified time
    Searched defs:ulocale (Results 1 - 12 of 12) sorted by null

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
PluralRangesTest.java 20 import com.ibm.icu.util.ULocale;
43 final ULocale locale = new ULocale(test[0]);
60 ULocale ulocale = new ULocale(test[0]); local
63 String actual = MeasureFormat.getRangePattern(ulocale, width);
70 {0.0, 1.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "0?1 degré Fahrenheit"},
71 {1.0, 2.0, ULocale.FRANCE, FormatWidth.WIDE, MeasureUnit.FAHRENHEIT, "1?2 degrés Fahrenheit"},
72 {3.1, 4.25, ULocale.FRANCE, FormatWidth.SHORT, MeasureUnit.FAHRENHEIT, "3,1?4,25 °F"}
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CurrencyPluralInfo.java 17 import com.ibm.icu.util.ULocale;
18 import com.ibm.icu.util.ULocale.Category;
47 initialize(ULocale.getDefault(Category.FORMAT));
56 initialize(ULocale.forLocale(locale));
64 public CurrencyPluralInfo(ULocale locale) {
96 public static CurrencyPluralInfo getInstance(ULocale locale) {
144 public ULocale getLocale() {
145 return ulocale;
179 public void setLocale(ULocale loc) {
180 ulocale = loc
332 private ULocale ulocale = null; field in class:CurrencyPluralInfo
    [all...]
PluralFormat.java 20 import com.ibm.icu.util.ULocale;
21 import com.ibm.icu.util.ULocale.Category;
69 * the constructors that takes a <code>ULocale</code> object. To
141 private ULocale ulocale = null; field in class:PluralFormat
189 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
194 * @param ulocale the <code>PluralFormat</code> will be configured with
199 public PluralFormat(ULocale ulocale) {
200 init(null, PluralType.CARDINAL, ulocale, null)
    [all...]
DecimalFormatSymbols.java 26 import com.ibm.icu.util.ULocale;
27 import com.ibm.icu.util.ULocale.Category;
53 initialize(ULocale.getDefault(Category.FORMAT));
62 initialize(ULocale.forLocale(locale));
70 public DecimalFormatSymbols(ULocale locale) {
119 public static DecimalFormatSymbols getInstance(ULocale locale) {
147 * returns the array of <code>ULocale</code>s available in this class. ICU currently
151 * @return An array of <code>ULocale</code>s for which localized
156 public static ULocale[] getAvailableULocales() {
756 public ULocale getULocale()
1258 private ULocale ulocale; field in class:DecimalFormatSymbols
    [all...]
RelativeDateTimeFormatter.java 17 import com.ibm.icu.util.ULocale;
276 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE);
286 public static RelativeDateTimeFormatter getInstance(ULocale locale) {
299 return getInstance(ULocale.forLocale(locale));
312 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) {
329 ULocale locale,
365 return getInstance(ULocale.forLocale(locale), nf);
522 ULocale locale) {
550 private final ULocale locale;
571 public RelativeDateTimeFormatterData get(ULocale locale)
583 private final ULocale ulocale; field in class:RelativeDateTimeFormatter.Loader
    [all...]
MessageFormat.java 42 import com.ibm.icu.util.ULocale;
43 import com.ibm.icu.util.ULocale.Category;
302 * ULocale.ENGLISH);
350 this.ulocale = ULocale.getDefault(Category.FORMAT);
365 this(pattern, ULocale.forLocale(locale));
378 public MessageFormat(String pattern, ULocale locale) {
379 this.ulocale = locale;
393 setLocale(ULocale.forLocale(locale));
405 public void setLocale(ULocale locale)
1545 private transient ULocale ulocale; field in class:MessageFormat
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUResourceBundle.java 27 import com.ibm.icu.util.ULocale;
152 this.ulocale = new ULocale(localeID);
159 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle
189 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader,
190 String resName, String keyword, ULocale locID,
195 ULocale parent = new ULocale(baseLoc);
196 ULocale defLoc = null; // locale where default (found) resource i
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
AlphabeticIndexTest.java 37 import com.ibm.icu.util.ULocale;
175 // ULocale ulocale = new ULocale(locale);
177 // List<String> values = Arrays.asList(Collator.getKeywordValuesForLocale(keyword, ulocale, false));
187 // final ULocale base = new ULocale(locale);
188 // final ULocale desired = new ULocale(locale + "@collation=" + collationValue);
190 // ULocale actual = foo.getLocale(ULocale.ACTUAL_LOCALE)
578 ULocale ulocale = new ULocale(localeString); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
ICUResourceBundleTest.java 30 import com.ibm.icu.util.ULocale;
117 UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance("com/ibm/icu/dev/data/testdata", ULocale.getDefault().toString(), testLoader);
172 if(!bundle.getULocale().equals(ULocale.getDefault())){
173 errln("UResourceBundle did not load the default bundle when bundle was not found. Default: " + ULocale.getDefault() +
682 ULocale[] locales = ULocale.getAvailableLocales();
684 if (!hasLocalizedCountryFor(ULocale.ENGLISH, locales[i]) && (locales[i].getLanguage().compareTo("ti") != 0)){ // TODO: restore test for ti_* when cldrbug 3058 is fixed
687 if(!hasLocalizedLanguageFor(ULocale.ENGLISH, locales[i])){
700 logln(locales[i] + "\t" + locales[i].getDisplayName(ULocale.ENGLISH) + "\t" + locales[i].getDisplayName(locales[i]));
704 private static boolean hasLocalizedLanguageFor(ULocale locale, ULocale otherLocale)
1083 ULocale ulocale = null; local
    [all...]
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 

Completed in 537 milliseconds