Home
last modified time | relevance | path

Searched refs:fromMax (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dutmstest.c172 … int64_t fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status); in TestFromLimits() local
175 roundTripTest(fromMax, (UDateTimeScale)scale); in TestFromLimits()
186 … int64_t fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status); in TestToLimits() local
191 toLimitTest(toMax, fromMax, (UDateTimeScale)scale); in TestToLimits()
208 int64_t fromMin, fromMax; in TestFromInt64() local
212 fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status); in TestFromInt64()
235 result = utmscale_fromInt64(fromMax, (UDateTimeScale)scale, &status); in TestFromInt64()
240 if (fromMax < U_INT64_MAX) { in TestFromInt64()
242 result = utmscale_fromInt64(fromMax + 1, (UDateTimeScale)scale, &status); in TestFromInt64()
338 … int64_t fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status); in TestMonkey() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
DTimeScaleDataTest.java106 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLimits() local
109 roundTripTest(fromMax, scale); in TestFromLimits()
118 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestToLimits() local
123 toLimitTest(toMax, fromMax, scale); in TestToLimits()
DTimeScaleAPITest.java127 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLong() local
153 result = UniversalTimeScale.from(fromMax, scale); in TestFromLong()
159 if (fromMax < Long.MAX_VALUE) { in TestFromLong()
161 result = UniversalTimeScale.from(fromMax + 1, scale); in TestFromLong()
DTimeScaleMonkeyTest.java89 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestRoundTrip() local
92 initRandom(fromMin, fromMax); in TestRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleDataTest.java105 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLimits() local
108 roundTripTest(fromMax, scale); in TestFromLimits()
117 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestToLimits() local
122 toLimitTest(toMax, fromMax, scale); in TestToLimits()
DTimeScaleAPITest.java126 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLong() local
152 result = UniversalTimeScale.from(fromMax, scale); in TestFromLong()
158 if (fromMax < Long.MAX_VALUE) { in TestFromLong()
160 result = UniversalTimeScale.from(fromMax + 1, scale); in TestFromLong()
DTimeScaleMonkeyTest.java88 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestRoundTrip() local
91 initRandom(fromMin, fromMax); in TestRoundTrip()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java286 fromMax = theFromMax; in TimeScaleData()
292 long fromMax; field in UniversalTimeScale.TimeScaleData
534 return data.fromMax; in getTimeScaleValue()
577 if (otherTime >= data.fromMin && otherTime <= data.fromMax) { in fromRangeCheck()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java324 fromMax = theFromMax; in TimeScaleData()
330 long fromMax; field in UniversalTimeScale.TimeScaleData
588 return data.fromMax; in getTimeScaleValue()
631 if (otherTime >= data.fromMin && otherTime <= data.fromMax) { in fromRangeCheck()