Home
last modified time | relevance | path

Searched refs:UnicodeLocaleExtension (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java41 …CALENDAR_JAPANESE._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExten… in Character.valueOf()
46 …NUMBER_THAI._map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), UnicodeLocaleExtension.N… in Character.valueOf()
107 UnicodeLocaleExtension ule = new UnicodeLocaleExtension(uaset, ukmap); in LocaleExtensions()
108 _map.put(Character.valueOf(UnicodeLocaleExtension.SINGLETON), ule); in LocaleExtensions()
137 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleAttributes()
141 assert (ext instanceof UnicodeLocaleExtension); in getUnicodeLocaleAttributes()
142 return ((UnicodeLocaleExtension)ext).getUnicodeLocaleAttributes(); in getUnicodeLocaleAttributes()
146 Extension ext = _map.get(Character.valueOf(UnicodeLocaleExtension.SINGLETON)); in getUnicodeLocaleKeys()
150 assert (ext instanceof UnicodeLocaleExtension); in getUnicodeLocaleKeys()
151 return ((UnicodeLocaleExtension)ext).getUnicodeLocaleKeys(); in getUnicodeLocaleKeys()
[all …]
DUnicodeLocaleExtension.java17 public class UnicodeLocaleExtension extends Extension { class
26 public static final UnicodeLocaleExtension CA_JAPANESE;
27 public static final UnicodeLocaleExtension NU_THAI;
30 CA_JAPANESE = new UnicodeLocaleExtension();
35 NU_THAI = new UnicodeLocaleExtension();
41 private UnicodeLocaleExtension() { in UnicodeLocaleExtension() method in UnicodeLocaleExtension
45 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) { in UnicodeLocaleExtension() method in UnicodeLocaleExtension
DInternalLocaleBuilder.java86 if (attribute == null || !UnicodeLocaleExtension.isAttribute(attribute)) { in addUnicodeLocaleAttribute()
98 if (attribute == null || !UnicodeLocaleExtension.isAttribute(attribute)) { in removeUnicodeLocaleAttribute()
108 if (!UnicodeLocaleExtension.isKey(key)) { in setUnicodeLocaleKeyword()
126 if (!UnicodeLocaleExtension.isTypeSubtag(s)) { in setUnicodeLocaleKeyword()
151 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtension()
182 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtension()
289 if (UnicodeLocaleExtension.isSingletonChar(key.value())) { in setExtensions()
408 if (e instanceof UnicodeLocaleExtension) { in setLocale()
409 UnicodeLocaleExtension ue = (UnicodeLocaleExtension)e; in setLocale()
569 if (!UnicodeLocaleExtension.isAttribute(itr.current())) { in setUnicodeLocaleExtension()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java43 import com.ibm.icu.impl.locale.UnicodeLocaleExtension;
3416 if (bcpKey == null && UnicodeLocaleExtension.isKey(keyword)) { in toUnicodeLocaleKey()
3453 if (bcpType == null && UnicodeLocaleExtension.isType(value)) { in toUnicodeLocaleType()
3903 if (ext instanceof UnicodeLocaleExtension) { in getInstance()
3904 UnicodeLocaleExtension uext = (UnicodeLocaleExtension)ext; in getInstance()