HomeSort by relevance Sort by last modified time
    Searched refs:uloc (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
ICULocaleServiceProvider.java 135 for (ULocale uloc : icuLocales) {
136 String language = uloc.getLanguage();
140 addULocale(uloc, localeSet);
142 if (uloc.getScript().length() > 0 && uloc.getCountry().length() > 0) {
147 locBld.setLocale(uloc);
183 private static void addULocale(ULocale uloc, Set<Locale> locales) {
186 if (uloc.getLanguage().equals("nn") && uloc.getScript().length() == 0) {
187 Locale locNN = new Locale(uloc.getLanguage(), uloc.getCountry(), uloc.getVariant())
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
Currency.java 275 * @param uloc the ULocale for the symbol
279 public String getSymbol(ULocale uloc) {
280 return currency.getSymbol(uloc.toLocale());
ULocale.java 3627 ULocale uloc = null; local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CurrencyPluralInfo.java 249 private void initialize(ULocale uloc) {
250 ulocale = uloc;
251 pluralRules = PluralRules.forLocale(uloc);
252 setupCurrencyPluralPattern(uloc);
255 private void setupCurrencyPluralPattern(ULocale uloc) {
258 String numberStylePattern = NumberFormat.getPattern(uloc, NumberFormat.NUMBERSTYLE);
266 Map<String, String> map = CurrencyData.provider.getInstance(uloc, true).getUnitPatterns();
NumberFormatServiceShim.java 100 ULocale uloc = actualLoc[0]; local
101 fmt.setLocale(uloc, uloc); // services make no distinction between actual & valid
BreakIteratorFactory.java 154 ULocale uloc = ULocale.forLocale(rb.getLocale()); local
155 iter.setLocale(uloc, uloc);
CollatorServiceShim.java 129 protected Object handleCreate(ULocale uloc, int kind, ICUService srvc) {
130 return makeInstance(uloc);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CurrencyPluralInfo.java 266 private void initialize(ULocale uloc) {
267 ulocale = uloc;
268 pluralRules = PluralRules.forLocale(uloc);
269 setupCurrencyPluralPattern(uloc);
272 private void setupCurrencyPluralPattern(ULocale uloc) {
275 String numberStylePattern = NumberFormat.getPattern(uloc, NumberFormat.NUMBERSTYLE);
283 Map<String, String> map = CurrencyData.provider.getInstance(uloc, true).getUnitPatterns();
NumberFormatServiceShim.java 99 ULocale uloc = actualLoc[0]; local
100 fmt.setLocale(uloc, uloc); // services make no distinction between actual & valid
BreakIteratorFactory.java 153 ULocale uloc = ULocale.forLocale(rb.getLocale()); local
154 iter.setLocale(uloc, uloc);
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
TestUtil.java 33 ULocale uloc = ULocale.forLocale(locale); local
34 if (uloc.getScript().length() == 0) {
43 locBld.setLocale(uloc);
CollatorTest.java 140 ULocale uloc = ULocale.forLocale(loc); local
141 String nsType = uloc.getKeywordValue("collation");
DateFormatSymbolsTest.java 190 ULocale uloc = ULocale.forLocale(loc); local
191 String calType = uloc.getKeywordValue("calendar");
198 com.ibm.icu.text.DateFormatSymbols icuDfs = com.ibm.icu.text.DateFormatSymbols.getInstance(uloc);
DecimalFormatSymbolsTest.java 166 ULocale uloc = ULocale.forLocale(loc); local
167 String nsType = uloc.getKeywordValue("numbers");
174 com.ibm.icu.text.DecimalFormatSymbols icuDecfs = com.ibm.icu.text.DecimalFormatSymbols.getInstance(uloc);
NumberFormatTest.java 298 ULocale uloc = ULocale.forLocale(loc); local
299 String nsType = uloc.getKeywordValue("numbers");
306 com.ibm.icu.text.NumberFormat icuNfmt = com.ibm.icu.text.NumberFormat.getCurrencyInstance(uloc);
DateFormatTest.java 205 ULocale uloc = ULocale.forLocale(loc); local
206 String calType = uloc.getKeywordValue("calendar");
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
FormatTests.java 713 private static DateFormatSymbols getCannedDateFormatSymbols(ULocale uloc)
715 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc);
716 String key = uloc.toString();
724 private static SimpleDateFormat getCannedSimpleDateFormat(String pattern, ULocale uloc)
726 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc);
728 return new SimpleDateFormat(pattern, dfs, uloc);
991 private static DecimalFormatSymbols getCannedDecimalFormatSymbols(ULocale uloc)
993 DecimalFormatSymbols dfs = new DecimalFormatSymbols(uloc);
995 setSymbols(dfs, (String[]) cannedDecimalFormatSymbols.get(uloc.toString()));
1000 private static DecimalFormat getCannedDecimalFormat(String pattern, ULocale uloc)
1065 ULocale uloc = ULocale.forLocale(Locale.US); local
1110 ULocale uloc = ULocale.forLocale(locales[i]); local
1678 ULocale uloc = ULocale.forLocale(locales[i]); local
1803 ULocale uloc = ULocale.forLocale(locales[i]); local
1894 ULocale uloc = ULocale.forLocale(locales[i]); local
2046 ULocale uloc = ULocale.forLocale(locales[i]); local
2109 ULocale uloc = ULocale.forLocale(locales[i]); local
2142 ULocale uloc = ULocale.forLocale(locales[i]); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
FormatTests.java 712 private static DateFormatSymbols getCannedDateFormatSymbols(ULocale uloc)
714 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc);
715 String key = uloc.toString();
723 private static SimpleDateFormat getCannedSimpleDateFormat(String pattern, ULocale uloc)
725 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc);
727 return new SimpleDateFormat(pattern, dfs, uloc);
990 private static DecimalFormatSymbols getCannedDecimalFormatSymbols(ULocale uloc)
992 DecimalFormatSymbols dfs = new DecimalFormatSymbols(uloc);
994 setSymbols(dfs, (String[]) cannedDecimalFormatSymbols.get(uloc.toString()));
999 private static DecimalFormat getCannedDecimalFormat(String pattern, ULocale uloc)
1064 ULocale uloc = ULocale.forLocale(Locale.US); local
1109 ULocale uloc = ULocale.forLocale(locales[i]); local
1677 ULocale uloc = ULocale.forLocale(locales[i]); local
1802 ULocale uloc = ULocale.forLocale(locales[i]); local
1893 ULocale uloc = ULocale.forLocale(locales[i]); local
2045 ULocale uloc = ULocale.forLocale(locales[i]); local
2108 ULocale uloc = ULocale.forLocale(locales[i]); local
2141 ULocale uloc = ULocale.forLocale(locales[i]); local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
GlobalizationPreferences.java 795 ULocale uloc = inputLocales.get(i); local
797 String language = uloc.getLanguage();
798 String script = uloc.getScript();
799 String country = uloc.getCountry();
800 String variant = uloc.getVariant();
816 result.add(j, uloc);
821 result.add(j, uloc);
826 result.add(j, uloc);
834 result.add(j, uloc);
840 result.add(j, uloc);
864 ULocale uloc = result.get(index); local
887 ULocale uloc = result.get(index); local
    [all...]
UResourceBundle.java 180 ULocale uloc = ULocale.getDefault(); local
181 return getBundleInstance(baseName, uloc.toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER,
199 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
201 return getBundleInstance(baseName, uloc.toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER,
240 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
241 return getBundleInstance(baseName, uloc.toString(), loader, false);
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
GlobalizationPreferences.java 826 ULocale uloc = inputLocales.get(i); local
828 String language = uloc.getLanguage();
829 String script = uloc.getScript();
830 String country = uloc.getCountry();
831 String variant = uloc.getVariant();
847 result.add(j, uloc);
852 result.add(j, uloc);
895 ULocale uloc = result.get(index); local
918 ULocale uloc = result.get(index); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ULocaleTest.java 165 ULocale uloc = new ULocale("en_Latn_US"); local
166 uloc = uloc.setKeywordValue("Foo", "FooValue");
167 if (!"en_Latn_US@foo=FooValue".equals(uloc.getName())) {
168 errln("failed to add foo keyword, got: " + uloc.getName());
170 uloc = uloc.setKeywordValue("Bar", "BarValue");
171 if (!"en_Latn_US@bar=BarValue;foo=FooValue".equals(uloc.getName())) {
172 errln("failed to add bar keyword, got: " + uloc.getName());
174 uloc = uloc.setKeywordValue("BAR", "NewBarValue")
688 ULocale uloc; local
792 ULocale uloc = new ULocale(locale); local
4269 ULocale uloc = ULocale.forLocale((Locale) DATA[i][0]); local
4279 ULocale uloc = ULocale.forLocale((Locale) DATA7[i][0]); local
4299 ULocale uloc = ULocale.forLocale(loc); local
4312 ULocale uloc = ULocale.forLocale((Locale) DATA6[i][0]); local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
ULocaleTest.java 161 ULocale uloc = new ULocale("en_Latn_US"); local
162 uloc = uloc.setKeywordValue("Foo", "FooValue");
163 if (!"en_Latn_US@foo=FooValue".equals(uloc.getName())) {
164 errln("failed to add foo keyword, got: " + uloc.getName());
166 uloc = uloc.setKeywordValue("Bar", "BarValue");
167 if (!"en_Latn_US@bar=BarValue;foo=FooValue".equals(uloc.getName())) {
168 errln("failed to add bar keyword, got: " + uloc.getName());
170 uloc = uloc.setKeywordValue("BAR", "NewBarValue")
684 ULocale uloc; local
788 ULocale uloc = new ULocale(locale); local
4265 ULocale uloc = ULocale.forLocale((Locale) DATA[i][0]); local
4275 ULocale uloc = ULocale.forLocale((Locale) DATA7[i][0]); local
4295 ULocale uloc = ULocale.forLocale(loc); local
4308 ULocale uloc = ULocale.forLocale((Locale) DATA6[i][0]); local
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
CollatorServiceShim.java 128 protected Object handleCreate(ULocale uloc, int kind, ICUService srvc) {
129 return makeInstance(uloc);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
UResourceBundle.java 185 ULocale uloc = ULocale.getDefault(); local
186 return getBundleInstance(baseName, uloc.toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER,
205 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
207 return getBundleInstance(baseName, uloc.toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER,
248 ULocale uloc = locale == null ? ULocale.getDefault() : ULocale.forLocale(locale); local
249 return getBundleInstance(baseName, uloc.toString(), loader, false);
    [all...]

Completed in 525 milliseconds

1 2 3