Home
last modified time | relevance | path

Searched refs:fmtRelDateTime (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcdattst.c443 UDateFormat* fmtRelDateTime; in TestRelativeDateFormat() local
454fmtRelDateTime = udat_open(UDAT_SHORT, *stylePtr | UDAT_RELATIVE, trdfLocale, trdfZone, -1, NULL, … in TestRelativeDateFormat()
462 udat_close(fmtRelDateTime); in TestRelativeDateFormat()
468 udat_close(fmtRelDateTime); in TestRelativeDateFormat()
473 dtpatLen = udat_toPatternRelativeDate(fmtRelDateTime, strDate, kDateAndTimeOutMax, &status); in TestRelativeDateFormat()
480 dtpatLen = udat_toPatternRelativeTime(fmtRelDateTime, strTime, kDateAndTimeOutMax, &status); in TestRelativeDateFormat()
487 dtpatLen = udat_toPattern(fmtRelDateTime, FALSE, strDateTime, kDateAndTimeOutMax, &status); in TestRelativeDateFormat()
494 …udat_applyPatternRelative(fmtRelDateTime, strDate, u_strlen(strDate), newTimePatn, u_strlen(newTim… in TestRelativeDateFormat()
499 udat_toPattern(fmtRelDateTime, FALSE, strDateTime, kDateAndTimeOutMax, &status); in TestRelativeDateFormat()
507 …udat_applyPatternRelative(fmtRelDateTime, strDate, u_strlen(strDate), strTime, u_strlen(strTime), … in TestRelativeDateFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3788 … DateFormat fmtRelDateTime = DateFormat.getDateTimeInstance(dateStyle, DateFormat.SHORT, loc); in TestRelativeDateFormat() local
3800 fmtRelDateTime.format(cal, dateTimeStr, fp); in TestRelativeDateFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3787 … DateFormat fmtRelDateTime = DateFormat.getDateTimeInstance(dateStyle, DateFormat.SHORT, loc); in TestRelativeDateFormat() local
3799 fmtRelDateTime.format(cal, dateTimeStr, fp); in TestRelativeDateFormat()