HomeSort by relevance Sort by last modified time
    Searched refs:UDateTimeScale (Results 1 - 3 of 3) sorted by null

  /external/icu/icu4c/source/i18n/unicode/
utmscale.h 199 * <code>UDateTimeScale</code> values are used to specify the time scale used for
204 typedef enum UDateTimeScale {
290 } UDateTimeScale;
446 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status);
462 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
478 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
  /external/icu/icu4c/source/test/cintltst/
utmstest.c 101 static void roundTripTest(int64_t value, UDateTimeScale scale)
111 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale)
122 static void epochOffsetTest(int64_t epochOffset, int64_t units, UDateTimeScale scale)
158 int64_t units = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_UNITS_VALUE, &status);
159 int64_t epochOffset = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_EPOCH_OFFSET_VALUE, &status);
161 epochOffsetTest(epochOffset, units, (UDateTimeScale)scale);
171 int64_t fromMin = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MIN_VALUE, &status);
172 int64_t fromMax = utmscale_getTimeScaleValue((UDateTimeScale)scale, UTSV_FROM_MAX_VALUE, &status);
174 roundTripTest(fromMin, (UDateTimeScale)scale);
175 roundTripTest(fromMax, (UDateTimeScale)scale)
    [all...]
  /external/icu/icu4c/source/i18n/
utmscale.c 40 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status)
57 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status)
81 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status)

Completed in 433 milliseconds