/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleDataTest.java | 20 import android.icu.util.ULocale; 37 private ULocale[] availableLocales = null; 46 ULocale locale = availableLocales[i]; 53 ULocale fullLoc = ULocale.addLikelySubtags(locale); 83 ULocale locale = availableLocales[i]; 90 ULocale fullLoc = ULocale.addLikelySubtags(locale); 122 LocaleData ld = LocaleData.getInstance(ULocale.ENGLISH); 171 ULocale locale = availableLocales[i] [all...] |
ICUServiceTest.java | 38 import android.icu.util.ULocale; 71 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 72 * uses the current default ULocale as the locale, the default collator for 77 ULocale locale = ULocale.getDefault(); 83 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 87 public SortedMap getDisplayNames(ICUService service, ULocale locale) { 92 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 96 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { 205 return new ULocale(key.currentID()) [all...] |
ICUServiceTestSample.java | 20 import android.icu.util.ULocale; 62 Map names = HelloService.getDisplayNames(ULocale.US); 101 HelloService.register(updates[i][0], new ULocale(updates[i][1])); 190 public static Map getDisplayNames(ULocale locale) { 197 public static void register(String helloString, ULocale locale) { 208 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 212 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleDataTest.java | 19 import com.ibm.icu.util.ULocale; 33 private ULocale[] availableLocales = null; 42 ULocale locale = availableLocales[i]; 49 ULocale fullLoc = ULocale.addLikelySubtags(locale); 79 ULocale locale = availableLocales[i]; 86 ULocale fullLoc = ULocale.addLikelySubtags(locale); 118 LocaleData ld = LocaleData.getInstance(ULocale.ENGLISH); 167 ULocale locale = availableLocales[i] [all...] |
ICUServiceTest.java | 37 import com.ibm.icu.util.ULocale; 67 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 68 * uses the current default ULocale as the locale, the default collator for 73 ULocale locale = ULocale.getDefault(); 79 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 83 public SortedMap getDisplayNames(ICUService service, ULocale locale) { 88 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 92 public SortedMap getDisplayNames(ICUService service, ULocale locale, String matchID) { 201 return new ULocale(key.currentID()) [all...] |
ICUServiceTestSample.java | 19 import com.ibm.icu.util.ULocale; 61 Map names = HelloService.getDisplayNames(ULocale.US); 100 HelloService.register(updates[i][0], new ULocale(updates[i][1])); 189 public static Map getDisplayNames(ULocale locale) { 196 public static void register(String helloString, ULocale locale) { 207 * Convenience override of getDisplayNames(ULocale, Comparator, String) that 211 public static SortedMap getDisplayNames(ICUService service, ULocale locale) {
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocaleData.java | 14 import android.icu.util.ULocale.Category; 112 * Returns the set of exemplar characters for a locale. Equivalent to calling {@link #getExemplarSet(ULocale, int, int)} with 127 public static UnicodeSet getExemplarSet(ULocale locale, int options) { 148 public static UnicodeSet getExemplarSet(ULocale locale, int options, int extype) { 202 * Gets the LocaleData object associated with the ULocale specified in locale 207 public static final LocaleData getInstance(ULocale locale) { 222 return LocaleData.getInstance(ULocale.getDefault(Category.FORMAT)); 278 private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementType){ 281 ULocale fullLoc = ULocale.addLikelySubtags(locale) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDateFormat.java | 27 import android.icu.util.ULocale; 63 localeTest(ULocale.getDefault(), "Default Locale"); 67 public void localeTest(final ULocale locale, final String localeName) { 165 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE)); 234 final ULocale[] locales = DateFormat.getAvailableULocales(); 249 ULocale[] locales; 251 locales = new ULocale[] { 252 new ULocale("bg_BG"), 253 new ULocale("fr_CA"), 254 new ULocale("zh_TW") [all...] |
PluralRulesTest.java | 49 import android.icu.util.ULocale; 87 for (ULocale locale : new ULocale[] { ULocale.ENGLISH, new ULocale("cy"), new ULocale("ar") }) { 318 main: for (ULocale locale : factory.getAvailableULocales()) { 401 ULocale locale = null; 462 PluralRules rules = factory.forLocale(ULocale.US); 467 rules = factory.forLocale(ULocale.JAPAN) [all...] |
NumberFormatSpecificationTest.java | 15 import android.icu.util.ULocale; 128 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); 136 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.US); 142 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); 152 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); 158 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocaleData.java | 13 import com.ibm.icu.util.ULocale.Category; 121 * Returns the set of exemplar characters for a locale. Equivalent to calling {@link #getExemplarSet(ULocale, int, int)} with 137 public static UnicodeSet getExemplarSet(ULocale locale, int options) { 159 public static UnicodeSet getExemplarSet(ULocale locale, int options, int extype) { 214 * Gets the LocaleData object associated with the ULocale specified in locale 220 public static final LocaleData getInstance(ULocale locale) { 236 return LocaleData.getInstance(ULocale.getDefault(Category.FORMAT)); 295 private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementType){ 298 ULocale fullLoc = ULocale.addLikelySubtags(locale) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDateFormat.java | 26 import com.ibm.icu.util.ULocale; 59 localeTest(ULocale.getDefault(), "Default Locale"); 63 public void localeTest(final ULocale locale, final String localeName) { 161 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE)); 230 final ULocale[] locales = DateFormat.getAvailableULocales(); 245 ULocale[] locales; 247 locales = new ULocale[] { 248 new ULocale("bg_BG"), 249 new ULocale("fr_CA"), 250 new ULocale("zh_TW") [all...] |
PluralRulesTest.java | 48 import com.ibm.icu.util.ULocale; 83 for (ULocale locale : new ULocale[] { ULocale.ENGLISH, new ULocale("cy"), new ULocale("ar") }) { 314 main: for (ULocale locale : factory.getAvailableULocales()) { 397 ULocale locale = null; 458 PluralRules rules = factory.forLocale(ULocale.US); 463 rules = factory.forLocale(ULocale.JAPAN) [all...] |
NumberFormatSpecificationTest.java | 14 import com.ibm.icu.util.ULocale; 124 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); 132 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.US); 138 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); 148 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE); 154 DecimalFormatSymbols sym = new DecimalFormatSymbols(ULocale.FRANCE);
|
/libcore/luni/src/test/java/libcore/icu/ |
DateIntervalFormatTest.java | 21 import android.icu.util.ULocale; 37 Calendar c = Calendar.getInstance(tz, ULocale.US); 56 ULocale de_DE = new ULocale("de", "DE"); 57 ULocale en_US = new ULocale("en", "US"); 58 ULocale es_ES = new ULocale("es", "ES"); 59 ULocale es_US = new ULocale("es", "US") [all...] |
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 20 import android.icu.util.ULocale; 60 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); 61 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); 98 DateIntervalInfo dtitvinf = new DateIntervalInfo(ULocale.ENGLISH); 108 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); 109 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
Collator.java | 13 import com.ibm.icu.util.ULocale; 381 // * ULocale instead of Locale. Instead of overriding createCollator(Locale), 382 // * new implementations should override createCollator(ULocale). Note that 409 // public Collator createCollator(ULocale loc) { 417 // * createCollator(ULocale) instead of this method, and inherit this 419 // * and instead delegates to createCollator(ULocale). 425 // return createCollator(ULocale.forLocale(loc)); 437 // return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); 448 // public String getDisplayName(ULocale objectLocale, ULocale displayLocale) [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
TimeZone.java | 16 import com.ibm.icu.util.ULocale.Category; 363 return timeZone.getDisplayName(ULocale.getDefault(Category.DISPLAY).toLocale()); 387 * @param locale the ulocale in which to supply the display name. 389 * or in the default ulocale if the given ulocale is not recognized. 392 public final String getDisplayName(ULocale locale) { 411 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY)); 432 return getDisplayName(daylight, style, ULocale.forLocale(locale)); 452 public String getDisplayName(boolean daylight, int style, ULocale locale) { [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 19 import com.ibm.icu.util.ULocale; 59 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); 60 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); 97 DateIntervalInfo dtitvinf = new DateIntervalInfo(ULocale.ENGLISH); 107 DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); 108 DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateFormat.java | 30 import android.icu.util.ULocale; 31 import android.icu.util.ULocale.Category; [all...] |
CurrencyFormat.java | 20 import android.icu.util.ULocale; 41 public CurrencyFormat(ULocale locale) { 42 // Needed for getLocale(ULocale.VALID_LOCALE). 119 return new CurrencyFormat(fmt.getLocale(ULocale.ACTUAL_LOCALE));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateFormat.java | 29 import com.ibm.icu.util.ULocale; 30 import com.ibm.icu.util.ULocale.Category; [all...] |
CurrencyFormat.java | 19 import com.ibm.icu.util.ULocale; 40 public CurrencyFormat(ULocale locale) { 41 // Needed for getLocale(ULocale.VALID_LOCALE). 118 return new CurrencyFormat(fmt.getLocale(ULocale.ACTUAL_LOCALE));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Timer.java | 12 import android.icu.util.ULocale; 80 private DecimalFormat nf = (DecimalFormat) NumberFormat.getNumberInstance(ULocale.ENGLISH); 81 private DecimalFormat pf = (DecimalFormat) NumberFormat.getPercentInstance(ULocale.ENGLISH);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Timer.java | 11 import com.ibm.icu.util.ULocale; 79 private DecimalFormat nf = (DecimalFormat) NumberFormat.getNumberInstance(ULocale.ENGLISH); 80 private DecimalFormat pf = (DecimalFormat) NumberFormat.getPercentInstance(ULocale.ENGLISH);
|