Home
last modified time | relevance | path

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

/aosp_15_r20/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
H A DUnitConverter.java1998 public enum UnitComplexity { enum in UnitConverter
2003 private ConcurrentHashMap<String, UnitComplexity> COMPLEXITY = new ConcurrentHashMap<>();
2006 public UnitComplexity getComplexity(String longOrShortId) { in getComplexity()
2007 UnitComplexity result = COMPLEXITY.get(longOrShortId); in getComplexity()
2018 result = UnitComplexity.simple; in getComplexity()
2021 result = UnitComplexity.non_simple; in getComplexity()
2029 result = UnitComplexity.non_simple; in getComplexity()
2033 if (result == UnitComplexity.simple) { in getComplexity()
2038 result = UnitComplexity.non_simple; in getComplexity()
2051 return getComplexity(x) == UnitComplexity.simple; in isSimple()
/aosp_15_r20/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
H A DTestUnits.java114 import org.unicode.cldr.util.UnitConverter.UnitComplexity;
2720 if (converter.getComplexity(shortUnitId) == UnitComplexity.simple) { in TestFileFallbackNames()