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

<<11121314151617181920

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
TestMessageFormat.java 37 import android.icu.util.ULocale;
394 ULocale save = ULocale.getDefault();
395 ULocale.setDefault(ULocale.US);
407 y.setLocale(ULocale.FRENCH);
416 ULocale.setDefault(save);
469 logln("Testing set/get ULocale ...");
470 msg.setLocale(ULocale.ENGLISH);
471 assertEquals("getULocale", ULocale.ENGLISH, msg.getULocale())
    [all...]
RbnfLenientScannerTest.java 19 import android.icu.util.ULocale;
134 ULocale[] locales = ULocale.getAvailableLocales();
149 ULocale loc = locales[i];
DateFormatTest.java 58 import android.icu.util.ULocale;
156 ULocale locale = new ULocale(EXPECTED[i][2], "", "");
    [all...]
RelativeDateTimeFormatterTest.java 19 import android.icu.util.ULocale;
90 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US"));
161 new ULocale("en_US"),
235 new ULocale("en_US"),
309 new ULocale("en_US"),
328 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("sr"));
343 new ULocale("sr"),
410 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US"));
476 new ULocale("en_US"),
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
TestMessageFormat.java 36 import com.ibm.icu.util.ULocale;
390 ULocale save = ULocale.getDefault();
391 ULocale.setDefault(ULocale.US);
403 y.setLocale(ULocale.FRENCH);
412 ULocale.setDefault(save);
465 logln("Testing set/get ULocale ...");
466 msg.setLocale(ULocale.ENGLISH);
467 assertEquals("getULocale", ULocale.ENGLISH, msg.getULocale())
    [all...]
DateFormatTest.java 57 import com.ibm.icu.util.ULocale;
152 ULocale locale = new ULocale(EXPECTED[i][2], "", "");
    [all...]
