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

1 23 4 5 6 7 8 91011>>

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
TimeUnitTest.java 22 import com.ibm.icu.util.ULocale;
34 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME);
37 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.ENGLISH);
46 TimeUnitFormat tuf = new TimeUnitFormat(ULocale.ENGLISH, TimeUnitFormat.FULL_NAME);
62 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME),
63 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME),
97 format.setLocale(new ULocale("pt_BR"));
99 format = new TimeUnitFormat(new ULocale("de"));
101 format = new TimeUnitFormat(new ULocale("ja"));
102 format.setNumberFormat(NumberFormat.getNumberInstance(new ULocale("en")))
    [all...]
TimeZoneFormatTest.java 43 import com.ibm.icu.util.ULocale;
119 ULocale[] LOCALES = null;
121 LOCALES = ULocale.getAvailableLocales();
123 LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("zh_Hant")};
331 ULocale[] LOCALES = null;
339 LOCALES = ULocale.getAvailableLocales()
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CurrencyDisplayNames.java 14 import android.icu.util.ULocale;
35 public static CurrencyDisplayNames getInstance(ULocale locale) {
57 * this behaves like {@link #getInstance(ULocale)}. Otherwise, 1) if there
67 public static CurrencyDisplayNames getInstance(ULocale locale, boolean noSubstitute) {
85 return getInstance(ULocale.forLocale(locale), noSubstitute);
101 * This is not necessarily the same locale passed to {@link #getInstance(ULocale)}.
104 public abstract ULocale getULocale();
DurationFormat.java 15 import android.icu.util.ULocale;
39 public static DurationFormat getInstance(ULocale locale) {
59 protected DurationFormat(ULocale locale) {
LocaleDisplayNames.java 22 import android.icu.util.ULocale;
27 * values, see {@link android.icu.util.ULocale}.
31 * Enum used in {@link #getInstance(ULocale, DialectHandling)}.
48 * Convenience overload of {@link #getInstance(ULocale, DialectHandling)} that specifies
53 public static LocaleDisplayNames getInstance(ULocale locale) {
64 return getInstance(ULocale.forLocale(locale));
74 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) {
100 public static LocaleDisplayNames getInstance(ULocale locale, DisplayContext... contexts) {
127 return getInstance(ULocale.forLocale(locale), contexts);
136 public abstract ULocale getLocale()
    [all...]
FilteredBreakIteratorBuilder.java 11 import android.icu.util.ULocale;
56 public static FilteredBreakIteratorBuilder createInstance(ULocale where) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CurrencyDisplayNames.java 13 import com.ibm.icu.util.ULocale;
35 public static CurrencyDisplayNames getInstance(ULocale locale) {
58 * this behaves like {@link #getInstance(ULocale)}. Otherwise, 1) if there
69 public static CurrencyDisplayNames getInstance(ULocale locale, boolean noSubstitute) {
88 return getInstance(ULocale.forLocale(locale), noSubstitute);
104 * This is not necessarily the same locale passed to {@link #getInstance(ULocale)}.
108 public abstract ULocale getULocale();
DurationFormat.java 14 import com.ibm.icu.util.ULocale;
37 public static DurationFormat getInstance(ULocale locale) {
57 protected DurationFormat(ULocale locale) {
LocaleDisplayNames.java 21 import com.ibm.icu.util.ULocale;
26 * values, see {@link com.ibm.icu.util.ULocale}.
31 * Enum used in {@link #getInstance(ULocale, DialectHandling)}.
51 * Convenience overload of {@link #getInstance(ULocale, DialectHandling)} that specifies
57 public static LocaleDisplayNames getInstance(ULocale locale) {
69 return getInstance(ULocale.forLocale(locale));
80 public static LocaleDisplayNames getInstance(ULocale locale, DialectHandling dialectHandling) {
107 public static LocaleDisplayNames getInstance(ULocale locale, DisplayContext... contexts) {
135 return getInstance(ULocale.forLocale(locale), contexts);
145 public abstract ULocale getLocale()
    [all...]
FilteredBreakIteratorBuilder.java 10 import com.ibm.icu.util.ULocale;
54 public static FilteredBreakIteratorBuilder createInstance(ULocale where) {
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICULocaleService.java 15 import android.icu.util.ULocale;
21 private ULocale fallbackLocale;
39 * get(ULocale, int, ULocale[]) with KIND_ANY for kind and null for
42 public Object get(ULocale locale) {
48 * get(ULocale, int, ULocale[]) with a null actualReturn.
50 public Object get(ULocale locale, int kind) {
56 * get(ULocale, int, ULocale[]) with KIND_ANY for kind
    [all...]
PluralRulesLoader.java 22 import android.icu.util.ULocale;
34 private Map<String, ULocale> rulesIdToEquivalentULocale;
48 public ULocale[] getAvailableULocales() {
50 ULocale[] locales = new ULocale[keys.size()];
53 locales[n++] = ULocale.createCanonical(iter.next());
61 public ULocale getFunctionalEquivalent(ULocale locale, boolean[] isAvailable) {
63 String localeId = ULocale.canonicalize(locale.getBaseName());
70 return ULocale.ROOT; // ultimate fallbac
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICULocaleService.java 14 import com.ibm.icu.util.ULocale;
17 private ULocale fallbackLocale;
35 * get(ULocale, int, ULocale[]) with KIND_ANY for kind and null for
38 public Object get(ULocale locale) {
44 * get(ULocale, int, ULocale[]) with a null actualReturn.
46 public Object get(ULocale locale, int kind) {
52 * get(ULocale, int, ULocale[]) with KIND_ANY for kind
    [all...]
PluralRulesLoader.java 21 import com.ibm.icu.util.ULocale;
32 private Map<String, ULocale> rulesIdToEquivalentULocale;
46 public ULocale[] getAvailableULocales() {
48 ULocale[] locales = new ULocale[keys.size()];
51 locales[n++] = ULocale.createCanonical(iter.next());
59 public ULocale getFunctionalEquivalent(ULocale locale, boolean[] isAvailable) {
61 String localeId = ULocale.canonicalize(locale.getBaseName());
68 return ULocale.ROOT; // ultimate fallbac
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ULocaleCollationTest.java 31 import android.icu.util.ULocale;
44 public Object create(ULocale req) {
48 public Object register(ULocale loc, Object prototype) {
63 Object create(ULocale requestedLocale);
79 Object register(ULocale loc, Object prototype);
151 Class[] getLocaleParams = new Class[] { ULocale.Type.class };
155 ULocale valid = (ULocale) getLocale.invoke(obj, new Object[] {
156 ULocale.VALID_LOCALE });
157 ULocale actual = (ULocale) getLocale.invoke(obj, new Object[]
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
ULocaleCollationTest.java 30 import com.ibm.icu.util.ULocale;
40 public Object create(ULocale req) {
44 public Object register(ULocale loc, Object prototype) {
59 Object create(ULocale requestedLocale);
75 Object register(ULocale loc, Object prototype);
147 Class[] getLocaleParams = new Class[] { ULocale.Type.class };
151 ULocale valid = (ULocale) getLocale.invoke(obj, new Object[] {
152 ULocale.VALID_LOCALE });
153 ULocale actual = (ULocale) getLocale.invoke(obj, new Object[]
    [all...]
  /external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/
TimeZoneNamesTest.java 20 import android.icu.util.ULocale;
43 TimeZoneNames uLocaleInstance = TimeZoneNames.getInstance(ULocale.CANADA);
61 TimeZoneNames japaneseNames = TimeZoneNames.getInstance(ULocale.JAPANESE);
64 TimeZoneNames tzdbNames = TimeZoneNames.getTZDBInstance(ULocale.CHINESE);
76 TimeZoneNames japaneseNames = TimeZoneNames.getInstance(ULocale.JAPANESE);
80 TimeZoneNames tzdbNames = TimeZoneNames.getTZDBInstance(ULocale.CHINESE);
87 TimeZoneNames usNames = TimeZoneNames.getInstance(ULocale.US);
93 TimeZoneNames tzdbNames = TimeZoneNames.getTZDBInstance(ULocale.CHINESE);
101 TimeZoneNames usNames = TimeZoneNames.getInstance(ULocale.US);
106 TimeZoneNames tzdbNames = TimeZoneNames.getTZDBInstance(ULocale.KOREAN)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
ULocale.java 67 * <p>ULocale performs <b>'normalization'</b> and <b>'canonicalization'</b> of locale ids.
86 * All ULocale constructors automatically normalize the locale id. To handle
99 public final class ULocale implements Serializable, Comparable<ULocale> {
108 public static final ULocale ENGLISH = new ULocale("en", Locale.ENGLISH);
113 public static final ULocale FRENCH = new ULocale("fr", Locale.FRENCH);
118 public static final ULocale GERMAN = new ULocale("de", Locale.GERMAN)
    [all...]
CECalendar.java 13 import android.icu.util.ULocale.Category;
58 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
68 this(zone, ULocale.getDefault(Category.FORMAT));
87 protected CECalendar(ULocale locale) {
112 protected CECalendar(TimeZone zone, ULocale locale) {
129 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
140 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
159 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
LocaleMatcher.java 60 private static final ULocale UNKNOWN_LOCALE = new ULocale("und");
71 private final ULocale defaultLanguage;
123 for (final ULocale language : languagePriorityList) {
127 Iterator<ULocale> it = languagePriorityList.iterator();
144 public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) {
153 * @param ulocale language/locale cod
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
ULocale.java 66 * <p>ULocale performs <b>'normalization'</b> and <b>'canonicalization'</b> of locale ids.
85 * All ULocale constructors automatically normalize the locale id. To handle
99 public final class ULocale implements Serializable, Comparable<ULocale> {
109 public static final ULocale ENGLISH = new ULocale("en", Locale.ENGLISH);
115 public static final ULocale FRENCH = new ULocale("fr", Locale.FRENCH);
121 public static final ULocale GERMAN = new ULocale("de", Locale.GERMAN)
    [all...]
CECalendar.java 12 import com.ibm.icu.util.ULocale.Category;
57 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
67 this(zone, ULocale.getDefault(Category.FORMAT));
86 protected CECalendar(ULocale locale) {
111 protected CECalendar(TimeZone zone, ULocale locale) {
128 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
139 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
158 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
LocaleMatcher.java 59 private static final ULocale UNKNOWN_LOCALE = new ULocale("und");
70 private final ULocale defaultLanguage;
124 for (final ULocale language : languagePriorityList) {
128 Iterator<ULocale> it = languagePriorityList.iterator();
146 public double match(ULocale desired, ULocale desiredMax, ULocale supported, ULocale supportedMax) {
155 * @param ulocale language/locale cod
    [all...]
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
LocaleNameTest.java 15 import com.ibm.icu.util.ULocale;
43 ULocale inULocale = ULocale.forLocale(inLocale);
64 ULocale forULocale = new ULocale(icuid.toString());
65 String icuname = ULocale.getDisplayLanguage(forULocale.getLanguage(), inULocale);
107 ULocale inULocale = ULocale.forLocale(inLocale);
109 for (ULocale forULocale : ULocale.getAvailableLocales())
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
TimeZoneFormatTest.java 44 import android.icu.util.ULocale;
123 ULocale[] LOCALES = null;
125 LOCALES = ULocale.getAvailableLocales();
127 LOCALES = new ULocale[] {new ULocale("en"), new ULocale("en_CA"), new ULocale("fr"), new ULocale("zh_Hant")};
335 ULocale[] LOCALES = null;
343 LOCALES = ULocale.getAvailableLocales()
    [all...]

Completed in 388 milliseconds

1 23 4 5 6 7 8 91011>>