Home
last modified time | relevance | path

Searched refs:XLanguageTag (Results 1 – 2 of 2) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DLsrvCanonicalizer.java43 public static class XLanguageTag { class in LsrvCanonicalizer
46 private XLanguageTag(Multimap<LstrType, String> result) { in XLanguageTag() method in LsrvCanonicalizer.XLanguageTag
89 public static XLanguageTag fromTag(LstrType lstrType, String tag) { in fromTag()
120 return new XLanguageTag(result); in fromTag()
124 return data.equals(((XLanguageTag)obj).data); in equals()
130 public XLanguageTag set(LstrType lstrType, String string) { in set()
136 return new XLanguageTag(result); in set()
143 public boolean containsAll(XLanguageTag type) { in containsAll()
158 … public XLanguageTag replacePartsFrom(XLanguageTag typeParts, XLanguageTag replacementParts) { in replacePartsFrom()
178 return new XLanguageTag(result); in replacePartsFrom()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestLsrvCanonicalizer.java15 import org.unicode.cldr.util.LsrvCanonicalizer.XLanguageTag;
55 final XLanguageTag source2 = XLanguageTag.fromTag(LstrType.language, toTest); in testAgainstData()
56 XLanguageTag newTag = rrs.canonicalizeToX(source2, rules); in testAgainstData()