Home
last modified time | relevance | path

Searched refs:minUnit (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java42 TimeUnit minUnit = TimeUnit.MILLISECOND; field in BasicPeriodBuilderFactory.Settings
60 result.minUnit = TimeUnit.MILLISECOND; in setUnits()
73 result.minUnit = result.maxUnit = null; in setUnits()
75 result.minUnit = TimeUnit.units[lastUnit]; in setUnits()
90 if (allowMillis || minUnit != TimeUnit.MILLISECOND) { in effectiveMinUnit()
91 return minUnit; in effectiveMinUnit()
173 long eml = (emu == minUnit) ? minLimit : in createLimited()
174 Math.max(1000, (approximateDurationOf(minUnit) * minLimit) / emud); in createLimited()
187 result.minUnit = minUnit; in copy()
198 public PeriodBuilderFactory setAvailableUnitRange(TimeUnit minUnit, in setAvailableUnitRange() argument
[all …]
DPeriodBuilderFactory.java26 PeriodBuilderFactory setAvailableUnitRange(TimeUnit minUnit, in setAvailableUnitRange() argument
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java41 TimeUnit minUnit = TimeUnit.MILLISECOND; field in BasicPeriodBuilderFactory.Settings
59 result.minUnit = TimeUnit.MILLISECOND; in setUnits()
72 result.minUnit = result.maxUnit = null; in setUnits()
74 result.minUnit = TimeUnit.units[lastUnit]; in setUnits()
89 if (allowMillis || minUnit != TimeUnit.MILLISECOND) { in effectiveMinUnit()
90 return minUnit; in effectiveMinUnit()
172 long eml = (emu == minUnit) ? minLimit : in createLimited()
173 Math.max(1000, (approximateDurationOf(minUnit) * minLimit) / emud); in createLimited()
186 result.minUnit = minUnit; in copy()
197 public PeriodBuilderFactory setAvailableUnitRange(TimeUnit minUnit, in setAvailableUnitRange() argument
[all …]
DPeriodBuilderFactory.java24 PeriodBuilderFactory setAvailableUnitRange(TimeUnit minUnit, in setAvailableUnitRange() argument
/external/icu/icu4c/source/common/
Dstringtriebuilder.cpp100 int32_t minUnit=getElementUnit(start, unitIndex); in writeNode() local
102 if(minUnit==maxUnit) { in writeNode()
224 int32_t minUnit=getElementUnit(start, unitIndex); in makeNode() local
226 if(minUnit==maxUnit) { in makeNode()