Home
last modified time | relevance | path

Searched refs:LocaleIDParser (Results 1 – 25 of 54) sorted by relevance

123

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DPivotData.java19 import org.unicode.cldr.util.LocaleIDParser;
36 Set<LocaleIDParser.Level> conditions = null; in main()
39 conditions = EnumSet.of(LocaleIDParser.Level.Language, in main()
40 LocaleIDParser.Level.Script, in main()
41 LocaleIDParser.Level.Region); in main()
44 conditions = EnumSet.of(LocaleIDParser.Level.Language, in main()
45 LocaleIDParser.Level.Region); in main()
48 conditions = EnumSet.of(LocaleIDParser.Level.Language, in main()
49 LocaleIDParser.Level.Script); in main()
62 …private void pivotGroup(Factory cldrFactory, Set<LocaleIDParser.Level> conditions) throws IOExcept… in pivotGroup()
[all …]
DRemoveEmptyCLDR.java13 import org.unicode.cldr.util.LocaleIDParser;
79 String parent = LocaleIDParser.getParent(name); in addNameAndParents()
DGenerateAliases.java17 import org.unicode.cldr.util.LocaleIDParser;
108 String parent = LocaleIDParser.getSimpleParent(partial); in addToLikely()
132 String parent = LocaleIDParser.getSimpleParent(targetID); in getDefaultContents()
DDiffWithParent.java15 import org.unicode.cldr.util.LocaleIDParser;
37 String parentLocale = LocaleIDParser.getParent(locale); in main()
DShowChildren.java15 import org.unicode.cldr.util.LocaleIDParser;
104 locale = LocaleIDParser.getParent(locale); in getParentWithoutRegion()
DCompareData.java12 import org.unicode.cldr.util.LocaleIDParser;
102 … String langScript = new LocaleIDParser().set(file.getLocaleID()).getLanguageScript(); in main()
DChartAnnotations.java25 import org.unicode.cldr.util.LocaleIDParser;
202 … AnnotationSet parentAnnotations = Annotations.getDataSet(LocaleIDParser.getParent(locale)); in writeSubcharts()
212 … AnnotationSet subParentAnnotations = Annotations.getDataSet(LocaleIDParser.getParent(locale)); in writeSubcharts()
DSubdivisionNames.java18 import org.unicode.cldr.util.LocaleIDParser;
48 String parent = LocaleIDParser.getParent(locale); in SubdivisionNames()
DConvertLanguageData.java41 import org.unicode.cldr.util.LocaleIDParser;
42 import org.unicode.cldr.util.LocaleIDParser.Level;
143 String parent = LocaleIDParser.getParent(locale); in main()
245 String parent = LocaleIDParser.getParent(oldDefault); in getReplacement()
248 if (parent.equals(LocaleIDParser.getParent(replacement))) { in getReplacement()
1360 LocaleIDParser lidp = new LocaleIDParser(); in showDefaults()
1375 String newguy = LocaleIDParser.getParent(locale); in showDefaults()
1408 Set<LocaleIDParser.Level> levels = lidp.getLevels(); in showDefaults()
1410 if (levels.contains(LocaleIDParser.Level.Variants) // no variants in showDefaults()
1411 || !(levels.contains(LocaleIDParser.Level.Script) in showDefaults()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DLocaleIDParser.java22 public class LocaleIDParser { class
44 LocaleIDParser lparser = new LocaleIDParser(); in getLanguageScript()
82 public LocaleIDParser set(String localeID) { in set()
212 public LocaleIDParser setLanguage(String language) { in setLanguage()
217 public LocaleIDParser setRegion(String region) { in setRegion()
222 public LocaleIDParser setScript(String script) { in setScript()
227 public LocaleIDParser setVariants(String[] variants) { in setVariants()
DLocalesTxtReader.java47 LocaleIDParser parser = new LocaleIDParser(); in read()
DCldrXmlWriter.java99 LocaleIDParser lip = new LocaleIDParser(); in initializeIdentity()
DFactory.java140 currentLocaleID = LocaleIDParser.getParent(currentLocaleID, ignoreExplicitParentLocale); in makeWithFallback()
181 curLocale = LocaleIDParser.getParent(curLocale, ignoreExplicitParentLocale); in makeResolvingSource()
DCLDRLocale.java242 private LocaleIDParser parts = null;
288 parts = new LocaleIDParser(); in CLDRLocale()
291 … parentId = LocaleIDParser.getParent(str); // Note, this does now handle explicit parentLocales in CLDRLocale()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/
DTestLocaleIDParser.java23 final String newLoc = LocaleIDParser.getParent(loc); in TestNormalFallback()
44 final String newLoc = LocaleIDParser.getParent(loc, true); in TestCollationFallback()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java37 import android.icu.impl.LocaleIDParser;
111 return new LocaleIDParser(tmpLocaleID).getName();
845 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
864 return new LocaleIDParser(localeID).getScript(); in getScript()
885 return new LocaleIDParser(localeID).getCountry(); in getCountry()
941 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1007 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
1129 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1149 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1648 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java36 import com.ibm.icu.impl.LocaleIDParser;
124 return new LocaleIDParser(tmpLocaleID).getName();
913 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
934 return new LocaleIDParser(localeID).getScript(); in getScript()
957 return new LocaleIDParser(localeID).getCountry(); in getCountry()
1015 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1085 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
1212 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1234 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1734 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DFlexibleDateTime.java27 import org.unicode.cldr.util.LocaleIDParser;
83 LocaleIDParser lip = new LocaleIDParser();
148 LocaleIDParser lip = new LocaleIDParser();
DCasingInfo.java25 import org.unicode.cldr.util.LocaleIDParser;
87 String parentID = LocaleIDParser.getSimpleParent(localeID); in getLocaleCasing()
129 LocaleIDParser parser = new LocaleIDParser(); in generateCasingInformation()
DCheckLogicalGroupings.java11 import org.unicode.cldr.util.LocaleIDParser;
47 String parent = LocaleIDParser.getParent(cldrFileToCheck.getLocaleID()); in setCldrFileToCheck()
DCheckAttributeValues.java28 import org.unicode.cldr.util.LocaleIDParser;
243 LocaleIDParser localeIDParser = new LocaleIDParser();
540 LocaleIDParser lip = new LocaleIDParser();
DEmojiSubdivisionNames.java20 import org.unicode.cldr.util.LocaleIDParser;
90 String parentLocaleId = LocaleIDParser.getParent(localeID); in load()
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestCldrResolver.java19 import org.unicode.cldr.util.LocaleIDParser;
180 String parent = LocaleIDParser.getSimpleParent(locale); in loadToolDataFromResolver()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleIDParser.java23 public final class LocaleIDParser { class
59 public LocaleIDParser(String localeID) { in LocaleIDParser() method in LocaleIDParser
63 public LocaleIDParser(String localeID, boolean canonicalize) { in LocaleIDParser() method in LocaleIDParser
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DLocaleIDParser.java25 public final class LocaleIDParser { class
61 public LocaleIDParser(String localeID) { in LocaleIDParser() method in LocaleIDParser
65 public LocaleIDParser(String localeID, boolean canonicalize) { in LocaleIDParser() method in LocaleIDParser

123