Home | History | Annotate | Download | only in text

Lines Matching defs:ulocale

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 currently
202 * @return An array of <code>ULocale</code>s for which localized
207 public static ULocale[] getAvailableULocales() {
1181 public ULocale getULocale() {
1182 return ulocale;
1367 private void initialize(ULocale locale, NumberingSystem ns) {
1369 this.ulocale = locale;
1374 ULocale keyLocale = (ns == null) ? locale : locale.setKeywordValue("numbers", ns.getName());
1430 private static CacheData loadData(ULocale locale) {
1457 ULocale validLocale = rb.getULocale();
1518 // to handle the actual/valid ulocale fields.
1549 ulocale = ULocale.forLocale(requestedLocale);
1867 * The requested ULocale. We keep the old locale for serialization compatibility.
1870 private ULocale ulocale;
1889 // - 4 for ICU 3.2, which includes the ULocale field
1908 * <li><b>4</b>: Version for ICU 3.2, which adds ulocale.
1925 private static final CacheBase<ULocale, CacheData, Void> cachedLocaleData =
1926 new SoftCache<ULocale, CacheData, Void>() {
1928 protected CacheData createInstance(ULocale locale, Void unused) {
1938 // -------- BEGIN ULocale boilerplate --------
1952 * com.ibm.icu.util.ULocale#VALID_LOCALE} or {@link
1953 * com.ibm.icu.util.ULocale#ACTUAL_LOCALE}.
1956 * @see com.ibm.icu.util.ULocale
1957 * @see com.ibm.icu.util.ULocale#VALID_LOCALE
1958 * @see com.ibm.icu.util.ULocale#ACTUAL_LOCALE
1962 public final ULocale getLocale(ULocale.Type type) {
1963 return type == ULocale.ACTUAL_LOCALE ?
1979 * @see com.ibm.icu.util.ULocale
1980 * @see com.ibm.icu.util.ULocale#VALID_LOCALE
1981 * @see com.ibm.icu.util.ULocale#ACTUAL_LOCALE
1983 final void setLocale(ULocale valid, ULocale actual) {
1998 * @see com.ibm.icu.util.ULocale
2000 private ULocale validLocale;
2005 * @see com.ibm.icu.util.ULocale
2007 private ULocale actualLocale;
2012 // -------- END ULocale boilerplate --------
2015 final ULocale validLocale;
2019 public CacheData(ULocale loc, String[] digits, String[] numberElements) {