Home
last modified time | relevance | path

Searched refs:fromSet (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDataDrivenCalendarTest.java60 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
67 fromSet.setOnCalendar(fromCalendar); in testConvert()
73 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
74 String diffs = diffSet.diffFrom(fromSet); in testConvert()
87 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
88 String diffs = diffSet.diffFrom(fromSet); in testConvert()
119 CalendarFieldsSet fromSet = new CalendarFieldsSet(), toSet = new CalendarFieldsSet(); in testConvert() local
132 fromSet.clear(); in testConvert()
136 fromSet.parseFrom(from); in testConvert()
138 toSet.parseFrom(to, fromSet); in testConvert()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java64 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
71 fromSet.setOnCalendar(fromCalendar); in testConvert()
77 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
78 String diffs = diffSet.diffFrom(fromSet); in testConvert()
91 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
92 String diffs = diffSet.diffFrom(fromSet); in testConvert()
123 CalendarFieldsSet fromSet = new CalendarFieldsSet(), toSet = new CalendarFieldsSet(); in testConvert() local
136 fromSet.clear(); in testConvert()
140 fromSet.parseFrom(from); in testConvert()
142 toSet.parseFrom(to, fromSet); in testConvert()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddadrcal.cpp87 CalendarFieldsSet fromSet, toSet, paramsSet, diffSet; in testOps() local
125 fromSet.clear(); in testOps()
139 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps()
190 } else if(toSet.parseFrom(testSetting, &fromSet, status)<0 || U_FAILURE(status)){ in testOps()
212 fromSet.setOnCalendar(fromCalendar, status); in testOps()
222 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testOps()
223 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testOps()
288 const CalendarFieldsSet &fromSet, Calendar *fromCalendar, in testConvert() argument
296 fromSet.setOnCalendar(fromCalendar, status); in testConvert()
306 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testConvert()
[all …]
Ddadrfmt.cpp118 CalendarFieldsSet fromSet; in testConvertDate() local
205 if(fromSet.parseFrom(add, status)<0 || U_FAILURE(status)) { in testConvertDate()
213 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate()
217 fromSet.get((UCalendarDateFields)q), status); in testConvertDate()
220 fromSet.get((UCalendarDateFields)q)); in testConvertDate()
230 } else if(fromSet.parseFrom(date, status)<0 || U_FAILURE(status)) { in testConvertDate()
252 fromSet.setOnCalendar(cal, status); in testConvertDate()
304 if (!fromSet.matches(cal, diffSet, status)) { in testConvertDate()
305 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testConvertDate()
Dtransrt.h43 void TestDebug(const char* name,const char fromSet[],
Ddadrcal.h43 void testConvert(int32_t n, const CalendarFieldsSet &fromSet,
Dtransrt.cpp1612 void TransliteratorRoundTripTest::TestDebug(const char* name,const char fromSet[], in TestDebug() argument
1617 test.test(UnicodeString(fromSet,""),UnicodeString(toSet,""),exclusions,this,quick,legal); in TestDebug()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenFormatTest.java101 CalendarFieldsSet fromSet = null; in testConvertDate() local
150 fromSet = new CalendarFieldsSet(); in testConvertDate()
151 fromSet.parseFrom(date); in testConvertDate()
162 fromSet.setOnCalendar(cal); in testConvertDate()
186 if(!fromSet.matches(cal, diffSet)) { in testConvertDate()
187 String diffs = diffSet.diffFrom(fromSet); in testConvertDate()
190 … logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenFormatTest.java97 CalendarFieldsSet fromSet = null; in testConvertDate() local
146 fromSet = new CalendarFieldsSet(); in testConvertDate()
147 fromSet.parseFrom(date); in testConvertDate()
158 fromSet.setOnCalendar(cal); in testConvertDate()
182 if(!fromSet.matches(cal, diffSet)) { in testConvertDate()
183 String diffs = diffSet.diffFrom(fromSet); in testConvertDate()
186 … logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()