/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 1890 … UCalendar* ucal = ucal_open(tfdItemPtr->timezone, -1, tfdItemPtr->locale, UCAL_DEFAULT, &status); in TestFieldDifference() local 1896 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference() 1897 yDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_YEAR, &status); in TestFieldDifference() 1898 MDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MONTH, &status); in TestFieldDifference() 1899 dDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_DATE, &status); in TestFieldDifference() 1900 HDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_HOUR, &status); in TestFieldDifference() 1901 mDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_MINUTE, &status); in TestFieldDifference() 1902 sDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_SECOND, &status); in TestFieldDifference() 1918 ucal_setMillis(ucal, tfdItemPtr->start, &status); in TestFieldDifference() 1919 yDf = ucal_getFieldDifference(ucal, tfdItemPtr->target, UCAL_YEAR, &status); in TestFieldDifference() [all …]
|
D | cdattst.c | 427 UCalendar * ucal = ucal_open(trdfZone, -1, trdfLocale, UCAL_GREGORIAN, &status); in TestRelativeDateFormat() local 430 ucal_setMillis(ucal, ucal_getNow(), &status); in TestRelativeDateFormat() 431 year = ucal_get(ucal, UCAL_YEAR, &status); in TestRelativeDateFormat() 432 month = ucal_get(ucal, UCAL_MONTH, &status); in TestRelativeDateFormat() 433 day = ucal_get(ucal, UCAL_DATE, &status); in TestRelativeDateFormat() 434 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ in TestRelativeDateFormat() 435 today = ucal_getMillis(ucal, &status); in TestRelativeDateFormat() 436 ucal_close(ucal); in TestRelativeDateFormat() 1553 UCalendar* ucal = ucal_open(zoneGMT, -1, "root", UCAL_GREGORIAN, &status); in TestContext() local 1574 ucal_setMillis(ucal, today, &status); in TestContext() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1548 Calendar ucal = Calendar.getInstance(timezone, new ULocale(tfdItem.locale)); in TestFieldDifference() local 1549 ucal.setTimeInMillis(tfdItem.target); in TestFieldDifference() 1550 Date targetDate = ucal.getTime(); in TestFieldDifference() 1553 ucal.setTimeInMillis(tfdItem.start); in TestFieldDifference() 1554 yDf = ucal.fieldDifference(targetDate, YEAR); in TestFieldDifference() 1555 MDf = ucal.fieldDifference(targetDate, MONTH); in TestFieldDifference() 1556 dDf = ucal.fieldDifference(targetDate, DATE); in TestFieldDifference() 1557 HDf = ucal.fieldDifference(targetDate, HOUR); in TestFieldDifference() 1558 mDf = ucal.fieldDifference(targetDate, MINUTE); in TestFieldDifference() 1559 sDf = ucal.fieldDifference(targetDate, SECOND); in TestFieldDifference() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1551 Calendar ucal = Calendar.getInstance(timezone, new ULocale(tfdItem.locale)); in TestFieldDifference() local 1552 ucal.setTimeInMillis(tfdItem.target); in TestFieldDifference() 1553 Date targetDate = ucal.getTime(); in TestFieldDifference() 1556 ucal.setTimeInMillis(tfdItem.start); in TestFieldDifference() 1557 yDf = ucal.fieldDifference(targetDate, YEAR); in TestFieldDifference() 1558 MDf = ucal.fieldDifference(targetDate, MONTH); in TestFieldDifference() 1559 dDf = ucal.fieldDifference(targetDate, DATE); in TestFieldDifference() 1560 HDf = ucal.fieldDifference(targetDate, HOUR); in TestFieldDifference() 1561 mDf = ucal.fieldDifference(targetDate, MINUTE); in TestFieldDifference() 1562 sDf = ucal.fieldDifference(targetDate, SECOND); in TestFieldDifference() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | Makefile.in | 72 ucal.o calendar.o gregocal.o timezone.o simpletz.o olsontz.o \
|
/external/skia/third_party/icu/ |
D | icu.gni | 734 "$_src/i18n/ucal.cpp", 815 "$_src/i18n/unicode/ucal.h",
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.txt | 975 ucal.o
|
/external/skqp/third_party/icu/ |
D | icu.gni | 636 "../externals/icu/source/i18n/ucal.cpp",
|