/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | DataDrivenCalendarTest.java | 78 CalendarFieldsSet toSet, Calendar toCalendar, boolean forward) { in testConvert() argument 80 : "reverse")+" "+fromCalendar.getType()+"->"+toCalendar.getType()+" "; in testConvert() 112 toCalendar.clear(); in testConvert() 113 toCalendar.setTime(fromTime); in testConvert() 116 if (!toSet.matches(toCalendar, diffSet)) { in testConvert() 129 Calendar toCalendar= null; in testConvert() local 133 toCalendar = Calendar.getInstance(loc); in testConvert() 159 testConvert(caseString, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert() 163 testConvert(caseString, toSet, toCalendar, fromSet, fromCalendar, forward); in testConvert() 261 Calendar toCalendar = (Calendar)fromCalendar.clone(); in testOps() local [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | DataDrivenCalendarTest.java | 81 CalendarFieldsSet toSet, Calendar toCalendar, boolean forward) { in testConvert() argument 83 : "reverse")+" "+fromCalendar.getType()+"->"+toCalendar.getType()+" "; in testConvert() 115 toCalendar.clear(); in testConvert() 116 toCalendar.setTime(fromTime); in testConvert() 119 if (!toSet.matches(toCalendar, diffSet)) { in testConvert() 132 Calendar toCalendar= null; in testConvert() local 136 toCalendar = Calendar.getInstance(loc); in testConvert() 162 testConvert(caseString, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert() 166 testConvert(caseString, toSet, toCalendar, fromSet, fromCalendar, forward); in testConvert() 264 Calendar toCalendar = (Calendar)fromCalendar.clone(); in testOps() local [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dadrcal.cpp | 101 Calendar *toCalendar= NULL; in testOps() local 237 toCalendar = fromCalendar->clone(); in testOps() 243 toCalendar->roll((UCalendarDateFields)q, in testOps() 246 toCalendar->add((UCalendarDateFields)q, in testOps() 265 if(!(toCalendar->getTime(status)==toDate) || U_FAILURE(status)){ in testOps() 272 } else if (!toSet.matches(toCalendar, diffSet, status)) { in testOps() 285 delete toCalendar; in testOps() 291 const CalendarFieldsSet &toSet, Calendar *toCalendar, UBool forward) { in testConvert() argument 294 : "reverse")+" "+fromCalendar->getType()+"->"+toCalendar->getType(); in testConvert() 342 toCalendar->clear(); in testConvert() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalFormat.java | 806 Calendar toCalendar, in getPatterns() argument 810 if ( fromCalendar.get(Calendar.ERA) != toCalendar.get(Calendar.ERA) ) { in getPatterns() 813 toCalendar.get(Calendar.YEAR) ) { in getPatterns() 816 toCalendar.get(Calendar.MONTH) ) { in getPatterns() 819 toCalendar.get(Calendar.DATE) ) { in getPatterns() 822 toCalendar.get(Calendar.AM_PM) ) { in getPatterns() 825 toCalendar.get(Calendar.HOUR) ) { in getPatterns() 828 toCalendar.get(Calendar.MINUTE) ) { in getPatterns() 831 toCalendar.get(Calendar.SECOND) ) { in getPatterns() 834 toCalendar.get(Calendar.MILLISECOND) ) { in getPatterns() [all …]
|
D | SimpleDateFormat.java | 4240 Calendar toCalendar, in intervalFormatByAlgorithm() argument 4246 if ( !fromCalendar.isEquivalentTo(toCalendar) ) { in intervalFormatByAlgorithm() 4258 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm() 4271 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm() 4284 format(toCalendar, appendTo, pos); in intervalFormatByAlgorithm() 4336 format(toCalendar, appendTo, pos); in intervalFormatByAlgorithm() 4373 i, capSetting, pos, item.type, toCalendar); in intervalFormatByAlgorithm() 4376 i, capSetting, pos, item.type, toCalendar)); in intervalFormatByAlgorithm() 4400 Calendar toCalendar, in diffCalFieldValue() argument 4418 int value_2 = toCalendar.get(field); in diffCalFieldValue()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalFormat.java | 826 Calendar toCalendar, in getPatterns() argument 830 if ( fromCalendar.get(Calendar.ERA) != toCalendar.get(Calendar.ERA) ) { in getPatterns() 833 toCalendar.get(Calendar.YEAR) ) { in getPatterns() 836 toCalendar.get(Calendar.MONTH) ) { in getPatterns() 839 toCalendar.get(Calendar.DATE) ) { in getPatterns() 842 toCalendar.get(Calendar.AM_PM) ) { in getPatterns() 845 toCalendar.get(Calendar.HOUR) ) { in getPatterns() 848 toCalendar.get(Calendar.MINUTE) ) { in getPatterns() 851 toCalendar.get(Calendar.SECOND) ) { in getPatterns() 854 toCalendar.get(Calendar.MILLISECOND) ) { in getPatterns() [all …]
|
D | SimpleDateFormat.java | 4272 Calendar toCalendar, in intervalFormatByAlgorithm() argument 4278 if ( !fromCalendar.isEquivalentTo(toCalendar) ) { in intervalFormatByAlgorithm() 4290 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm() 4303 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm() 4316 format(toCalendar, appendTo, pos); in intervalFormatByAlgorithm() 4368 format(toCalendar, appendTo, pos); in intervalFormatByAlgorithm() 4405 i, capSetting, pos, item.type, toCalendar); in intervalFormatByAlgorithm() 4408 i, capSetting, pos, item.type, toCalendar)); in intervalFormatByAlgorithm() 4432 Calendar toCalendar, in diffCalFieldValue() argument 4450 int value_2 = toCalendar.get(field); in diffCalFieldValue()
|
/external/icu/icu4c/source/i18n/ |
D | dtitvfmt.cpp | 352 Calendar& toCalendar, in format() argument 361 return formatImpl(fromCalendar, toCalendar, appendTo, ignore, handler, status); in format() 367 Calendar& toCalendar, in formatToValue() argument 383 formatImpl(fromCalendar, toCalendar, string, firstIndex, handler, status); in formatToValue() 423 Calendar& toCalendar, in formatImpl() argument 437 if ( !fromCalendar.isEquivalentTo(toCalendar) ) { in formatImpl() 445 if ( fromCalendar.get(UCAL_ERA,status) != toCalendar.get(UCAL_ERA,status)) { in formatImpl() 448 toCalendar.get(UCAL_YEAR, status) ) { in formatImpl() 451 toCalendar.get(UCAL_MONTH, status) ) { in formatImpl() 454 toCalendar.get(UCAL_DATE, status) ) { in formatImpl() [all …]
|
D | udateintervalformat.cpp | 142 UCalendar* toCalendar, in udtitvfmt_formatCalendarToResult() argument 151 ->formatToValue(*(Calendar *)fromCalendar, *(Calendar *)toCalendar, *status); in udtitvfmt_formatCalendarToResult()
|
/external/icu/libicu/cts_headers/unicode/ |
D | dtitvfmt.h | 544 Calendar& toCalendar, 567 Calendar& toCalendar, 810 Calendar& toCalendar, 839 Calendar& toCalendar, 1145 Calendar& toCalendar,
|
D | udateintervalformat.h | 301 UCalendar* toCalendar,
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtitvfmt.h | 544 Calendar& toCalendar, 567 Calendar& toCalendar, 810 Calendar& toCalendar, 839 Calendar& toCalendar, 1145 Calendar& toCalendar,
|
D | udateintervalformat.h | 301 UCalendar* toCalendar,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1098 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR() local 1100 toCalendar.setTimeInMillis(dtitv.getToDate()); in expectUserCLDR() 1101 dtitvfmt.format(fromCalendar, toCalendar, str, pos); in expectUserCLDR() 1271 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress() local 1273 toCalendar.setTimeInMillis(dtitv.getToDate()); in stress() 1274 dtfmt.intervalFormatByAlgorithm(fromCalendar, toCalendar, str, pos); in stress() 1631 Calendar toCalendar= Calendar.getInstance(Locale.ENGLISH); in TestDateIntervalFormatCoverage() local 1632 toCalendar.set(2016, 5, 23); in TestDateIntervalFormatCoverage() 1634 dtitvfmt.getPatterns(fromCalendar, toCalendar, secondPart), "MMM d – "); in TestDateIntervalFormatCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1095 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR() local 1097 toCalendar.setTimeInMillis(dtitv.getToDate()); in expectUserCLDR() 1098 dtitvfmt.format(fromCalendar, toCalendar, str, pos); in expectUserCLDR() 1268 Calendar toCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress() local 1270 toCalendar.setTimeInMillis(dtitv.getToDate()); in stress() 1271 dtfmt.intervalFormatByAlgorithm(fromCalendar, toCalendar, str, pos); in stress() 1628 Calendar toCalendar= Calendar.getInstance(Locale.ENGLISH); in TestDateIntervalFormatCoverage() local 1629 toCalendar.set(2016, 5, 23); in TestDateIntervalFormatCoverage() 1631 dtitvfmt.getPatterns(fromCalendar, toCalendar, secondPart), "MMM d – "); in TestDateIntervalFormatCoverage()
|
/external/icu/libandroidicu/include/unicode/ |
D | udateintervalformat.h | 301 UCalendar* toCalendar,
|
/external/icu/icu4c/source/test/cintltst/ |
D | cldrtest.c | 624 UResourceBundle *toCalendar, *fromCalendar, *toGregorian, *fromGregorian; in compareConsistentCountryInfo() local 633 toCalendar = ures_getByKey(toLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo() 634 toGregorian = ures_getByKeyWithFallback(toCalendar, "gregorian", NULL, &errorCode); in compareConsistentCountryInfo() 676 ures_close(toCalendar); in compareConsistentCountryInfo()
|