/external/icu/icu4c/source/test/cintltst/ |
D | utmstest.c | 172 … 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleDataTest.java | 108 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLimits() local 111 roundTripTest(fromMax, scale); in TestFromLimits() 120 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestToLimits() local 125 toLimitTest(toMax, fromMax, scale); in TestToLimits()
|
D | TimeScaleAPITest.java | 129 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLong() local 155 result = UniversalTimeScale.from(fromMax, scale); in TestFromLong() 161 if (fromMax < Long.MAX_VALUE) { in TestFromLong() 163 result = UniversalTimeScale.from(fromMax + 1, scale); in TestFromLong()
|
D | TimeScaleMonkeyTest.java | 91 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestRoundTrip() local 94 initRandom(fromMin, fromMax); in TestRoundTrip()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
D | TimeScaleDataTest.java | 111 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLimits() local 114 roundTripTest(fromMax, scale); in TestFromLimits() 123 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestToLimits() local 128 toLimitTest(toMax, fromMax, scale); in TestToLimits()
|
D | TimeScaleAPITest.java | 132 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestFromLong() local 158 result = UniversalTimeScale.from(fromMax, scale); in TestFromLong() 164 if (fromMax < Long.MAX_VALUE) { in TestFromLong() 166 result = UniversalTimeScale.from(fromMax + 1, scale); in TestFromLong()
|
D | TimeScaleMonkeyTest.java | 94 … long fromMax = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.FROM_MAX_VALUE); in TestRoundTrip() local 97 initRandom(fromMin, fromMax); in TestRoundTrip()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UniversalTimeScale.java | 289 fromMax = theFromMax; in TimeScaleData() 295 long fromMax; field in UniversalTimeScale.TimeScaleData 537 return data.fromMax; in getTimeScaleValue() 580 if (otherTime >= data.fromMin && otherTime <= data.fromMax) { in fromRangeCheck()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 325 fromMax = theFromMax; in TimeScaleData() 331 long fromMax; field in UniversalTimeScale.TimeScaleData 589 return data.fromMax; in getTimeScaleValue() 632 if (otherTime >= data.fromMin && otherTime <= data.fromMax) { in fromRangeCheck()
|