HomeSort by relevance Sort by last modified time
    Searched defs:ULocale (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
TestIntMap.java 24 import com.ibm.icu.util.ULocale;
33 for (String langCode : ULocale.getISOLanguages()) {
34 samples.add(ULocale.getDisplayLanguage(langCode, ULocale.JAPANESE));
  /external/icu/android_icu4j/src/main/java/android/icu/text/
ChineseDateFormatSymbols.java 17 import android.icu.util.ULocale;
18 import android.icu.util.ULocale.Category;
49 this(ULocale.getDefault(Category.FORMAT));
59 super(ChineseCalendar.class, ULocale.forLocale(locale));
68 public ChineseDateFormatSymbols(ULocale locale) {
91 public ChineseDateFormatSymbols(Calendar cal, ULocale locale) {
111 protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType) {
CurrencyPluralInfo.java 20 import android.icu.util.ULocale;
21 import android.icu.util.ULocale.Category;
47 initialize(ULocale.getDefault(Category.FORMAT));
55 initialize(ULocale.forLocale(locale));
62 public CurrencyPluralInfo(ULocale locale) {
91 public static CurrencyPluralInfo getInstance(ULocale locale) {
135 public ULocale getLocale() {
136 return ulocale;
171 public void setLocale(ULocale loc) {
172 ulocale = loc
325 private ULocale ulocale = null; field in class:CurrencyPluralInfo
    [all...]
TimeUnitFormat.java 29 import android.icu.util.ULocale;
30 import android.icu.util.ULocale.Category;
48 * format.setLocale(new ULocale("en"));
92 private ULocale locale;
114 this(ULocale.getDefault(), FULL_NAME);
118 * Create TimeUnitFormat given a ULocale, and using full name style.
123 public TimeUnitFormat(ULocale locale) {
138 * Create TimeUnitFormat given a ULocale and a formatting style.
146 public TimeUnitFormat(ULocale locale, int style) {
156 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat)
    [all...]
RuleBasedNumberFormat.java 29 import android.icu.util.ULocale;
30 import android.icu.util.ULocale.Category;
595 private ULocale locale = null;
    [all...]
PluralFormat.java 26 import android.icu.util.ULocale;
27 import android.icu.util.ULocale.Category;
74 * the constructors that takes a <code>ULocale</code> object. To
143 private ULocale ulocale = null; field in class:PluralFormat
190 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
195 * @param ulocale the <code>PluralFormat</code> will be configured with
199 public PluralFormat(ULocale ulocale) {
200 init(null, PluralType.CARDINAL, ulocale, null)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
ChineseDateFormatSymbols.java 16 import com.ibm.icu.util.ULocale;
17 import com.ibm.icu.util.ULocale.Category;
47 this(ULocale.getDefault(Category.FORMAT));
57 super(ChineseCalendar.class, ULocale.forLocale(locale));
66 public ChineseDateFormatSymbols(ULocale locale) {
89 public ChineseDateFormatSymbols(Calendar cal, ULocale locale) {
109 protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType) {
CurrencyPluralInfo.java 19 import com.ibm.icu.util.ULocale;
20 import com.ibm.icu.util.ULocale.Category;
49 initialize(ULocale.getDefault(Category.FORMAT));
58 initialize(ULocale.forLocale(locale));
66 public CurrencyPluralInfo(ULocale locale) {
98 public static CurrencyPluralInfo getInstance(ULocale locale) {
146 public ULocale getLocale() {
147 return ulocale;
185 public void setLocale(ULocale loc) {
186 ulocale = loc
343 private ULocale ulocale = null; field in class:CurrencyPluralInfo
    [all...]
TimeUnitFormat.java 28 import com.ibm.icu.util.ULocale;
29 import com.ibm.icu.util.ULocale.Category;
47 * format.setLocale(new ULocale("en"));
90 private ULocale locale;
112 this(ULocale.getDefault(), FULL_NAME);
116 * Create TimeUnitFormat given a ULocale, and using full name style.
121 public TimeUnitFormat(ULocale locale) {
136 * Create TimeUnitFormat given a ULocale and a formatting style.
144 public TimeUnitFormat(ULocale locale, int style) {
154 private TimeUnitFormat(ULocale locale, int style, NumberFormat numberFormat)
    [all...]
RuleBasedNumberFormat.java 28 import com.ibm.icu.util.ULocale;
29 import com.ibm.icu.util.ULocale.Category;
598 private ULocale locale = null;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CECalendar.java 15 import android.icu.util.ULocale.Category;
60 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
70 this(zone, ULocale.getDefault(Category.FORMAT));
89 protected CECalendar(ULocale locale) {
114 protected CECalendar(TimeZone zone, ULocale locale) {
131 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
142 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
161 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
DangiCalendar.java 14 import android.icu.util.ULocale.Category;
93 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
106 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
120 public DangiCalendar(TimeZone zone, ULocale locale) {
PersianCalendar.java 16 import android.icu.util.ULocale.Category;
57 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a
58 * <code>ULocale</code> with the tag <code>"@calendar=persian"</code>.</p>
113 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
128 this(zone, ULocale.getDefault(Category.FORMAT));
151 * @param locale the given ulocale.
157 public PersianCalendar(ULocale locale)
184 * @param locale the given ulocale.
190 public PersianCalendar(TimeZone zone, ULocale locale)
208 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
EthiopicCalendar.java 17 import android.icu.util.ULocale.Category;
23 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
144 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
154 this(zone, ULocale.getDefault(Category.FORMAT));
173 public EthiopicCalendar(ULocale locale) {
185 this(zone, ULocale.forLocale(aLocale));
195 public EthiopicCalendar(TimeZone zone, ULocale locale) {
375 private void setCalcTypeForLocale(ULocale locale) {
GregorianCalendar.java 14 import android.icu.util.ULocale.Category;
165 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
334 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
344 this(zone, ULocale.getDefault(Category.FORMAT));
359 * @param locale the given ulocale.
361 public GregorianCalendar(ULocale locale) {
380 * @param locale the given ulocale.
382 public GregorianCalendar(TimeZone zone, ULocale locale) {
397 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CECalendar.java 14 import com.ibm.icu.util.ULocale.Category;
59 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
69 this(zone, ULocale.getDefault(Category.FORMAT));
88 protected CECalendar(ULocale locale) {
113 protected CECalendar(TimeZone zone, ULocale locale) {
130 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
141 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
160 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
DangiCalendar.java 13 import com.ibm.icu.util.ULocale.Category;
91 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
104 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
118 public DangiCalendar(TimeZone zone, ULocale locale) {
PersianCalendar.java 15 import com.ibm.icu.util.ULocale.Category;
56 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a
57 * <code>ULocale</code> with the tag <code>"@calendar=persian"</code>.</p>
111 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
126 this(zone, ULocale.getDefault(Category.FORMAT));
148 * @param locale the given ulocale.
154 public PersianCalendar(ULocale locale)
181 * @param locale the given ulocale.
187 public PersianCalendar(TimeZone zone, ULocale locale)
205 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
EthiopicCalendar.java 16 import com.ibm.icu.util.ULocale.Category;
22 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
158 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
169 this(zone, ULocale.getDefault(Category.FORMAT));
190 public EthiopicCalendar(ULocale locale) {
203 this(zone, ULocale.forLocale(aLocale));
214 public EthiopicCalendar(TimeZone zone, ULocale locale) {
401 private void setCalcTypeForLocale(ULocale locale) {
  /cts/tests/tests/media/src/android/media/cts/
AudioPresentationTest.java 21 import android.icu.util.ULocale;
47 .setLocale(ULocale.forLocale(LOCALE))
106 .setLocale(ULocale.forLocale(LOCALE))).build();
108 .setLocale(ULocale.forLocale(LOCALE))).build();
113 .setLocale(ULocale.forLocale(LOCALE_3))).build();
126 .setLabels(new HashMap<ULocale, CharSequence>())).build();
192 private static Map<ULocale, CharSequence> localeToULocale(Map<Locale, CharSequence> locales) {
193 Map<ULocale, CharSequence> ulocaleLabels = new HashMap<ULocale, CharSequence>();
195 ulocaleLabels.put(ULocale.forLocale(entry.getKey()), entry.getValue())
    [all...]
  /external/cldr/tools/java/com/ibm/icu/text/
GenderInfo.java 10 import com.ibm.icu.util.ULocale;
29 * Create GenderInfo from a ULocale.
31 * @param uLocale
33 public GenderInfo(ULocale uLocale) {
34 ULocale language = new ULocale(uLocale.getLanguage()); // in the hard coded data, the language is sufficient.
43 * @param uLocale
46 this(ULocale.forLocale(locale))
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
ULocaleTest.java 15 import com.ibm.icu.util.ULocale;
16 import com.ibm.icu.util.ULocale.Category;
23 private ULocale longULocale;
36 longULocale = new ULocale(longULocaleName);
37 sampleLocale = new ULocale(sampleName).toLocale();
41 * Test method for 'com.ibm.icu.x.util.ULocale.hashCode()'
44 ULocale obj = ULocale.GERMANY;
45 ULocale eq = new ULocale("de_DE")
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
IntlTestDateFormat.java 35 import android.icu.util.ULocale;
70 localeTest(ULocale.getDefault(), "Default Locale");
74 private void localeTest(final ULocale locale, final String localeName) {
172 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE));
242 final ULocale[] locales = DateFormat.getAvailableULocales();
258 ULocale[] locales;
260 locales = new ULocale[] {
261 new ULocale("bg_BG"),
262 new ULocale("fr_CA"),
263 new ULocale("zh_TW")
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
IntlTestDateFormat.java 34 import com.ibm.icu.util.ULocale;
67 localeTest(ULocale.getDefault(), "Default Locale");
71 private void localeTest(final ULocale locale, final String localeName) {
169 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE));
239 final ULocale[] locales = DateFormat.getAvailableULocales();
255 ULocale[] locales;
257 locales = new ULocale[] {
258 new ULocale("bg_BG"),
259 new ULocale("fr_CA"),
260 new ULocale("zh_TW")
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimpleFilteredSentenceBreakIterator.java 24 import android.icu.util.ULocale;
289 this(ULocale.forLocale(loc));
295 public Builder(ULocale loc) {

Completed in 1670 milliseconds

1 2 3