Home
last modified time | relevance | path

Searched refs:UnitComplexity (Results 1 – 2 of 2) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DUnitConverter.java1384 public enum UnitComplexity {simple, non_simple} enum in UnitConverter
1386 private ConcurrentHashMap<String, UnitComplexity> COMPLEXITY = new ConcurrentHashMap<>();
1389 public UnitComplexity getComplexity (String longOrShortId){ in getComplexity()
1390 UnitComplexity result = COMPLEXITY.get(longOrShortId); in getComplexity()
1401 result = UnitComplexity.simple; in getComplexity()
1404 result = UnitComplexity.non_simple; in getComplexity()
1411 result = UnitComplexity.non_simple; in getComplexity()
1415 if (result == UnitComplexity.simple) { in getComplexity()
1420 result = UnitComplexity.non_simple; in getComplexity()
1433 return getComplexity(x) == UnitComplexity.simple; in isSimple()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnits.java71 import org.unicode.cldr.util.UnitConverter.UnitComplexity;
1941 if (converter.getComplexity(shortUnitId) == UnitComplexity.simple) { in TestFileFallbackNames()