/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeUnitFormat.java | 29 import com.ibm.icu.util.ULocale; 30 import com.ibm.icu.util.ULocale.Category; 48 * format.setLocale(new ULocale("en")); 91 private ULocale locale; 120 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); 126 * Create TimeUnitFormat given a ULocale, and using full name style. 131 public TimeUnitFormat(ULocale locale) { 146 * Create TimeUnitFormat given a ULocale and a formatting style. 154 public TimeUnitFormat(ULocale locale, int style) { 162 // Needed for getLocale(ULocale.VALID_LOCALE [all...] |
DateFormatSymbols.java | 38 import com.ibm.icu.util.ULocale; 39 import com.ibm.icu.util.ULocale.Category; 230 this(ULocale.getDefault(Category.FORMAT)); 243 this(ULocale.forLocale(locale)); 248 * resources for the given ulocale. 254 public DateFormatSymbols(ULocale locale) 302 public static DateFormatSymbols getInstance(ULocale locale) { 328 * this method simply returns the array of <code>ULocale</code>s available in this 332 * @return An array of <code>ULocale</code>s for which localized 337 public static ULocale[] getAvailableULocales() [all...] |
DecimalFormatSymbols.java | 29 import com.ibm.icu.util.ULocale; 30 import com.ibm.icu.util.ULocale.Category; 56 this(ULocale.getDefault(Category.FORMAT)); 65 this(ULocale.forLocale(locale)); 73 public DecimalFormatSymbols(ULocale locale) { 78 this(ULocale.forLocale(locale), ns); 81 private DecimalFormatSymbols(ULocale locale, NumberingSystem ns) { 130 public static DecimalFormatSymbols getInstance(ULocale locale) { 170 public static DecimalFormatSymbols forNumberingSystem(ULocale locale, NumberingSystem ns) { 198 * returns the array of <code>ULocale</code>s available in this class. ICU currentl 1870 private ULocale ulocale; field in class:DecimalFormatSymbols [all...] |
DateIntervalInfo.java | 35 import com.ibm.icu.util.ULocale; 362 public DateIntervalInfo(ULocale locale) 377 this(ULocale.forLocale(locale)); 384 private void initializeData(ULocale locale) 571 private void setup(ULocale locale) { [all...] |
SpoofChecker.java | 41 import com.ibm.icu.util.ULocale; 473 final Set<ULocale> fAllowedLocales = new LinkedHashSet<ULocale>(); // The list of allowed locales. 534 result.fAllowedLocales = new HashSet<ULocale>(this.fAllowedLocales); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
GregorianCalendar.java | 13 import com.ibm.icu.util.ULocale.Category; 164 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 340 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 351 this(zone, ULocale.getDefault(Category.FORMAT)); 367 * @param locale the given ulocale. 370 public GregorianCalendar(ULocale locale) { 390 * @param locale the given ulocale. 393 public GregorianCalendar(TimeZone zone, ULocale locale) { 409 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
HebrewCalendar.java | 14 import com.ibm.icu.util.ULocale.Category; 66 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 285 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 297 this(zone, ULocale.getDefault(Category.FORMAT)); 318 public HebrewCalendar(ULocale locale) { 345 public HebrewCalendar(TimeZone zone, ULocale locale) { 364 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 379 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 405 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
IndianCalendar.java | 15 import com.ibm.icu.util.ULocale.Category; 61 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 165 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 177 this(zone, ULocale.getDefault(Category.FORMAT)); 195 * @param locale the given ulocale. 198 public IndianCalendar(ULocale locale) { 222 * @param locale the given ulocale. 225 public IndianCalendar(TimeZone zone, ULocale locale) { 239 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
IslamicCalendar.java | 18 import com.ibm.icu.util.ULocale.Category; 79 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 194 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 206 this(zone, ULocale.getDefault(Category.FORMAT)); 225 * @param locale the given ulocale. 228 public IslamicCalendar(ULocale locale) 243 this(zone, ULocale.forLocale(aLocale)); 251 * @param locale the given ulocale. 254 public IslamicCalendar(TimeZone zone, ULocale locale [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
IslamicCalendar.java | 19 import android.icu.util.ULocale.Category; 75 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 176 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 187 this(zone, ULocale.getDefault(Category.FORMAT)); 205 * @param locale the given ulocale. 207 public IslamicCalendar(ULocale locale) 221 this(zone, ULocale.forLocale(aLocale)); 229 * @param locale the given ulocale. 231 public IslamicCalendar(TimeZone zone, ULocale locale [all...] |
GlobalizationPreferences.java | 84 // - Add convenience to get/take Locale as well as ULocale. 165 public GlobalizationPreferences setLocales(List<ULocale> inputLocales) { 179 public List<ULocale> getLocales() { 180 List<ULocale> result; 184 result = new ArrayList<ULocale>(); 196 public ULocale getLocale(int index) { 197 List<ULocale> lcls = locales; 216 public GlobalizationPreferences setLocales(ULocale[] uLocales) { 228 * @param uLocale single locale 232 public GlobalizationPreferences setLocale(ULocale uLocale) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateFormatSymbols.java | 39 import android.icu.util.ULocale; 40 import android.icu.util.ULocale.Category; 226 this(ULocale.getDefault(Category.FORMAT)); 238 this(ULocale.forLocale(locale)); 243 * resources for the given ulocale. 248 public DateFormatSymbols(ULocale locale) 293 public static DateFormatSymbols getInstance(ULocale locale) { 318 * this method simply returns the array of <code>ULocale</code>s available in this 322 * @return An array of <code>ULocale</code>s for which localized 326 public static ULocale[] getAvailableULocales() [all...] |
DecimalFormatSymbols.java | 30 import android.icu.util.ULocale; 31 import android.icu.util.ULocale.Category; 55 this(ULocale.getDefault(Category.FORMAT)); 63 this(ULocale.forLocale(locale)); 70 public DecimalFormatSymbols(ULocale locale) { 75 this(ULocale.forLocale(locale), ns); 78 private DecimalFormatSymbols(ULocale locale, NumberingSystem ns) { 124 public static DecimalFormatSymbols getInstance(ULocale locale) { 162 public static DecimalFormatSymbols forNumberingSystem(ULocale locale, NumberingSystem ns) { 189 * returns the array of <code>ULocale</code>s available in this class. ICU currentl 1770 private ULocale ulocale; field in class:DecimalFormatSymbols [all...] |
AlphabeticIndex.java | 23 import android.icu.util.ULocale; 56 * then it is a good idea to call addLabels(ULocale.English). 229 public AlphabeticIndex(ULocale locale) { 240 this(ULocale.forLocale(locale), null); 262 private AlphabeticIndex(ULocale locale, RuleBasedCollator collator) { 312 public AlphabeticIndex<V> addLabels(ULocale... additions) { 313 for (ULocale addition : additions) { 327 addIndexExemplars(ULocale.forLocale(addition)); 505 private void addIndexExemplars(ULocale locale) { [all...] |
DateIntervalInfo.java | 36 import android.icu.util.ULocale; 354 public DateIntervalInfo(ULocale locale) 368 this(ULocale.forLocale(locale)); 375 private void initializeData(ULocale locale) 562 private void setup(ULocale locale) { [all...] |
SpoofChecker.java | 42 import android.icu.util.ULocale; 436 final Set<ULocale> fAllowedLocales = new LinkedHashSet<ULocale>(); // The list of allowed locales. 493 result.fAllowedLocales = new HashSet<ULocale>(this.fAllowedLocales); 610 public Builder setAllowedLocales(Set<ULocale> locales) { 613 for (ULocale locale : locales) { [all...] |
MessageFormat.java | 45 import android.icu.util.ULocale; 46 import android.icu.util.ULocale.Category; 304 * ULocale.ENGLISH); 350 this.ulocale = ULocale.getDefault(Category.FORMAT); 364 this(pattern, ULocale.forLocale(locale)); 376 public MessageFormat(String pattern, ULocale locale) { 377 this.ulocale = locale; 390 setLocale(ULocale.forLocale(locale)); 401 public void setLocale(ULocale locale) 1506 private transient ULocale ulocale; field in class:MessageFormat [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUResourceBundle.java | 31 import android.icu.util.ULocale; 64 this.ulocale = new ULocale(localeID); 71 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle 114 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, 115 String resName, String keyword, ULocale locID, 120 ULocale parent = new ULocale(baseLoc); 121 ULocale defLoc = null; // locale where default (found) resource i [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
Calendar.java | 16 import com.ibm.icu.util.ULocale.Category; 43 * <p>When a <code>ULocale</code> is used by <code>getInstance</code>, its 49 * <pre>Calendar cal = Calendar.getInstance(new ULocale("en_US@calendar=japanese"));</pre> [all...] |
ULocale.java | 59 * <p>ULocale performs <b>'normalization'</b> and <b>'canonicalization'</b> of locale ids. 78 * All ULocale constructors automatically normalize the locale id. To handle 105 public final class ULocale implements Serializable { 113 public static final ULocale ENGLISH = new ULocale("en", Locale.ENGLISH); 119 public static final ULocale FRENCH = new ULocale("fr", Locale.FRENCH); 125 public static final ULocale GERMAN = new ULocale("de", Locale.GERMAN); 131 public static final ULocale ITALIAN = new ULocale("it", Locale.ITALIAN) [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
AlphabeticIndex.java | 22 import com.ibm.icu.util.ULocale; 55 * then it is a good idea to call addLabels(ULocale.English). 235 public AlphabeticIndex(ULocale locale) { 247 this(ULocale.forLocale(locale), null); 270 private AlphabeticIndex(ULocale locale, RuleBasedCollator collator) { 322 public AlphabeticIndex<V> addLabels(ULocale... additions) { 323 for (ULocale addition : additions) { 338 addIndexExemplars(ULocale.forLocale(addition)); 524 private void addIndexExemplars(ULocale locale) { [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/ |
GlobalizationPreferences.java | 83 // - Add convenience to get/take Locale as well as ULocale. 170 public GlobalizationPreferences setLocales(List<ULocale> inputLocales) { 185 public List<ULocale> getLocales() { 186 List<ULocale> result; 190 result = new ArrayList<ULocale>(); 203 public ULocale getLocale(int index) { 204 List<ULocale> lcls = locales; 224 public GlobalizationPreferences setLocales(ULocale[] uLocales) { 236 * @param uLocale single locale 241 public GlobalizationPreferences setLocale(ULocale uLocale) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUResourceBundle.java | 30 import com.ibm.icu.util.ULocale; 60 this.ulocale = new ULocale(localeID); 67 ULocale ulocale; field in class:ICUResourceBundle.WholeBundle 110 public static final ULocale getFunctionalEquivalent(String baseName, ClassLoader loader, 111 String resName, String keyword, ULocale locID, 116 ULocale parent = new ULocale(baseLoc); 117 ULocale defLoc = null; // locale where default (found) resource i [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ULocaleTest.java | 47 import android.icu.util.ULocale; 48 import android.icu.util.ULocale.Builder; 49 import android.icu.util.ULocale.Category; 50 import android.icu.util.ULocale.Minimize; 88 public Object create(ULocale req) { 92 // public Object register(ULocale loc, Object prototype) { 102 // Currency getLocale API is obsolete in 3.2. Since it now returns ULocale.ROOT, 109 public Object create(ULocale req) { 113 public Object register(ULocale loc, Object prototype) { 127 public Object create(ULocale req) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ULocaleTest.java | 46 import com.ibm.icu.util.ULocale; 47 import com.ibm.icu.util.ULocale.Builder; 48 import com.ibm.icu.util.ULocale.Category; 49 import com.ibm.icu.util.ULocale.Minimize; 85 public Object create(ULocale req) { 89 // public Object register(ULocale loc, Object prototype) { 99 // Currency getLocale API is obsolete in 3.2. Since it now returns ULocale.ROOT, 106 public Object create(ULocale req) { 110 public Object register(ULocale loc, Object prototype) { 124 public Object create(ULocale req) [all...] |