Home
last modified time | relevance | path

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

123

/external/cldr/tools/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()
DDiffWithParent.java15 import org.unicode.cldr.util.LocaleIDParser;
37 String parentLocale = LocaleIDParser.getParent(locale); in main()
DGenerateAliases.java17 import org.unicode.cldr.util.LocaleIDParser;
108 String parent = LocaleIDParser.getSimpleParent(partial); in addToLikely()
132 String parent = LocaleIDParser.getSimpleParent(targetID); in getDefaultContents()
DShowChildren.java15 import org.unicode.cldr.util.LocaleIDParser;
104 locale = LocaleIDParser.getParent(locale); in getParentWithoutRegion()
DCompareData.java13 import org.unicode.cldr.util.LocaleIDParser;
103 … 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.java39 import org.unicode.cldr.util.LocaleIDParser;
40 import org.unicode.cldr.util.LocaleIDParser.Level;
142 String parent = LocaleIDParser.getParent(locale); in main()
247 String parent = LocaleIDParser.getParent(oldDefault); in getReplacement()
250 if (parent.equals(LocaleIDParser.getParent(replacement))) { in getReplacement()
1362 LocaleIDParser lidp = new LocaleIDParser(); in showDefaults()
1377 String newguy = LocaleIDParser.getParent(locale); in showDefaults()
1410 Set<LocaleIDParser.Level> levels = lidp.getLevels(); in showDefaults()
1412 if (levels.contains(LocaleIDParser.Level.Variants) // no variants in showDefaults()
1413 || !(levels.contains(LocaleIDParser.Level.Script) in showDefaults()
[all …]
/external/cldr/tools/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()
180 public LocaleIDParser setLanguage(String language) { in setLanguage()
185 public LocaleIDParser setRegion(String region) { in setRegion()
190 public LocaleIDParser setScript(String script) { in setScript()
195 public LocaleIDParser setVariants(String[] variants) { in setVariants()
DFactory.java128 currentLocaleID = LocaleIDParser.getParent(currentLocaleID); in makeWithFallback()
169 curLocale = LocaleIDParser.getParent(curLocale); in makeResolvingSource()
DCLDRLocale.java242 private LocaleIDParser parts = null;
279 parts = new LocaleIDParser(); in CLDRLocale()
282 parentId = LocaleIDParser.getParent(str); in CLDRLocale()
/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();
912 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
933 return new LocaleIDParser(localeID).getScript(); in getScript()
956 return new LocaleIDParser(localeID).getCountry(); in getCountry()
1014 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1084 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
1208 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1230 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1631 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java37 import android.icu.impl.LocaleIDParser;
111 return new LocaleIDParser(tmpLocaleID).getName();
843 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
862 return new LocaleIDParser(localeID).getScript(); in getScript()
883 return new LocaleIDParser(localeID).getCountry(); in getCountry()
939 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1005 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
1124 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1144 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1544 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DFlexibleDateTime.java27 import org.unicode.cldr.util.LocaleIDParser;
83 LocaleIDParser lip = new LocaleIDParser();
149 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()
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()
DCheckForExemplars.java25 import org.unicode.cldr.util.LocaleIDParser;
414 LocaleIDParser parser = new LocaleIDParser().set(sourceLocale); in handleCheck()
572 LocaleIDParser parser = new LocaleIDParser().set(localeID); in asciiNotAllowed()
DTestCLDRTests.java32 import org.unicode.cldr.util.LocaleIDParser;
85 LocaleIDParser lip = new LocaleIDParser(); in TestAll()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCldrResolver.java19 import org.unicode.cldr.util.LocaleIDParser;
180 String parent = LocaleIDParser.getSimpleParent(locale); in loadToolDataFromResolver()
DTestExampleDependencies.java21 import org.unicode.cldr.util.LocaleIDParser;
354 for (String currentLocaleID = LocaleIDParser.getParent(localeId); in getParentSources()
356 currentLocaleID = LocaleIDParser.getParent(currentLocaleID)) { in getParentSources()
/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
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DSupplementalDataTest.java24 import org.unicode.cldr.util.LocaleIDParser;
187 .isEqualTo(getIdChain(id, LocaleIDParser::getParent)); in testGetParent_regression()

123