Searched refs:UDateTimeScale (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | utmstest.c | 101 static void roundTripTest(int64_t value, UDateTimeScale scale) in roundTripTest() 111 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale) in toLimitTest() 122 static void epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale) in epochOffsetTest() 158 …int64_t units = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_UNITS_VALUE, &status); in TestEpochOffsets() 159 …int64_t epochOffset = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_EPOCH_OFFSET_VALUE, &… in TestEpochOffsets() 161 epochOffsetTest(epochOffset, units, (UDateTimeScale)scale); in TestEpochOffsets() 171 … int64_t fromMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MIN_VALUE, &status); in TestFromLimits() 172 … int64_t fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status); in TestFromLimits() 174 roundTripTest(fromMin, (UDateTimeScale)scale); in TestFromLimits() 175 roundTripTest(fromMax, (UDateTimeScale)scale); in TestFromLimits() [all …]
|
/external/icu/libandroidicu/include/unicode/ |
D | utmscale.h | 204 typedef enum UDateTimeScale { enum 294 } UDateTimeScale; typedef 453 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status); 469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status); 485 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
|
/external/icu/libicu/cts_headers/unicode/ |
D | utmscale.h | 204 typedef enum UDateTimeScale { enum 294 } UDateTimeScale; typedef 453 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status); 469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status); 485 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | utmscale.h | 204 typedef enum UDateTimeScale { enum 294 } UDateTimeScale; typedef 453 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status); 469 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status); 485 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
|
/external/icu/icu4c/source/i18n/ |
D | utmscale.cpp | 40 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status) in utmscale_getTimeScaleValue() 57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_fromInt64() 81 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status) in utmscale_toInt64()
|