OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UDateTimeScale
(Results
1 - 3
of
3
) sorted by null
/external/icu/icu4c/source/i18n/unicode/
utmscale.h
197
* <code>
UDateTimeScale
</code> values are used to specify the time scale used for
202
typedef enum
UDateTimeScale
{
288
}
UDateTimeScale
;
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/test/cintltst/
utmstest.c
99
static void roundTripTest(int64_t value,
UDateTimeScale
scale)
109
static void toLimitTest(int64_t toLimit, int64_t fromLimit,
UDateTimeScale
scale)
120
static void epochOffsetTest(int64_t epochOffset, int64_t units,
UDateTimeScale
scale)
156
int64_t units = utmscale_getTimeScaleValue((
UDateTimeScale
)scale, UTSV_UNITS_VALUE, &status);
157
int64_t epochOffset = utmscale_getTimeScaleValue((
UDateTimeScale
)scale, UTSV_EPOCH_OFFSET_VALUE, &status);
159
epochOffsetTest(epochOffset, units, (
UDateTimeScale
)scale);
169
int64_t fromMin = utmscale_getTimeScaleValue((
UDateTimeScale
)scale, UTSV_FROM_MIN_VALUE, &status);
170
int64_t fromMax = utmscale_getTimeScaleValue((
UDateTimeScale
)scale, UTSV_FROM_MAX_VALUE, &status);
172
roundTripTest(fromMin, (
UDateTimeScale
)scale);
173
roundTripTest(fromMax, (
UDateTimeScale
)scale)
[
all
...]
/external/icu/icu4c/source/i18n/
utmscale.c
38
utmscale_getTimeScaleValue(
UDateTimeScale
timeScale, UTimeScaleValue value, UErrorCode *status)
55
utmscale_fromInt64(int64_t otherTime,
UDateTimeScale
timeScale, UErrorCode *status)
79
utmscale_toInt64(int64_t universalTime,
UDateTimeScale
timeScale, UErrorCode *status)
Completed in 130 milliseconds