Searched refs:sts (Results 1 – 2 of 2) sorted by relevance
181 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument182 if (sts == null) { in parse()183 sts = new ParseStatus(); in parse()185 sts.reset(); in parse()202 if (tag.parseLanguage(itr, sts)) { in parse()203 tag.parseExtlangs(itr, sts); in parse()204 tag.parseScript(itr, sts); in parse()205 tag.parseRegion(itr, sts); in parse()206 tag.parseVariants(itr, sts); in parse()207 tag.parseExtensions(itr, sts); in parse()[all …]
2887 ParseStatus sts = new ParseStatus(); in setLanguageTag() local2888 LanguageTag tag = LanguageTag.parse(languageTag, sts); in setLanguageTag()2889 if (sts.isError()) { in setLanguageTag()2890 throw new IllformedLocaleException(sts.getErrorMessage(), sts.getErrorIndex()); in setLanguageTag()