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

1 2 3

  /external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/rules/
ULocaleDefaultRule.java 18 import android.icu.util.ULocale;
24 * Add this as a rule to a JUnit 4 class to support switching the {@link ULocale#getDefault()} for
43 ULocale previousDefault = ULocale.getDefault();
45 ULocale.setDefault(ULocale.forLanguageTag(annotation.languageTag()));
48 ULocale.setDefault(previousDefault);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
ChineseDateFormatSymbols.java 15 import android.icu.util.ULocale;
16 import android.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) {
108 protected void initializeData(ULocale loc, CalendarData calData) {
CurrencyPluralInfo.java 18 import android.icu.util.ULocale;
19 import android.icu.util.ULocale.Category;
45 initialize(ULocale.getDefault(Category.FORMAT));
53 initialize(ULocale.forLocale(locale));
60 public CurrencyPluralInfo(ULocale locale) {
89 public static CurrencyPluralInfo getInstance(ULocale locale) {
133 public ULocale getLocale() {
134 return ulocale;
165 public void setLocale(ULocale loc) {
166 ulocale = loc
315 private ULocale ulocale = null; field in class:CurrencyPluralInfo
    [all...]
DecimalFormatSymbols.java 26 import android.icu.util.ULocale;
27 import android.icu.util.ULocale.Category;
51 initialize(ULocale.getDefault(Category.FORMAT));
59 initialize(ULocale.forLocale(locale));
66 public DecimalFormatSymbols(ULocale locale) {
112 public static DecimalFormatSymbols getInstance(ULocale locale) {
139 * returns the array of <code>ULocale</code>s available in this class. ICU currently
143 * @return An array of <code>ULocale</code>s for which localized
147 public static ULocale[] getAvailableULocales() {
698 public ULocale getULocale()
1189 private ULocale ulocale; field in class:DecimalFormatSymbols
    [all...]
RuleBasedNumberFormat.java 26 import android.icu.util.ULocale;
27 import android.icu.util.ULocale.Category;
592 private ULocale locale = null;
    [all...]
PluralFormat.java 21 import android.icu.util.ULocale;
22 import android.icu.util.ULocale.Category;
69 * the constructors that takes a <code>ULocale</code> object. To
138 private ULocale ulocale = null; field in class:PluralFormat
185 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null);
190 * @param ulocale the <code>PluralFormat</code> will be configured with
194 public PluralFormat(ULocale ulocale) {
195 init(null, PluralType.CARDINAL, ulocale, null)
    [all...]
TimeUnitFormat.java 27 import android.icu.util.ULocale;
28 import android.icu.util.ULocale.Category;
46 * format.setLocale(new ULocale("en"));
90 private ULocale locale;
119 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE);
125 * Create TimeUnitFormat given a ULocale, and using full name style.
130 public TimeUnitFormat(ULocale locale) {
145 * Create TimeUnitFormat given a ULocale and a formatting style.
153 public TimeUnitFormat(ULocale locale, int style) {
161 // Needed for getLocale(ULocale.VALID_LOCALE
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
ChineseDateFormatSymbols.java 14 import com.ibm.icu.util.ULocale;
15 import com.ibm.icu.util.ULocale.Category;
45 this(ULocale.getDefault(Category.FORMAT));
55 super(ChineseCalendar.class, ULocale.forLocale(locale));
64 public ChineseDateFormatSymbols(ULocale locale) {
87 public ChineseDateFormatSymbols(Calendar cal, ULocale locale) {
106 protected void initializeData(ULocale loc, CalendarData calData) {
CurrencyPluralInfo.java 17 import com.ibm.icu.util.ULocale;
18 import com.ibm.icu.util.ULocale.Category;
47 initialize(ULocale.getDefault(Category.FORMAT));
56 initialize(ULocale.forLocale(locale));
64 public CurrencyPluralInfo(ULocale locale) {
96 public static CurrencyPluralInfo getInstance(ULocale locale) {
144 public ULocale getLocale() {
145 return ulocale;
179 public void setLocale(ULocale loc) {
180 ulocale = loc
332 private ULocale ulocale = null; field in class:CurrencyPluralInfo
    [all...]
DecimalFormatSymbols.java 25 import com.ibm.icu.util.ULocale;
26 import com.ibm.icu.util.ULocale.Category;
52 initialize(ULocale.getDefault(Category.FORMAT));
61 initialize(ULocale.forLocale(locale));
69 public DecimalFormatSymbols(ULocale locale) {
118 public static DecimalFormatSymbols getInstance(ULocale locale) {
146 * returns the array of <code>ULocale</code>s available in this class. ICU currently
150 * @return An array of <code>ULocale</code>s for which localized
155 public static ULocale[] getAvailableULocales() {
753 public ULocale getULocale()
1252 private ULocale ulocale; field in class:DecimalFormatSymbols
    [all...]
RuleBasedNumberFormat.java 25 import com.ibm.icu.util.ULocale;
26 import com.ibm.icu.util.ULocale.Category;
595 private ULocale locale = null;
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
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));
DangiCalendar.java 12 import android.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 14 import android.icu.util.ULocale.Category;
55 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a
56 * <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 15 import android.icu.util.ULocale.Category;
21 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
143 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
153 this(zone, ULocale.getDefault(Category.FORMAT));
172 public EthiopicCalendar(ULocale locale) {
184 this(zone, ULocale.forLocale(aLocale));
194 public EthiopicCalendar(TimeZone zone, ULocale locale) {
374 private void setCalcTypeForLocale(ULocale locale) {
GregorianCalendar.java 12 import android.icu.util.ULocale.Category;
163 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
332 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
342 this(zone, ULocale.getDefault(Category.FORMAT));
357 * @param locale the given ulocale.
359 public GregorianCalendar(ULocale locale) {
378 * @param locale the given ulocale.
380 public GregorianCalendar(TimeZone zone, ULocale locale) {
395 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
HebrewCalendar.java 13 import android.icu.util.ULocale.Category;
65 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
269 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
280 this(zone, ULocale.getDefault(Category.FORMAT));
299 public HebrewCalendar(ULocale locale) {
324 public HebrewCalendar(TimeZone zone, ULocale locale) {
342 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
356 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
381 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
IndianCalendar.java 14 import android.icu.util.ULocale.Category;
60 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
148 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
159 this(zone, ULocale.getDefault(Category.FORMAT));
176 * @param locale the given ulocale.
178 public IndianCalendar(ULocale locale) {
201 * @param locale the given ulocale.
203 public IndianCalendar(TimeZone zone, ULocale locale) {
216 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
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));
DangiCalendar.java 11 import com.ibm.icu.util.ULocale.Category;
89 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
102 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
116 public DangiCalendar(TimeZone zone, ULocale locale) {
PersianCalendar.java 13 import com.ibm.icu.util.ULocale.Category;
54 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a
55 * <code>ULocale</code> with the tag <code>"@calendar=persian"</code>.</p>
109 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
124 this(zone, ULocale.getDefault(Category.FORMAT));
146 * @param locale the given ulocale.
152 public PersianCalendar(ULocale locale)
179 * @param locale the given ulocale.
185 public PersianCalendar(TimeZone zone, ULocale locale)
203 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
EthiopicCalendar.java 14 import com.ibm.icu.util.ULocale.Category;
20 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
156 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
167 this(zone, ULocale.getDefault(Category.FORMAT));
188 public EthiopicCalendar(ULocale locale) {
201 this(zone, ULocale.forLocale(aLocale));
212 public EthiopicCalendar(TimeZone zone, ULocale locale) {
399 private void setCalcTypeForLocale(ULocale locale) {
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
ULocaleTest.java 13 import com.ibm.icu.util.ULocale;
14 import com.ibm.icu.util.ULocale.Category;
21 private ULocale longULocale;
34 longULocale = new ULocale(longULocaleName);
35 sampleLocale = new ULocale(sampleName).toLocale();
39 * Test method for 'com.ibm.icu.x.util.ULocale.hashCode()'
42 ULocale obj = ULocale.GERMANY;
43 ULocale eq = new ULocale("de_DE")
    [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...]
  /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...]

Completed in 565 milliseconds

1 2 3