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

<<11121314151617181920

  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUResourceBundle.java 28 import com.ibm.icu.util.ULocale;
156 this.ulocale = new ULocale(localeID);
163 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle
193 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader,
194 String resName, String keyword, ULocale locID,
199 ULocale parent = new ULocale(baseLoc);
200 ULocale defLoc = null; // locale where default (found) resource i
    [all...]
ICUService.java 25 import com.ibm.icu.util.ULocale;
26 import com.ibm.icu.util.ULocale.Category;
255 public String getDisplayName(String id, ULocale locale);
322 public String getDisplayName(String identifier, ULocale locale) {
625 * Convenience override for getDisplayName(String, ULocale) that
629 return getDisplayName(id, ULocale.getDefault(Category.DISPLAY));
637 public String getDisplayName(String id, ULocale locale) {
656 * Convenience override of getDisplayNames(ULocale, Comparator, String) that
661 ULocale locale = ULocale.getDefault(Category.DISPLAY)
    [all...]
ResourceBundleWrapper.java 19 import com.ibm.icu.util.ULocale;
89 public ULocale getULocale(){
90 return new ULocale(localeID);
121 ULocale defaultLocale = ULocale.getDefault();
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUService.java 26 import android.icu.util.ULocale;
27 import android.icu.util.ULocale.Category;
257 public String getDisplayName(String id, ULocale locale);
324 public String getDisplayName(String identifier, ULocale locale) {
627 * Convenience override for getDisplayName(String, ULocale) that
631 return getDisplayName(id, ULocale.getDefault(Category.DISPLAY));
639 public String getDisplayName(String id, ULocale locale) {
658 * Convenience override of getDisplayNames(ULocale, Comparator, String) that
663 ULocale locale = ULocale.getDefault(Category.DISPLAY)
    [all...]
ResourceBundleWrapper.java 20 import android.icu.util.ULocale;
91 public ULocale getULocale(){
92 return new ULocale(localeID);
123 ULocale defaultLocale = ULocale.getDefault();
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
MeasureUnitTest.java 40 import android.icu.util.ULocale;
688 ULocale.FRENCH, FormatWidth.SHORT);
694 ULocale.FRENCH, FormatWidth.WIDE);
708 ULocale.FRENCH, FormatWidth.NARROW);
715 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE);
833 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH);
835 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf);
837 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf);
839 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf);
841 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf)
    [all...]
NumberFormatTest.java 47 import android.icu.util.ULocale;
54 private static ULocale EN = new ULocale("en");
575 NumberFormat nff = NumberFormat.getNumberInstance(ULocale.ENGLISH);
584 DecimalFormat parser = (DecimalFormat) NumberFormat.getInstance(new ULocale("fa"));
594 DecimalFormat parser = (DecimalFormat) NumberFormat.getInstance(new ULocale("en"));
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
TrieMapTest.java 31 import android.icu.util.ULocale;
75 ULocale[] locales = useSmallList ? new ULocale[] {new ULocale("zh"), new ULocale("el")} : ULocale.getAvailableLocales();
76 for (ULocale locale : locales) {
81 for (String languageCode : ULocale.getISOLanguages()) {
82 localeName = ULocale.getDisplayName(languageCode, locale);
90 for (String countryCode : ULocale.getISOCountries())
    [all...]
CurrencyTest.java 36 import android.icu.util.ULocale;
93 usd.getName(ULocale.US, 5, new boolean[1]);
120 ULocale fu_FU = new ULocale("fu_FU");
122 Object key1 = Currency.registerInstance(jpy, ULocale.US);
136 ULocale[] locales = Currency.getAvailableULocales();
191 ULocale en = ULocale.ENGLISH;
223 CurrencyDisplayNames cdn = CurrencyDisplayNames.getInstance(ULocale.GERMANY);
230 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("en-US"))
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
MeasureUnitTest.java 39 import com.ibm.icu.util.ULocale;
684 ULocale.FRENCH, FormatWidth.SHORT);
690 ULocale.FRENCH, FormatWidth.WIDE);
704 ULocale.FRENCH, FormatWidth.NARROW);
711 MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE);
829 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH);
831 MeasureFormat mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE, nf);
833 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.SHORT, nf);
835 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NARROW, nf);
837 mf = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.NUMERIC, nf)
    [all...]
