Home
last modified time | relevance | path

Searched refs:OfficialStatus (Results 1 – 17 of 17) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DWikipediaOfficialLanguages.java20 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
33 final OfficialStatus status;
36 public Info(String language, OfficialStatus status, String comments) { in Info()
163 private static OfficialStatus guessStatus(String line) { in guessStatus()
165 return OfficialStatus.official_minority; in guessStatus()
167 return OfficialStatus.official_regional; in guessStatus()
169 return OfficialStatus.recognized; in guessStatus()
171 return OfficialStatus.de_facto_official; in guessStatus()
173 return OfficialStatus.official; in guessStatus()
175 return OfficialStatus.official; in guessStatus()
[all …]
DLanguageInfo.java11 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
26 …private Relation<OfficialStatus, String> statusToRegions = Relation.of(new EnumMap<OfficialStatus,…
33 public Relation<OfficialStatus, String> getStatusToRegions() { in getStatusToRegions()
79 OfficialStatus ostatus = data.getOfficialStatus();
80 if (ostatus != OfficialStatus.unknown) {
DSupplementalDataInfo.java116 public enum OfficialStatus { enum in SupplementalDataInfo
122 private OfficialStatus(String shortName, int weight) { in OfficialStatus() method in SupplementalDataInfo.OfficialStatus
136 return compareTo(OfficialStatus.de_facto_official) >= 0; in isMajor()
140 return compareTo(OfficialStatus.official_regional) >= 0; in isOfficial()
156 private OfficialStatus officialStatus = OfficialStatus.unknown;
262 public OfficialStatus getOfficialStatus() { in getOfficialStatus()
266 public PopulationData setOfficialStatus(OfficialStatus officialStatus) { in setOfficialStatus()
1930 OfficialStatus officialStatus = OfficialStatus.unknown;
1932 … if (officialStatusString != null) officialStatus = OfficialStatus.valueOf(officialStatusString);
/external/cldr/tools/java/org/unicode/cldr/tool/
DGetLanguageData.java11 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
35 Pair<OfficialStatus, String> status = isOfficialLanguageOfEUCountry(language); in run()
98 private Pair<OfficialStatus, String> isOfficialLanguageOfEUCountry(String language) { in isOfficialLanguageOfEUCountry()
99 OfficialStatus bestStatus = OfficialStatus.unknown; in isOfficialLanguageOfEUCountry()
105 OfficialStatus status = pop.getOfficialStatus(); in isOfficialLanguageOfEUCountry()
DScriptPopulations.java12 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
28 Map<String, OfficialStatus> bestStatus = new HashMap<>(); in main()
33 OfficialStatus officialStatus = languageInfo.getOfficialStatus(); in main()
48 OfficialStatus oldStatus = bestStatus.get(lang); in main()
58 OfficialStatus officialStatus = bestStatus.get(lang); in main()
DShowLanguageData.java11 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
33 OfficialStatus status = popData.getOfficialStatus(); in main()
DFindPreferredHours.java21 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
319 OfficialStatus status = data.getOfficialStatus(); in isOfficial()
320 if (status == OfficialStatus.official || status == OfficialStatus.de_facto_official) { in isOfficial()
DGenerateMaximalLocales.java45 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
469 OfficialStatus os;
473 public RowData(OfficialStatus os, String name, Long pop) { in RowData()
479 public OfficialStatus getStatus() { in getStatus()
537OfficialStatus minimalStatus = OfficialStatus.official_regional; // OfficialStatus.de_facto_offici… in printDefaultLanguagesAndScripts()
570 OfficialStatus status = popData.getOfficialStatus(); in printDefaultLanguagesAndScripts()
589 … add(languageToReason, language, container, OfficialStatus.unknown, literatePopulation); in printDefaultLanguagesAndScripts()
598 add(languageToReason, language, "001", OfficialStatus.unknown, totalPop); in printDefaultLanguagesAndScripts()
603 add(languageToReason, "und", "001", OfficialStatus.unknown, 0); in printDefaultLanguagesAndScripts()
680 OfficialStatus best = OfficialStatus.unknown; in getLanguageName()
[all …]
DCheckEnglishCurrencyNames.java16 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
89 OfficialStatus status = populationData.getOfficialStatus(); in main()
DShowLanguages.java61 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
296 static final Map<String, OfficialStatus> languageToBestStatus = new HashMap<>();
308 OfficialStatus status = data.getOfficialStatus();
309 OfficialStatus old;
325 OfficialStatus status = languageToBestStatus.get(language);
483 OfficialStatus status = data.getOfficialStatus(); in addOfficialTerritory()
1494 if (x == null || x.getOfficialStatus() == OfficialStatus.unknown) return ""; in getOfficialStatus()
1501 if (x == null || x.getOfficialStatus() == OfficialStatus.unknown) return ""; in getRawOfficialStatus()
DConvertLanguageData.java49 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
589 private final OfficialStatus officialStatus;
605 officialStatus = OfficialStatus.unknown; in RowData()
636 officialStatus = OfficialStatus.valueOf(officialStatusString); in RowData()
1141 Set<OfficialStatus> statusFound = new TreeSet<>(); in getExcelData()
1253 … + "\t" + (row.officialStatus == OfficialStatus.unknown ? "" : row.officialStatus) in getExcelData()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestInheritance.java36 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
83 … ChainedMap.M4<String, OfficialStatus, String, Boolean> languageToOfficialChildren = ChainedMap in TestLocalesHaveOfficial()
85 new TreeMap<OfficialStatus, Object>(), in TestLocalesHaveOfficial()
100 OfficialStatus status = data.getOfficialStatus(); in TestLocalesHaveOfficial()
101 if (data.getOfficialStatus() != OfficialStatus.unknown) { in TestLocalesHaveOfficial()
129 OfficialStatus.unknown, locale, Boolean.TRUE); in TestLocalesHaveOfficial()
138 M3<OfficialStatus, String, Boolean> officalStatusToChildren = languageToOfficialChildren in TestLocalesHaveOfficial()
140 for (Entry<OfficialStatus, Map<String, Boolean>> entry : officalStatusToChildren) { in TestLocalesHaveOfficial()
141 OfficialStatus status = entry.getKey(); in TestLocalesHaveOfficial()
142 if (status != OfficialStatus.official in TestLocalesHaveOfficial()
[all …]
DTestCLDRLocaleCoverage.java26 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
136 OfficialStatus status = popData.getOfficialStatus(); in getOfficial1M()
137 if (status == OfficialStatus.unknown) { in getOfficial1M()
DTestCoverageLevel.java44 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
182 OfficialStatus officialStatus = pop.getOfficialStatus();
183 if (officialStatus.compareTo(OfficialStatus.de_facto_official) >= 0) {
DTestSupplementalInfo.java62 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
928 OfficialStatus.de_facto_official) < 0) { in TestTimeData()
/external/cldr/tools/java/org/unicode/cldr/draft/
DGenerateLanguageData.java19 import org.unicode.cldr.util.SupplementalDataInfo.OfficialStatus;
93 OfficialStatus status = data.getOfficialStatus(); in run()
94 if (status.compareTo(OfficialStatus.official_minority) >= 0) { in run()
/external/cldr/tools/java/org/unicode/cldr/util/data/
Dcountry_language_population_raw.txt1 # CName CCode CPopulation CLiteracy CGdp OfficialStatus Language LCode LPopulation WritingPop Refer…