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 …]
DGenerateCldrCollationTests.java17 import org.unicode.cldr.util.LocaleIDParser;
66 …for (String parentlocale = LocaleIDParser.getSimpleParent(locale); parentlocale != null; parentloc… in GenerateCldrCollationTests()
98 … String parent = LocaleIDParser.getSimpleParent(locale); // GenerateCldrTests.getParent(locale); in GenerateCldrCollationTests()
DRemoveEmptyCLDR.java12 import org.unicode.cldr.util.LocaleIDParser;
62 String parent = LocaleIDParser.getParent(name); in addNameAndParents()
DChartAnnotations.java24 import org.unicode.cldr.util.LocaleIDParser;
197 … AnnotationSet parentAnnotations = Annotations.getDataSet(LocaleIDParser.getParent(locale)); in writeSubcharts()
207 … AnnotationSet subParentAnnotations = Annotations.getDataSet(LocaleIDParser.getParent(locale)); in writeSubcharts()
DGenerateAliases.java17 import org.unicode.cldr.util.LocaleIDParser;
110 String parent = LocaleIDParser.getSimpleParent(partial); in addToLikely()
134 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;
105 locale = LocaleIDParser.getParent(locale); in getParentWithoutRegion()
DCompareData.java13 import org.unicode.cldr.util.LocaleIDParser;
102 … String langScript = new LocaleIDParser().set(file.getLocaleID()).getLanguageScript(); in main()
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()
1433 LocaleIDParser lidp = new LocaleIDParser(); in showDefaults()
1448 String newguy = LocaleIDParser.getParent(locale); in showDefaults()
1481 Set<LocaleIDParser.Level> levels = lidp.getLevels(); in showDefaults()
1483 if (levels.contains(LocaleIDParser.Level.Variants) // no variants in showDefaults()
1484 || !(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()
166 public LocaleIDParser setLanguage(String language) { in setLanguage()
171 public LocaleIDParser setRegion(String region) { in setRegion()
176 public LocaleIDParser setScript(String script) { in setScript()
181 public LocaleIDParser setVariants(String[] variants) { in setVariants()
DCLDRLocale.java231 private LocaleIDParser parts = null;
296 parts = new LocaleIDParser(); in init()
299 String parentId = LocaleIDParser.getParent(str); in init()
DFactory.java127 currentLocaleID = LocaleIDParser.getParent(currentLocaleID); in makeWithFallback()
168 curLocale = LocaleIDParser.getParent(curLocale); in makeResolvingSource()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java31 import android.icu.impl.LocaleIDParser;
107 return new LocaleIDParser(tmpLocaleID).getName();
826 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
845 return new LocaleIDParser(localeID).getScript(); in getScript()
866 return new LocaleIDParser(localeID).getCountry(); in getCountry()
922 return new LocaleIDParser(localeID).getVariant(); in getVariant()
988 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
1075 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1095 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1105 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java27 import com.ibm.icu.impl.LocaleIDParser;
784 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
805 return new LocaleIDParser(localeID).getScript(); in getScript()
828 return new LocaleIDParser(localeID).getCountry(); in getCountry()
848 return new LocaleIDParser(localeID).getVariant(); in getVariant()
914 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
977 name = new LocaleIDParser(tmpLocaleID).getName(); in getName()
1009 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1031 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1042 LocaleIDParser parser = new LocaleIDParser(localeID, true); in canonicalize()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java30 import com.ibm.icu.impl.LocaleIDParser;
120 return new LocaleIDParser(tmpLocaleID).getName();
882 return new LocaleIDParser(localeID).getLanguage(); in getLanguage()
903 return new LocaleIDParser(localeID).getScript(); in getScript()
926 return new LocaleIDParser(localeID).getCountry(); in getCountry()
984 return new LocaleIDParser(localeID).getVariant(); in getVariant()
1054 return new LocaleIDParser(localeID).getBaseName(); in getBaseName()
1146 return new LocaleIDParser(localeID).getKeywords(); in getKeywords()
1168 return new LocaleIDParser(localeID).getKeywordValue(keywordName); in getKeywordValue()
1179 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;
179 LocaleIDParser lip = new LocaleIDParser();
248 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.java27 import org.unicode.cldr.util.LocaleIDParser;
240 LocaleIDParser localeIDParser = new LocaleIDParser();
532 LocaleIDParser lip = new LocaleIDParser();
DCheckForExemplars.java24 import org.unicode.cldr.util.LocaleIDParser;
408 LocaleIDParser parser = new LocaleIDParser().set(sourceLocale); in handleCheck()
565 LocaleIDParser parser = new LocaleIDParser().set(localeID); in asciiNotAllowed()
DEmojiSubdivisionNames.java20 import org.unicode.cldr.util.LocaleIDParser;
90 String parentLocaleId = LocaleIDParser.getParent(localeID); in load()
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()
/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/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/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/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

123