Searched refs:LocaleUtils (Results 1 - 8 of 8) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/util/locale/ |
H A D | BaseLocale.java | 58 this.language = (language != null) ? LocaleUtils.toLowerString(language).intern() : ""; 59 this.script = (script != null) ? LocaleUtils.toTitleString(script).intern() : ""; 60 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : ""; 76 if (LocaleUtils.caseIgnoreMatch(language, "he")) { 78 } else if (LocaleUtils.caseIgnoreMatch(language, "yi")) { 80 } else if (LocaleUtils.caseIgnoreMatch(language, "id")) { 192 h = 31 * h + LocaleUtils.toLower(region.charAt(i)); 209 h = 31*h + LocaleUtils.toLower(language.charAt(i)); 218 h = 31*h + LocaleUtils.toLower(script.charAt(i)); 227 h = 31*h + LocaleUtils [all...] |
H A D | LocaleExtensions.java | 73 boolean hasExtension = !LocaleUtils.isEmpty(extensions); 74 boolean hasUAttributes = !LocaleUtils.isEmpty(uattributes); 75 boolean hasUKeywords = !LocaleUtils.isEmpty(ukeywords); 87 char key = LocaleUtils.toLower(ext.getKey().value()); 98 map.put(key, new Extension(key, LocaleUtils.toLowerString(value))); 109 uaset.add(LocaleUtils.toLowerString(cis.value())); 116 String key = LocaleUtils.toLowerString(kwd.getKey().value()); 117 String type = LocaleUtils.toLowerString(kwd.getValue()); 144 return extensionMap.get(LocaleUtils.toLower(key)); 148 Extension ext = extensionMap.get(LocaleUtils [all...] |
H A D | LanguageTag.java | 129 GRANDFATHERED.put(LocaleUtils.toLowerString(e[0]), e); 191 String[] gfmap = GRANDFATHERED.get(LocaleUtils.toLowerString(languageTag)); 594 return (len >= 2) && (len <= 8) && LocaleUtils.isAlphaString(s); 600 return (s.length() == 3) && LocaleUtils.isAlphaString(s); 605 return (s.length() == 4) && LocaleUtils.isAlphaString(s); 611 return ((s.length() == 2) && LocaleUtils.isAlphaString(s)) 612 || ((s.length() == 3) && LocaleUtils.isNumericString(s)); 620 return LocaleUtils.isAlphaNumericString(s); 623 return LocaleUtils.isNumeric(s.charAt(0)) 624 && LocaleUtils [all...] |
H A D | UnicodeLocaleExtension.java | 109 return (SINGLETON == LocaleUtils.toLower(c)); 115 return (len >= 3) && (len <= 8) && LocaleUtils.isAlphaNumericString(s); 120 return (s.length() == 2) && LocaleUtils.isAlphaNumericString(s); 126 return (len >= 3) && (len <= 8) && LocaleUtils.isAlphaNumericString(s);
|
H A D | InternalLocaleBuilder.java | 60 if (LocaleUtils.isEmpty(language)) { 72 if (LocaleUtils.isEmpty(script)) { 84 if (LocaleUtils.isEmpty(region)) { 96 if (LocaleUtils.isEmpty(variant)) { 174 boolean remove = LocaleUtils.isEmpty(value); 226 if (LocaleUtils.isEmpty(subtags)) { 315 if (!LocaleUtils.isEmpty(bcpExtensions)) { 507 if (LocaleUtils.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { 528 if (LocaleUtils.isEmpty(extensions) && LocaleUtils [all...] |
H A D | LocaleUtils.java | 42 public final class LocaleUtils { class 44 private LocaleUtils() { method in class:LocaleUtils
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Locale.java | 60 import sun.util.locale.LocaleUtils; 2107 language = LocaleUtils.toLowerString(language).intern(); 2125 if (LocaleUtils.caseIgnoreMatch(language, "ja") 2127 && LocaleUtils.caseIgnoreMatch(country, "jp") 2131 } else if (LocaleUtils.caseIgnoreMatch(language, "th") 2133 && LocaleUtils.caseIgnoreMatch(country, "th")
|
/openjdk7/jdk/make/java/java/ |
H A D | FILES_java.gmk | 200 sun/util/locale/LocaleUtils.java \
|
Completed in 49 milliseconds