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.java77 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
84 fromSet.setOnCalendar(fromCalendar); in testConvert()
90 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
91 String diffs = diffSet.diffFrom(fromSet); in testConvert()
104 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
105 String diffs = diffSet.diffFrom(fromSet); in testConvert()
134 CalendarFieldsSet fromSet = new CalendarFieldsSet(), toSet = new CalendarFieldsSet(); in testConvert() local
147 fromSet.clear(); in testConvert()
151 fromSet.parseFrom(from); in testConvert()
153 toSet.parseFrom(to, fromSet); in testConvert()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java78 CalendarFieldsSet fromSet, Calendar fromCalendar, in testConvert() argument
85 fromSet.setOnCalendar(fromCalendar); in testConvert()
91 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
92 String diffs = diffSet.diffFrom(fromSet); in testConvert()
105 if (!fromSet.matches(fromCalendar, diffSet)) { in testConvert()
106 String diffs = diffSet.diffFrom(fromSet); in testConvert()
135 CalendarFieldsSet fromSet = new CalendarFieldsSet(), toSet = new CalendarFieldsSet(); in testConvert() local
148 fromSet.clear(); in testConvert()
152 fromSet.parseFrom(from); in testConvert()
154 toSet.parseFrom(to, fromSet); in testConvert()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddadrcal.cpp89 CalendarFieldsSet fromSet, toSet, paramsSet, diffSet; in testOps() local
127 fromSet.clear(); in testOps()
141 } else if(fromSet.parseFrom(testSetting, status)<0 || U_FAILURE(status)){ in testOps()
192 } else if(toSet.parseFrom(testSetting, &fromSet, status)<0 || U_FAILURE(status)){ in testOps()
214 fromSet.setOnCalendar(fromCalendar, status); in testOps()
224 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testOps()
225 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testOps()
290 const CalendarFieldsSet &fromSet, Calendar *fromCalendar, in testConvert() argument
298 fromSet.setOnCalendar(fromCalendar, status); in testConvert()
308 if (!fromSet.matches(fromCalendar, diffSet, status)) { in testConvert()
[all …]
Ddadrfmt.cpp120 CalendarFieldsSet fromSet; in testConvertDate() local
207 if(fromSet.parseFrom(add, status)<0 || U_FAILURE(status)) { in testConvertDate()
215 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate()
219 fromSet.get((UCalendarDateFields)q), status); in testConvertDate()
222 fromSet.get((UCalendarDateFields)q)); in testConvertDate()
232 } else if(fromSet.parseFrom(date, status)<0 || U_FAILURE(status)) { in testConvertDate()
254 fromSet.setOnCalendar(cal, status); in testConvertDate()
306 if (!fromSet.matches(cal, diffSet, status)) { in testConvertDate()
307 UnicodeString diffs = diffSet.diffFrom(fromSet, status); in testConvertDate()
Dtransrt.h45 void TestDebug(const char* name,const char fromSet[],
Ddadrcal.h45 void testConvert(int32_t n, const CalendarFieldsSet &fromSet,
Dtransrt.cpp1615 void TransliteratorRoundTripTest::TestDebug(const char* name,const char fromSet[], in TestDebug() argument
1620 test.test(UnicodeString(fromSet,""),UnicodeString(toSet,""),exclusions,this,quick,legal); in TestDebug()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenFormatTest.java109 CalendarFieldsSet fromSet = null; in testConvertDate() local
158 fromSet = new CalendarFieldsSet(); in testConvertDate()
159 fromSet.parseFrom(date); in testConvertDate()
170 fromSet.setOnCalendar(cal); in testConvertDate()
194 if(!fromSet.matches(cal, diffSet)) { in testConvertDate()
195 String diffs = diffSet.diffFrom(fromSet); in testConvertDate()
198 … logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenFormatTest.java110 CalendarFieldsSet fromSet = null; in testConvertDate() local
159 fromSet = new CalendarFieldsSet(); in testConvertDate()
160 fromSet.parseFrom(date); in testConvertDate()
171 fromSet.setOnCalendar(cal); in testConvertDate()
195 if(!fromSet.matches(cal, diffSet)) { in testConvertDate()
196 String diffs = diffSet.diffFrom(fromSet); in testConvertDate()
199 … logln(caseString + " SUCCESS: got=parse: " + str + " - " + fromSet.toString()); in testConvertDate()