HomeSort by relevance Sort by last modified time
    Searched refs:ULocale (Results 126 - 150 of 480) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
PopulationData.java 14 import com.ibm.icu.util.ULocale;
62 ULocale territory = new ULocale("und", terrID);
63 entries.add(new TerritoryEntry(territory.getDisplayCountry(ULocale.forLocale(loc)), SupplementalUtilities.ldml2d(vec[2])));
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CurrencyPluralInfo.java 18 import android.icu.util.ULocale;
19 import android.icu.util.ULocale.Category;
45 initialize(ULocale.getDefault(Category.FORMAT));
53 initialize(ULocale.forLocale(locale));
60 public CurrencyPluralInfo(ULocale locale) {
89 public static CurrencyPluralInfo getInstance(ULocale locale) {
133 public ULocale getLocale() {
134 return ulocale;
165 public void setLocale(ULocale loc) {
166 ulocale = loc
315 private ULocale ulocale = null; field in class:CurrencyPluralInfo
    [all...]
PluralFormat.java 21 import android.icu.util.ULocale;
22 import android.icu.util.ULocale.Category;
69 * the constructors that takes a <code>ULocale</code> object. To
138 private ULocale ulocale = null; field in class:PluralFormat
185 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
190 * @param ulocale the <code>PluralFormat</code> will be configured with
194 public PluralFormat(ULocale ulocale) {
195 init(null, PluralType.CARDINAL, ulocale, null)
    [all...]
ListFormatter.java 20 import android.icu.util.ULocale;
36 private final ULocale locale;
119 private ListFormatter(String two, String start, String middle, String end, ULocale locale) {
138 public static ListFormatter getInstance(ULocale locale) {
150 return getInstance(ULocale.forLocale(locale), Style.STANDARD);
163 public static ListFormatter getInstance(ULocale locale, Style style) {
173 return getInstance(ULocale.getDefault(ULocale.Category.FORMAT));
245 public ULocale getLocale() {
302 public ListFormatter get(ULocale locale, String style)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
RegressionTest.java 16 import android.icu.util.ULocale;
33 ULocale ul = new ULocale("th");
  /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;
68 * the constructors that takes a <code>ULocale</code> object. To
138 private ULocale ulocale = null; field in class:PluralFormat
186 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
191 * @param ulocale the <code>PluralFormat</code> will be configured with
196 public PluralFormat(ULocale ulocale) {
197 init(null, PluralType.CARDINAL, ulocale, null)
    [all...]
ListFormatter.java 19 import com.ibm.icu.util.ULocale;
35 private final ULocale locale;
118 private ListFormatter(String two, String start, String middle, String end, ULocale locale) {
138 public static ListFormatter getInstance(ULocale locale) {
151 return getInstance(ULocale.forLocale(locale), Style.STANDARD);
164 public static ListFormatter getInstance(ULocale locale, Style style) {
175 return getInstance(ULocale.getDefault(ULocale.Category.FORMAT));
250 public ULocale getLocale() {
307 public ListFormatter get(ULocale locale, String style)
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
ICULocaleServiceProvider.java 21 import com.ibm.icu.util.ULocale;
22 import com.ibm.icu.util.ULocale.Builder;
57 public static ULocale toULocaleNoSpecialVariant(Locale locale) {
62 return ULocale.forLocale(spLoc);
66 // So we once convert it to ULocale, then strip the ICU suffix off
68 ULocale result = ULocale.forLocale(locale);
103 return new ULocale(id.toString());
133 ULocale[] icuLocales = ICUResourceBundle.getAvailableULocales();
135 for (ULocale uloc : icuLocales)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
RegressionTest.java 15 import com.ibm.icu.util.ULocale;
29 ULocale ul = new ULocale("th");
  /external/icu/android_icu4j/src/main/java/android/icu/util/
Currency.java 34 import android.icu.util.ULocale.Category;
60 private static ICUCache<ULocale, List<TextTrieMap<CurrencyStringInfo>>> CURRENCY_NAME_CACHE =
61 new SimpleCache<ULocale, List<TextTrieMap<CurrencyStringInfo>>>();
110 abstract ULocale[] getAvailableULocales();
112 abstract Currency createInstance(ULocale l);
113 abstract Object registerInstance(Currency c, ULocale l);
145 return getInstance(ULocale.forLocale(locale));
152 public static Currency getInstance(ULocale locale) {
174 public static String[] getAvailableCurrencyCodes(ULocale loc, Date d) {
195 return getAvailableCurrencyCodes(ULocale.forLocale(loc), d)
    [all...]
EthiopicCalendar.java 15 import android.icu.util.ULocale.Category;
21 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
143 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
153 this(zone, ULocale.getDefault(Category.FORMAT));
172 public EthiopicCalendar(ULocale locale) {
184 this(zone, ULocale.forLocale(aLocale));
194 public EthiopicCalendar(TimeZone zone, ULocale locale) {
374 private void setCalcTypeForLocale(ULocale locale) {
GenderInfo.java 61 * Create GenderInfo from a ULocale.
62 * @param uLocale desired locale
67 public static GenderInfo getInstance(ULocale uLocale) {
68 return genderInfoCache.get(uLocale);
79 return getInstance(ULocale.forLocale(locale));
223 private final ICUCache<ULocale, GenderInfo> cache =
224 new SimpleCache<ULocale, GenderInfo>();
226 public GenderInfo get(ULocale locale) {
231 ULocale fallback = locale.getFallback()
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
Currency.java 33 import com.ibm.icu.util.ULocale.Category;
60 private static ICUCache<ULocale, List<TextTrieMap<CurrencyStringInfo>>> CURRENCY_NAME_CACHE =
61 new SimpleCache<ULocale, List<TextTrieMap<CurrencyStringInfo>>>();
116 abstract ULocale[] getAvailableULocales();
118 abstract Currency createInstance(ULocale l);
119 abstract Object registerInstance(Currency c, ULocale l);
152 return getInstance(ULocale.forLocale(locale));
160 public static Currency getInstance(ULocale locale) {
183 public static String[] getAvailableCurrencyCodes(ULocale loc, Date d) {
205 return getAvailableCurrencyCodes(ULocale.forLocale(loc), d)
    [all...]
EthiopicCalendar.java 14 import com.ibm.icu.util.ULocale.Category;
20 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
156 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
167 this(zone, ULocale.getDefault(Category.FORMAT));
188 public EthiopicCalendar(ULocale locale) {
201 this(zone, ULocale.forLocale(aLocale));
212 public EthiopicCalendar(TimeZone zone, ULocale locale) {
399 private void setCalcTypeForLocale(ULocale locale) {
GenderInfo.java 59 * Create GenderInfo from a ULocale.
60 * @param uLocale desired locale
65 public static GenderInfo getInstance(ULocale uLocale) {
66 return genderInfoCache.get(uLocale);
77 return getInstance(ULocale.forLocale(locale));
221 private final ICUCache<ULocale, GenderInfo> cache =
222 new SimpleCache<ULocale, GenderInfo>();
224 public GenderInfo get(ULocale locale) {
229 ULocale fallback = locale.getFallback()
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CurrencyData.java 14 import android.icu.util.ULocale;
23 CurrencyDisplayInfo getInstance(ULocale locale, boolean withFallback);
82 public CurrencyDisplayInfo getInstance(ULocale locale, boolean withFallback) {
131 public ULocale getULocale() {
132 return ULocale.ROOT;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CurrencyData.java 13 import com.ibm.icu.util.ULocale;
19 CurrencyDisplayInfo getInstance(ULocale locale, boolean withFallback);
78 public CurrencyDisplayInfo getInstance(ULocale locale, boolean withFallback) {
127 public ULocale getULocale() {
128 return ULocale.ROOT;
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
TestUtil.java 13 import com.ibm.icu.util.ULocale;
14 import com.ibm.icu.util.ULocale.Builder;
29 // We once convert Locale to ULocale, then update variant
33 ULocale uloc = ULocale.forLocale(locale);
40 ULocale modUloc = null;
CollatorTest.java 15 import com.ibm.icu.util.ULocale;
137 ULocale uloc0 = new ULocale("de_DE_" + TestUtil.ICU_VARIANT + "@collation=phonebook");
140 ULocale uloc = ULocale.forLocale(loc);
150 ULocale ulocJdkColl = ((CollatorICU)jdkColl).unwrap().getLocale(ULocale.VALID_LOCALE);
  /libcore/luni/src/main/java/libcore/icu/
DateIntervalFormat.java 20 import android.icu.util.ULocale;
48 ULocale icuLocale = ULocale.getDefault();
54 public static String formatDateRange(ULocale icuLocale, android.icu.util.TimeZone icuTimeZone,
85 private static android.icu.text.DateIntervalFormat getFormatter(String skeleton, ULocale locale,
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationLoader.java 24 import android.icu.util.ULocale;
46 ICUResourceBundle.ICU_COLLATION_BASE_NAME, ULocale.ROOT);
81 static String loadRules(ULocale locale, String collationType) {
94 public static CollationTailoring loadTailoring(ULocale locale, Output<ULocale> outValidLocale) {
103 outValidLocale.value = ULocale.ROOT;
113 outValidLocale.value = ULocale.ROOT;
117 ULocale validLocale = bundle.getULocale();
122 validLocale = ULocale.ROOT;
186 ULocale actualLocale = data.getULocale()
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationLoader.java 23 import com.ibm.icu.util.ULocale;
44 ICUResourceBundle.ICU_COLLATION_BASE_NAME, ULocale.ROOT);
79 static String loadRules(ULocale locale, String collationType) {
92 public static CollationTailoring loadTailoring(ULocale locale, Output<ULocale> outValidLocale) {
101 outValidLocale.value = ULocale.ROOT;
111 outValidLocale.value = ULocale.ROOT;
115 ULocale validLocale = bundle.getULocale();
120 validLocale = ULocale.ROOT;
184 ULocale actualLocale = data.getULocale()
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ICUResourceBundleCollationTest.java 15 import android.icu.util.ULocale;
99 bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_COLLATION_BASE_NAME,ULocale.canonicalize("de__PHONEBOOK"));
165 ULocale inLocale = new ULocale(testCases[i+1]);
166 ULocale expectLocale = new ULocale(testCases[i+2]);
171 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
ICUResourceBundleCollationTest.java 14 import com.ibm.icu.util.ULocale;
95 bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_COLLATION_BASE_NAME,ULocale.canonicalize("de__PHONEBOOK"));
161 ULocale inLocale = new ULocale(testCases[i+1]);
162 ULocale expectLocale = new ULocale(testCases[i+2]);
167 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);

Completed in 440 milliseconds

1 2 3 4 56 7 8 91011>>