Home
last modified time | relevance | path

Searched refs:fromCalendar (Results 1 – 13 of 13) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java64 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
67 : "reverse")+" "+fromCalendar.getType()+"->"+toCalendar.getType()+" "; in testConvert()
69 fromCalendar.clear(); in testConvert()
71 fromSet.setOnCalendar(fromCalendar); in testConvert()
77 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
87 Date fromTime = fromCalendar.getTime(); in testConvert()
91 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
109 +fromCalendar.getType()); in testConvert()
134 Calendar fromCalendar = Calendar.getInstance(fromLoc); in testConvert() local
148 testConvert(caseString, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDataDrivenCalendarTest.java60 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
63 : "reverse")+" "+fromCalendar.getType()+"->"+toCalendar.getType()+" "; in testConvert()
65 fromCalendar.clear(); in testConvert()
67 fromSet.setOnCalendar(fromCalendar); in testConvert()
73 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
83 Date fromTime = fromCalendar.getTime(); in testConvert()
87 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
105 +fromCalendar.getType()); in testConvert()
130 Calendar fromCalendar = Calendar.getInstance(fromLoc); in testConvert() local
144 testConvert(caseString, fromSet, fromCalendar, toSet, toCalendar, forward); in testConvert()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddadrcal.cpp100 Calendar *fromCalendar= NULL; in testOps() local
118 fromCalendar = Calendar::createInstance(toCalLoc, status); in testOps()
205 fromCalendar->setTime(fromDate, status); in testOps()
212 fromSet.setOnCalendar(fromCalendar, status); in testOps()
222 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testOps()
235 toCalendar = fromCalendar->clone(); in testOps()
282 delete fromCalendar; in testOps()
288 const CalendarFieldsSet &fromSet, Calendar *fromCalendar, in testConvert() argument
292 : "reverse")+" "+fromCalendar->getType()+"->"+toCalendar->getType(); in testConvert()
294 fromCalendar->clear(); in testConvert()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java635 public String getPatterns(Calendar fromCalendar, in getPatterns() argument
640 if ( fromCalendar.get(Calendar.ERA) != toCalendar.get(Calendar.ERA) ) { in getPatterns()
642 } else if ( fromCalendar.get(Calendar.YEAR) != in getPatterns()
645 } else if ( fromCalendar.get(Calendar.MONTH) != in getPatterns()
648 } else if ( fromCalendar.get(Calendar.DATE) != in getPatterns()
651 } else if ( fromCalendar.get(Calendar.AM_PM) != in getPatterns()
654 } else if ( fromCalendar.get(Calendar.HOUR) != in getPatterns()
657 } else if ( fromCalendar.get(Calendar.MINUTE) != in getPatterns()
660 } else if ( fromCalendar.get(Calendar.SECOND) != in getPatterns()
689 public final StringBuffer format(Calendar fromCalendar, in format() argument
[all …]
DSimpleDateFormat.java3824 public final StringBuffer intervalFormatByAlgorithm(Calendar fromCalendar, in intervalFormatByAlgorithm() argument
3831 if ( !fromCalendar.isEquivalentTo(toCalendar) ) { in intervalFormatByAlgorithm()
3843 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm()
3851 return format(fromCalendar, appendTo, pos); in intervalFormatByAlgorithm()
3856 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm()
3867 format(fromCalendar, appendTo, pos); in intervalFormatByAlgorithm()
3919 format(fromCalendar, appendTo, pos); in intervalFormatByAlgorithm()
3940 i, capSetting, pos, fromCalendar); in intervalFormatByAlgorithm()
3943 i, capSetting, pos, fromCalendar)); in intervalFormatByAlgorithm()
3984 private boolean diffCalFieldValue(Calendar fromCalendar, in diffCalFieldValue() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java628 public String getPatterns(Calendar fromCalendar, in getPatterns() argument
633 if ( fromCalendar.get(Calendar.ERA) != toCalendar.get(Calendar.ERA) ) { in getPatterns()
635 } else if ( fromCalendar.get(Calendar.YEAR) != in getPatterns()
638 } else if ( fromCalendar.get(Calendar.MONTH) != in getPatterns()
641 } else if ( fromCalendar.get(Calendar.DATE) != in getPatterns()
644 } else if ( fromCalendar.get(Calendar.AM_PM) != in getPatterns()
647 } else if ( fromCalendar.get(Calendar.HOUR) != in getPatterns()
650 } else if ( fromCalendar.get(Calendar.MINUTE) != in getPatterns()
653 } else if ( fromCalendar.get(Calendar.SECOND) != in getPatterns()
681 public final StringBuffer format(Calendar fromCalendar, in format() argument
[all …]
DSimpleDateFormat.java3795 public final StringBuffer intervalFormatByAlgorithm(Calendar fromCalendar, in intervalFormatByAlgorithm() argument
3802 if ( !fromCalendar.isEquivalentTo(toCalendar) ) { in intervalFormatByAlgorithm()
3814 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm()
3822 return format(fromCalendar, appendTo, pos); in intervalFormatByAlgorithm()
3827 if ( diffCalFieldValue(fromCalendar, toCalendar, items, i) ) { in intervalFormatByAlgorithm()
3838 format(fromCalendar, appendTo, pos); in intervalFormatByAlgorithm()
3890 format(fromCalendar, appendTo, pos); in intervalFormatByAlgorithm()
3911 i, capSetting, pos, fromCalendar); in intervalFormatByAlgorithm()
3914 i, capSetting, pos, fromCalendar)); in intervalFormatByAlgorithm()
3955 private boolean diffCalFieldValue(Calendar fromCalendar, in diffCalFieldValue() argument
[all …]
/external/icu/icu4c/source/i18n/
Ddtitvfmt.cpp293 DateIntervalFormat::format(Calendar& fromCalendar, in format() argument
304 if ( !fromCalendar.isEquivalentTo(toCalendar) ) { in format()
312 if ( fromCalendar.get(UCAL_ERA,status) != toCalendar.get(UCAL_ERA,status)) { in format()
314 } else if ( fromCalendar.get(UCAL_YEAR, status) != in format()
317 } else if ( fromCalendar.get(UCAL_MONTH, status) != in format()
320 } else if ( fromCalendar.get(UCAL_DATE, status) != in format()
323 } else if ( fromCalendar.get(UCAL_AM_PM, status) != in format()
326 } else if ( fromCalendar.get(UCAL_HOUR, status) != in format()
329 } else if ( fromCalendar.get(UCAL_MINUTE, status) != in format()
332 } else if ( fromCalendar.get(UCAL_SECOND, status) != in format()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java886 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR() local
888 fromCalendar.setTimeInMillis(dtitv.getFromDate()); in expectUserCLDR()
890 dtitvfmt.format(fromCalendar, toCalendar, str, pos); in expectUserCLDR()
1058 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress() local
1060 fromCalendar.setTimeInMillis(dtitv.getFromDate()); in stress()
1062 dtfmt.intervalFormatByAlgorithm(fromCalendar, toCalendar, str, pos); in stress()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java890 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in expectUserCLDR() local
892 fromCalendar.setTimeInMillis(dtitv.getFromDate()); in expectUserCLDR()
894 dtitvfmt.format(fromCalendar, toCalendar, str, pos); in expectUserCLDR()
1062 Calendar fromCalendar = (Calendar) dtfmt.getCalendar().clone(); in stress() local
1064 fromCalendar.setTimeInMillis(dtitv.getFromDate()); in stress()
1066 dtfmt.intervalFormatByAlgorithm(fromCalendar, toCalendar, str, pos); in stress()
/external/icu/icu4c/source/i18n/unicode/
Ddtitvfmt.h450 UnicodeString& format(Calendar& fromCalendar,
701 UnicodeString& fallbackFormat(Calendar& fromCalendar,
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c620 UResourceBundle *toCalendar, *fromCalendar, *toGregorian, *fromGregorian; in compareConsistentCountryInfo() local
626 fromCalendar = ures_getByKey(fromLocaleBund, "calendar", NULL, &errorCode); in compareConsistentCountryInfo()
627 fromGregorian = ures_getByKeyWithFallback(fromCalendar, "gregorian", NULL, &errorCode); in compareConsistentCountryInfo()
671 ures_close(fromCalendar); in compareConsistentCountryInfo()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...