Home | History | Annotate | Download | only in intltest

Lines Matching refs:MeasureUnit

185     //===== Interoperability with MeasureUnit ======
186 MeasureUnit **ptrs = new MeasureUnit *[TimeUnit::UTIMEUNIT_FIELD_COUNT];
188 ptrs[TimeUnit::UTIMEUNIT_YEAR] = MeasureUnit::createYear(status);
189 ptrs[TimeUnit::UTIMEUNIT_MONTH] = MeasureUnit::createMonth(status);
190 ptrs[TimeUnit::UTIMEUNIT_DAY] = MeasureUnit::createDay(status);
191 ptrs[TimeUnit::UTIMEUNIT_WEEK] = MeasureUnit::createWeek(status);
192 ptrs[TimeUnit::UTIMEUNIT_HOUR] = MeasureUnit::createHour(status);
193 ptrs[TimeUnit::UTIMEUNIT_MINUTE] = MeasureUnit::createMinute(status);
194 ptrs[TimeUnit::UTIMEUNIT_SECOND] = MeasureUnit::createSecond(status);
200 MeasureUnit *ptr = TimeUnit::createInstance(j, status);
202 // We have to convert *ptr to a MeasureUnit or else == will fail over
203 // differing types (TimeUnit vs. MeasureUnit).
205 "Time unit should be equal to corresponding MeasureUnit",
206 MeasureUnit(*ptr) == *ptrs[j]);