NumberFormatTest.java 46 import com.ibm.icu.util.ULocale;
50 private static ULocale EN = new ULocale("en");
571 NumberFormat nff = NumberFormat.getNumberInstance(ULocale.ENGLISH);
580 DecimalFormat parser = (DecimalFormat) NumberFormat.getInstance(new ULocale("fa"));
590 DecimalFormat parser = (DecimalFormat) NumberFormat.getInstance(new ULocale("en"));
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
TrieMapTest.java 30 import com.ibm.icu.util.ULocale;
71 ULocale[] locales = useSmallList ? new ULocale[] {new ULocale("zh"), new ULocale("el")} : ULocale.getAvailableLocales();
72 for (ULocale locale : locales) {
77 for (String languageCode : ULocale.getISOLanguages()) {
78 localeName = ULocale.getDisplayName(languageCode, locale);
86 for (String countryCode : ULocale.getISOCountries())
    [all...]
CurrencyTest.java 35 import com.ibm.icu.util.ULocale;
89 usd.getName(ULocale.US, 5, new boolean[1]);
116 ULocale fu_FU = new ULocale("fu_FU");
118 Object key1 = Currency.registerInstance(jpy, ULocale.US);
132 ULocale[] locales = Currency.getAvailableULocales();
187 ULocale en = ULocale.ENGLISH;
219 CurrencyDisplayNames cdn = CurrencyDisplayNames.getInstance(ULocale.GERMANY);
226 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("en-US"))
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DangiTest.java 16 import android.icu.util.ULocale;
76 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
136 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
167 Calendar dangi = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
176 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
267 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
312 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
343 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
386 // DangiCalendar(TimeZone, ULocale)
394 DangiCalendar cal3 = new DangiCalendar(TimeZone.getDefault(), ULocale.getDefault())
    [all...]
DataDrivenCalendarTest.java 21 import android.icu.util.ULocale;
121 ULocale loc = new ULocale(testSetting);
133 ULocale fromLoc = new ULocale(testSetting);
184 ULocale loc = new ULocale(locale);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DangiTest.java 15 import com.ibm.icu.util.ULocale;
72 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
132 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
163 Calendar dangi = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
172 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
263 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
308 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
339 Calendar cal = Calendar.getInstance(new ULocale("ko_KR@calendar=dangi"));
382 // DangiCalendar(TimeZone, ULocale)
390 DangiCalendar cal3 = new DangiCalendar(TimeZone.getDefault(), ULocale.getDefault())
    [all...]
DataDrivenCalendarTest.java 20 import com.ibm.icu.util.ULocale;
117 ULocale loc = new ULocale(testSetting);
129 ULocale fromLoc = new ULocale(testSetting);
180 ULocale loc = new ULocale(locale);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/
TestCLDRVsICU.java 45 import android.icu.util.ULocale;
79 // ULocale uLocale = ULocale.ENGLISH;
80 // Locale oLocale = Locale.ENGLISH; // TODO Drop once ICU4J has ULocale everywhere
134 public void addLocales(ULocale[] list, Collection s) {
141 public String getLanguage(ULocale uLocale) {
142 String result = uLocale.getLanguage();
143 String script = uLocale.getScript()
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/
TestCLDRVsICU.java 44 import com.ibm.icu.util.ULocale;
75 // ULocale uLocale = ULocale.ENGLISH;
76 // Locale oLocale = Locale.ENGLISH; // TODO Drop once ICU4J has ULocale everywhere
130 public void addLocales(ULocale[] list, Collection s) {
137 public String getLanguage(ULocale uLocale) {
138 String result = uLocale.getLanguage();
139 String script = uLocale.getScript()
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MeasureFormat.java 47 import android.icu.util.ULocale;
48 import android.icu.util.ULocale.Category;
62 * ULocale.FRENCH, FormatWidth.SHORT);
74 * ULocale.FRENCH, FormatWidth.WIDE);
86 ULocale.FRENCH, FormatWidth.NARROW);
93 * MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE);
133 private static final SimpleCache<ULocale, MeasureFormatData> localeMeasureFormatData
134 = new SimpleCache<ULocale, MeasureFormatData>();
136 private static final SimpleCache<ULocale, NumericFormatters> localeToNumericDurationFormatters
137 = new SimpleCache<ULocale,NumericFormatters>()
    [all...]
NumberingSystem.java 19 import android.icu.util.ULocale;
20 import android.icu.util.ULocale.Category;
101 return getInstance(ULocale.forLocale(inLocale));
105 * Returns the default numbering system for the specified ULocale.
107 public static NumberingSystem getInstance(ULocale locale) {
184 return getInstance(ULocale.getDefault(Category.FORMAT));
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MeasureFormat.java 46 import com.ibm.icu.util.ULocale;
47 import com.ibm.icu.util.ULocale.Category;
61 * ULocale.FRENCH, FormatWidth.SHORT);
73 * ULocale.FRENCH, FormatWidth.WIDE);
85 ULocale.FRENCH, FormatWidth.NARROW);
92 * MeasureFormat fmtEn = MeasureFormat.getInstance(ULocale.ENGLISH, FormatWidth.WIDE);
133 private static final SimpleCache<ULocale, MeasureFormatData> localeMeasureFormatData
134 = new SimpleCache<ULocale, MeasureFormatData>();
136 private static final SimpleCache<ULocale, NumericFormatters> localeToNumericDurationFormatters
137 = new SimpleCache<ULocale,NumericFormatters>()
    [all...]
  /libcore/luni/src/main/java/libcore/icu/
