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

1 2 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
IntlTestDateFormatSymbols.java 24 import android.icu.util.ULocale;
131 DateFormatSymbols zhChiCal = new DateFormatSymbols(new ULocale("zh@calendar=chinese"));
547 ULocale[] TestLocales = {
548 new ULocale("en_US@calendar=gregorian"),
549 new ULocale("ja_JP@calendar=japanese"),
550 new ULocale("th_TH@calendar=buddhist"),
551 new ULocale("zh_TW@calendar=roc"),
552 new ULocale("ar_IR@calendar=persian"),
553 new ULocale("ar_EG@calendar=islamic"),
554 new ULocale("he_IL@calendar=hebrew")
    [all...]
RbnfTest.java 22 import android.icu.util.ULocale;
565 RuleBasedNumberFormat enFormatter = new RuleBasedNumberFormat(enRules, ULocale.ENGLISH);
625 RuleBasedNumberFormat ruFormatter = new RuleBasedNumberFormat(ruRules, new ULocale("ru"));
653 String result = new RuleBasedNumberFormat(ruRules, new ULocale("ru")).format(21000);
737 RuleBasedNumberFormat ruFormatter = new RuleBasedNumberFormat(ruRules, new ULocale("ru"));
    [all...]
PluralFormatTest.java 17 import android.icu.util.ULocale;
57 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern);
273 /* Tests the method public ULocale getLocale() */
275 CurrencyPluralInfo cpi = new CurrencyPluralInfo(new ULocale("en_US"));
276 if (!cpi.getLocale().equals(new ULocale("en_US"))) {
277 errln("CurrencyPluralInfo.getLocale() was suppose to return true " + "when passing the same ULocale");
279 if (cpi.getLocale().equals(new ULocale("jp_JP"))) {
280 errln("CurrencyPluralInfo.getLocale() was not suppose to return true " + "when passing a different ULocale");
284 /* Tests the method public void setLocale(ULocale loc) */
287 cpi.setLocale(new ULocale("en_US"))
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
TimeZoneTest.java 15 import com.ibm.icu.util.ULocale;
105 * Test method for 'com.ibm.icu.util.TimeZone.getDisplayName(ULocale)'
109 assertEquals("Pacific Standard Time", tz.getDisplayName(ULocale.US));
131 * Test method for 'com.ibm.icu.util.TimeZone.getDisplayName(boolean, int, ULocale)'
135 assertEquals("PDT", tz.getDisplayName(true, TimeZone.SHORT, ULocale.US));
136 assertEquals("Pacific Daylight Time", tz.getDisplayName(true, TimeZone.LONG, ULocale.US));
NumberFormatTest.java 17 import com.ibm.icu.util.ULocale;
162 * Test method for 'com.ibm.icu.x.text.NumberFormat.getInstance(ULocale)'
165 NumberFormat nf = NumberFormat.getInstance(ULocale.GERMANY);
186 * Test method for 'com.ibm.icu.x.text.NumberFormat.getNumberInstance(ULocale)'
189 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.GERMANY);
210 * Test method for 'com.ibm.icu.x.text.NumberFormat.getIntegerInstance(ULocale)'
213 NumberFormat nf = NumberFormat.getIntegerInstance(ULocale.GERMANY);
234 * Test method for 'com.ibm.icu.x.text.NumberFormat.getCurrencyInstance(ULocale)'
237 NumberFormat nf = NumberFormat.getCurrencyInstance(ULocale.GERMANY);
258 * Test method for 'com.ibm.icu.x.text.NumberFormat.getPercentInstance(ULocale)'
    [all...]
ICUTestCase.java 23 import com.ibm.icu.util.ULocale;
37 private static final ULocale oldULocale = ULocale.getDefault();
47 ULocale.setDefault(ULocale.US);
53 ULocale.setDefault(oldULocale);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
IntlTestDateFormatSymbols.java 23 import com.ibm.icu.util.ULocale;
127 DateFormatSymbols zhChiCal = new DateFormatSymbols(new ULocale("zh@calendar=chinese"));
543 ULocale[] TestLocales = {
544 new ULocale("en_US@calendar=gregorian"),
545 new ULocale("ja_JP@calendar=japanese"),
546 new ULocale("th_TH@calendar=buddhist"),
547 new ULocale("zh_TW@calendar=roc"),
548 new ULocale("ar_IR@calendar=persian"),
549 new ULocale("ar_EG@calendar=islamic"),
550 new ULocale("he_IL@calendar=hebrew")
    [all...]
RbnfTest.java 21 import com.ibm.icu.util.ULocale;
561 RuleBasedNumberFormat enFormatter = new RuleBasedNumberFormat(enRules, ULocale.ENGLISH);
621 RuleBasedNumberFormat ruFormatter = new RuleBasedNumberFormat(ruRules, new ULocale("ru"));
649 String result = new RuleBasedNumberFormat(ruRules, new ULocale("ru")).format(21000);
733 RuleBasedNumberFormat ruFormatter = new RuleBasedNumberFormat(ruRules, new ULocale("ru"));
    [all...]
PluralFormatTest.java 16 import com.ibm.icu.util.ULocale;
53 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern);
269 /* Tests the method public ULocale getLocale() */
271 CurrencyPluralInfo cpi = new CurrencyPluralInfo(new ULocale("en_US"));
272 if (!cpi.getLocale().equals(new ULocale("en_US"))) {
273 errln("CurrencyPluralInfo.getLocale() was suppose to return true " + "when passing the same ULocale");
275 if (cpi.getLocale().equals(new ULocale("jp_JP"))) {
276 errln("CurrencyPluralInfo.getLocale() was not suppose to return true " + "when passing a different ULocale");
280 /* Tests the method public void setLocale(ULocale loc) */
283 cpi.setLocale(new ULocale("en_US"))
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
JapaneseTest.java 21 import android.icu.util.ULocale;
44 // new JapaneseCalendar(ULocale)
45 JapaneseCalendar cal = new JapaneseCalendar(ULocale.getDefault());
47 errln("could not create JapaneseCalendar with ULocale");
52 // new JapaneseCalendar(TimeZone, ULocale)
53 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), ULocale.getDefault());
55 errln("could not create JapaneseCalendar with TimeZone ULocale");
151 ULocale loc = new ULocale("ja_JP@calendar=japanese");
153 DateFormat enjformat = cal.getDateTimeFormat(0,0,new ULocale("en_JP@calendar=japanese"))
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
JapaneseTest.java 20 import com.ibm.icu.util.ULocale;
40 // new JapaneseCalendar(ULocale)
41 JapaneseCalendar cal = new JapaneseCalendar(ULocale.getDefault());
43 errln("could not create JapaneseCalendar with ULocale");
48 // new JapaneseCalendar(TimeZone, ULocale)
49 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), ULocale.getDefault());
51 errln("could not create JapaneseCalendar with TimeZone ULocale");
147 ULocale loc = new ULocale("ja_JP@calendar=japanese");
149 DateFormat enjformat = cal.getDateTimeFormat(0,0,new ULocale("en_JP@calendar=japanese"))
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUResourceTableAccess.java 10 import android.icu.util.ULocale;
14 * Static utility functions for probing resource tables, used by ULocale and
23 public static String getTableString(String path, ULocale locale, String tableName,
DateNumberFormat.java 21 import android.icu.util.ULocale;
44 private static SimpleCache<ULocale, char[]> CACHE = new SimpleCache<ULocale, char[]>();
49 public DateNumberFormat(ULocale loc, String digitString, String nsName) {
53 public DateNumberFormat(ULocale loc, char zeroDigit, String nsName) {
61 private void initialize(ULocale loc,String digitString,String nsName) {
ICUResourceBundle.java 29 import android.icu.util.ULocale;
160 this.ulocale = new ULocale(localeID);
167 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle
197 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader,
198 String resName, String keyword, ULocale locID,
203 ULocale parent = new ULocale(baseLoc);
204 ULocale defLoc = null; // locale where default (found) resource i
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CopticCalendar.java 18 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
146 public CopticCalendar(ULocale locale) {
168 public CopticCalendar(TimeZone zone, 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...]
TaiwanCalendar.java 26 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
93 * @param locale the given ulocale.
95 public TaiwanCalendar(ULocale locale) {
114 * @param locale the given ulocale.
116 public TaiwanCalendar(TimeZone zone, ULocale locale) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUResourceTableAccess.java 9 import com.ibm.icu.util.ULocale;
13 * Static utility functions for probing resource tables, used by ULocale and
21 public static String getTableString(String path, ULocale locale, String tableName,
DateNumberFormat.java 20 import com.ibm.icu.util.ULocale;
40 private static SimpleCache<ULocale, char[]> CACHE = new SimpleCache<ULocale, char[]>();
45 public DateNumberFormat(ULocale loc, String digitString, String nsName) {
49 public DateNumberFormat(ULocale loc, char zeroDigit, String nsName) {
57 private void initialize(ULocale loc,String digitString,String nsName) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CopticCalendar.java 17 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
163 public CopticCalendar(ULocale locale) {
187 public CopticCalendar(TimeZone zone, ULocale locale) {
GregorianCalendar.java 11 import com.ibm.icu.util.ULocale.Category;
162 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
338 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
349 this(zone, ULocale.getDefault(Category.FORMAT));
365 * @param locale the given ulocale.
368 public GregorianCalendar(ULocale locale) {
388 * @param locale the given ulocale.
391 public GregorianCalendar(TimeZone zone, ULocale locale) {
407 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT))
    [all...]
TaiwanCalendar.java 25 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code>
98 * @param locale the given ulocale.
101 public TaiwanCalendar(ULocale locale) {
122 * @param locale the given ulocale.
125 public TaiwanCalendar(TimeZone zone, ULocale locale) {
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/
DateFormatProviderICU.java 15 import com.ibm.icu.util.ULocale;
43 ULocale actual = ICULocaleServiceProvider.toULocaleNoSpecialVariant(locale);
NumberFormatProviderICU.java 16 import com.ibm.icu.util.ULocale;
52 ULocale actual = ICULocaleServiceProvider.toULocaleNoSpecialVariant(locale);
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
Sample40_PopMsg.java 19 import com.ibm.icu.util.ULocale;
30 LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(ULocale.forLocale(defaultLocaleID),

Completed in 1129 milliseconds

1 2 3 4 5 6 7 8 91011>>