RelativeDateTimeFormatterTest.java 18 import com.ibm.icu.util.ULocale;
86 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US"));
157 new ULocale("en_US"),
231 new ULocale("en_US"),
305 new ULocale("en_US"),
324 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("sr"));
339 new ULocale("sr"),
406 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US"));
472 new ULocale("en_US"),
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
ScientificNumberFormatter.java 16 import android.icu.util.ULocale;
25 * ULocale en = new ULocale("en");
52 public static ScientificNumberFormatter getSuperscriptInstance(ULocale locale) {
82 ULocale locale,
317 ULocale locale, Style style) {
RelativeDateTimeFormatter.java 23 import android.icu.util.ULocale;
261 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE);
270 public static RelativeDateTimeFormatter getInstance(ULocale locale) {
281 return getInstance(ULocale.forLocale(locale));
293 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) {
308 ULocale locale,
341 return getInstance(ULocale.forLocale(locale), nf);
506 ULocale locale) {
564 private final ULocale locale;
590 public RelativeDateTimeFormatterData get(ULocale locale)
718 private ULocale ulocale = null; field in class:RelativeDateTimeFormatter.RelDateTimeFmtDataSink
945 private final ULocale ulocale; field in class:RelativeDateTimeFormatter.Loader
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
ScientificNumberFormatter.java 15 import com.ibm.icu.util.ULocale;
24 * ULocale en = new ULocale("en");
52 public static ScientificNumberFormatter getSuperscriptInstance(ULocale locale) {
84 ULocale locale,
321 ULocale locale, Style style) {
RelativeDateTimeFormatter.java 22 import com.ibm.icu.util.ULocale;
295 return getInstance(ULocale.getDefault(), null, Style.LONG, DisplayContext.CAPITALIZATION_NONE);
305 public static RelativeDateTimeFormatter getInstance(ULocale locale) {
317 return getInstance(ULocale.forLocale(locale));
330 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) {
346 ULocale locale,
380 return getInstance(ULocale.forLocale(locale), nf);
553 ULocale locale) {
611 private final ULocale locale;
637 public RelativeDateTimeFormatterData get(ULocale locale)
765 private ULocale ulocale = null; field in class:RelativeDateTimeFormatter.RelDateTimeFmtDataSink
992 private final ULocale ulocale; field in class:RelativeDateTimeFormatter.Loader
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
RbnfLenientScannerTest.java 18 import com.ibm.icu.util.ULocale;
130 ULocale[] locales = ULocale.getAvailableLocales();
145 ULocale loc = locales[i];
  /external/icu/android_icu4j/src/main/java/android/icu/util/
IslamicCalendar.java 17 import android.icu.util.ULocale.Category;
73 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
174 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
185 this(zone, ULocale.getDefault(Category.FORMAT));
203 * @param locale the given ulocale.
205 public IslamicCalendar(ULocale locale)
219 this(zone, ULocale.forLocale(aLocale));
227 * @param locale the given ulocale.
229 public IslamicCalendar(TimeZone zone, ULocale locale
    [all...]
Calendar.java 29 import android.icu.util.ULocale.Category;
56 * <p>When a <code>ULocale</code> is used by <code>getInstance</code>, its
62 * <pre>Calendar cal = Calendar.getInstance(new ULocale("en_US@calendar=japanese"));</pre>
    [all...]
JapaneseCalendar.java 39 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
85 * @param locale the given ulocale.
87 public JapaneseCalendar(ULocale locale) {
109 * @param locale the given ulocale.
111 public JapaneseCalendar(TimeZone zone, ULocale locale) {
TimeZone.java 29 import android.icu.util.ULocale.Category;
376 return _getDisplayName(LONG_GENERIC, false, ULocale.getDefault(Category.DISPLAY));
390 return _getDisplayName(LONG_GENERIC, false, ULocale.forLocale(locale));
399 * @param locale the ulocale in which to supply the display name.
401 * or in the default ulocale if the given ulocale is not recognized.
403 public final String getDisplayName(ULocale locale) {
422 return getDisplayName(daylight, style, ULocale.getDefault(Category.DISPLAY));
442 return getDisplayName(daylight, style, ULocale.forLocale(locale));
461 public String getDisplayName(boolean daylight, int style, ULocale locale)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
IslamicCalendar.java 16 import com.ibm.icu.util.ULocale.Category;
72 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
187 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
199 this(zone, ULocale.getDefault(Category.FORMAT));
218 * @param locale the given ulocale.
221 public IslamicCalendar(ULocale locale)
236 this(zone, ULocale.forLocale(aLocale));
244 * @param locale the given ulocale.
247 public IslamicCalendar(TimeZone zone, ULocale locale
    [all...]
Calendar.java 28 import com.ibm.icu.util.ULocale.Category;
55 * <p>When a <code>ULocale</code> is used by <code>getInstance</code>, its
61 * <pre>Calendar cal = Calendar.getInstance(new ULocale("en_US@calendar=japanese"));</pre>
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TZDBTimeZoneNames.java 21 import android.icu.util.ULocale;
55 private ULocale _locale;
58 public TZDBTimeZoneNames(ULocale loc) {
389 ULocale tmp = ULocale.addLikelySubtags(_locale);
TimeZoneGenericNames.java 35 import android.icu.util.ULocale;
109 private ULocale _locale;
137 public TimeZoneGenericNames(ULocale locale, TimeZoneNames tznames) {
167 * This constructor is private and called from {@link #getInstance(ULocale)}.
170 private TimeZoneGenericNames(ULocale locale) {
180 public static TimeZoneGenericNames getInstance(ULocale locale) {
522 ULocale tmp = ULocale.addLikelySubtags(_locale);
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DecimalFormat.java 22 import com.ibm.icu.util.ULocale;
23 import com.ibm.icu.util.ULocale.Category;
90 * ULocale locale = new ULocale("en_US");
326 * instance gotten from NumberFormat.getInstance(ULocale, NumberFormat.CURRENCYSTYLE) can
621 if (!ULocale.getDefault(Category.FORMAT).toLocale().equals(Locale.getDefault())) {
622 // On Java 6 or older JRE, ULocale's FORMAT default might be different
624 java.text.NumberFormat jdkNfmt = java.text.NumberFormat.getInstance(ULocale.getDefault(Category.FORMAT).toLocale());
652 new java.text.DecimalFormatSymbols(ULocale.getDefault(Category.FORMAT).toLocale())));
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TZDBTimeZoneNames.java 20 import com.ibm.icu.util.ULocale;
53 private ULocale _locale;
56 public TZDBTimeZoneNames(ULocale loc) {
387 ULocale tmp = ULocale.addLikelySubtags(_locale);
TimeZoneGenericNames.java 34 import com.ibm.icu.util.ULocale;
107 private ULocale _locale;
135 public TimeZoneGenericNames(ULocale locale, TimeZoneNames tznames) {
165 * This constructor is private and called from {@link #getInstance(ULocale)}.
168 private TimeZoneGenericNames(ULocale locale) {
178 public static TimeZoneGenericNames getInstance(ULocale locale) {
520 ULocale tmp = ULocale.addLikelySubtags(_locale);
    [all...]
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
NumberFormatTest.java 16 import com.ibm.icu.util.ULocale;
295 ULocale uloc0 = new ULocale("en_US_" + TestUtil.ICU_VARIANT + "@numbers=Arab;currency=EUR");
298 ULocale uloc = ULocale.forLocale(loc);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationFinnishTest.java 19 import android.icu.util.ULocale;
59 myCollation = Collator.getInstance(new ULocale("fi_FI@collation=standard"));

Completed in 1215 milliseconds

<<11121314151617181920