Home
last modified time | relevance | path

Searched refs:LDMLConstants (Results 1 – 7 of 7) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/test/
DXPathToMenu.java6 import org.unicode.cldr.icu.LDMLConstants;
28 LOCALEDISPLAYNAMES + LDMLConstants.LOCALEDISPLAYPATTERN;
30 LDMLConstants.NUMBERS + "/" + CURRENCIES;
35 private static final String[] LOCALEDISPLAYNAMES_ITEMS = { LDMLConstants.LANGUAGES,
36LDMLConstants.SCRIPTS, LDMLConstants.TERRITORIES, LDMLConstants.VARIANTS, LDMLConstants.KEYS,
37 LDMLConstants.TYPES, CURRENCIES, TIMEZONES, CODEPATTERNS, MEASNAMES };
49 theMenu = LDMLConstants.LOCALEDISPLAYPATTERN; in xpathToMenu()
61 theMenu = LDMLConstants.LOCALEDISPLAYPATTERN; in xpathToMenu()
73 …} else if (path.startsWith("//ldml/" + LDMLConstants.CHARACTERS + "/" + LDMLConstants.EXEMPLAR_CHA… in xpathToMenu()
74 theMenu = LDMLConstants.CHARACTERS; in xpathToMenu()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DLDMLUtilities.java35 import org.unicode.cldr.icu.LDMLConstants;
238 String lang = LDMLUtilities.getAttributeValue(ln, LDMLConstants.TYPE); in getLocaleName()
245 String script = LDMLUtilities.getAttributeValue(sn, LDMLConstants.TYPE); in getLocaleName()
252 String terr = LDMLUtilities.getAttributeValue(tn, LDMLConstants.TYPE); in getLocaleName()
259 String variant = LDMLUtilities.getAttributeValue(vn, LDMLConstants.TYPE); in getLocaleName()
305 String source = getAttributeValue(alias, LDMLConstants.SOURCE); in convertXPath2ICU()
306 String xpath = getAttributeValue(alias, LDMLConstants.PATH); in convertXPath2ICU()
320 if (source.equals(LDMLConstants.LOCALE)) { in convertXPath2ICU()
359 if (source.equals(LDMLConstants.LOCALE)) { in convertXPath2ICU()
419 if (token.indexOf(LDMLConstants.LDN) > -1) { in getICUEquivalent()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateLanguageData.java10 import org.unicode.cldr.icu.LDMLConstants;
43 .addElement(LDMLConstants.LDML) in main()
44 .addElement(LDMLConstants.LDN) in main()
45 .addElement(LDMLConstants.LANGUAGES) in main()
46 .addElement(LDMLConstants.LANGUAGE); in main()
48 xpp.setAttribute(-1, LDMLConstants.DRAFT, DraftStatus.unconfirmed.toString()); in main()
61 xpp.setAttribute(-1, LDMLConstants.TYPE, languageCode); in main()
DGenerateDecompCollationRules.java11 import org.unicode.cldr.icu.LDMLConstants;
158 .addElements(LDMLConstants.LDML, in main()
159 LDMLConstants.COLLATIONS, in main()
160 LDMLConstants.COLLATION, in main()
/external/cldr/tools/java/org/unicode/cldr/icu/
DFixEras.java111 Node[] nodes = LDMLUtilities.getElementsByTagName(doc, LDMLConstants.ERA); in fixEras()
115 Node type = attr.getNamedItem(LDMLConstants.TYPE); in fixEras()
DLDMLComparator.java991 … referenceUrl = LDMLUtilities.getAttributeValue(childOfSource, LDMLConstants.REFERENCES); in extractMergeData()
998 String alt = LDMLUtilities.getAttributeValue(childOfSource, LDMLConstants.ALT); in extractMergeData()
1000 if (alt.equals(LDMLConstants.PROPOSED)) { in extractMergeData()
1017 … String type = LDMLUtilities.getAttributeValue(childOfSource, LDMLConstants.TYPE); in extractMergeData()
DLDMLConstants.java12 public class LDMLConstants { class