RelativeDateTimeFormatter.java 24 import android.icu.util.ULocale;
107 ULocale icuLocale = ULocale.forLocale(locale);
113 private static String getRelativeTimeSpanString(ULocale icuLocale,
269 ULocale icuLocale = ULocale.forLocale(locale);
338 ULocale locale, android.icu.text.RelativeDateTimeFormatter.Style style,
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
BreakIteratorTest.java 15 import com.ibm.icu.util.ULocale;
235 * Test method for 'com.ibm.icu.text.BreakIterator.getWordInstance(ULocale)'
238 assertNotNull(BreakIterator.getWordInstance(ULocale.JAPAN));
256 * Test method for 'com.ibm.icu.text.BreakIterator.getLineInstance(ULocale)'
259 assertNotNull(BreakIterator.getLineInstance(ULocale.JAPAN));
277 * Test method for 'com.ibm.icu.text.BreakIterator.getCharacterInstance(ULocale)'
280 assertNotNull(BreakIterator.getCharacterInstance(ULocale.JAPAN));
298 * Test method for 'com.ibm.icu.text.BreakIterator.getSentenceInstance(ULocale)'
301 assertNotNull(BreakIterator.getSentenceInstance(ULocale.JAPAN));
319 * Test method for 'com.ibm.icu.text.BreakIterator.getTitleInstance(ULocale)'
    [all...]
MessageFormatTest.java 19 import com.ibm.icu.util.ULocale;
66 * Test method for 'com.ibm.icu.text.MessageFormat.MessageFormat(String, ULocale)'
69 MessageFormat mf = new MessageFormat(pattern, ULocale.US);
84 * Test method for 'com.ibm.icu.text.MessageFormat.setLocale(ULocale)'
88 mf.setLocale(ULocale.GERMANY);
107 mf.setLocale(ULocale.GERMANY);
108 assertEquals(ULocale.GERMANY, mf.getULocale());

Completed in 767 milliseconds

<<11121314151617181920