Searched refs:UDateTimeScale (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | utmstest.c | 99 static void roundTripTest(int64_t value, UDateTimeScale scale) in roundTripTest() 109 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) in toLimitTest() 120 static void epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) in epochOffsetTest() 156 …int64_t units = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_UNITS_VALUE, &status); in TestEpochOffsets() 157 …int64_t epochOffset = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_EPOCH_OFFSET_VALUE, &… in TestEpochOffsets() 159 epochOffsetTest(epochOffset, units, (UDateTimeScale)scale); in TestEpochOffsets() 169 … int64_t fromMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MIN_VALUE, &status); in TestFromLimits() 170 … int64_t fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status); in TestFromLimits() 172 roundTripTest(fromMin, (UDateTimeScale)scale); in TestFromLimits() 173 roundTripTest(fromMax, (UDateTimeScale)scale); in TestFromLimits() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | utmscale.h | 202 typedef enum UDateTimeScale { enum 288 } UDateTimeScale; typedef 444 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status); 460 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status); 476 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
|
/external/icu/icu4c/source/i18n/ |
D | utmscale.c | 38 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status) in utmscale_getTimeScaleValue() 55 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() 79 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_toInt64()
|