Lines Matching refs:TimeUnitAmount
85 static UBool tmaEqual(const TimeUnitAmount& left, const TimeUnitAmount& right) { in tmaEqual()
132 TimeUnitAmount* source = new TimeUnitAmount(tests[i], j, status); in testBasic()
147 …if (!tmaEqual(*((TimeUnitAmount *)result.getObject()), *((TimeUnitAmount *) formattable.getObject(… in testBasic()
154 …if (!tmaEqual(*((TimeUnitAmount *)result_1.getObject()), *((TimeUnitAmount *) formattable.getObjec… in testBasic()
223 TimeUnitAmount tma_long(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI()
227 TimeUnitAmount tma_double(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI()
231 TimeUnitAmount tma_double_3(formattable, TimeUnit::UTIMEUNIT_DAY, status); in testAPI()
234 TimeUnitAmount tma(2, TimeUnit::UTIMEUNIT_DAY, status); in testAPI()
237 TimeUnitAmount tma_h(2, TimeUnit::UTIMEUNIT_HOUR, status); in testAPI()
240 TimeUnitAmount second(tma); in testAPI()
241 TimeUnitAmount third_tma = tma; in testAPI()
242 TimeUnitAmount* fourth_tma = (TimeUnitAmount*)tma.clone(); in testAPI()
389 … TimeUnitAmount *tamt = new TimeUnitAmount(numbers[numberIndex], tunits[unitIndex], status); in testGreekWithFallback()
490 LocalPointer<TimeUnitAmount> tamt( in test10219Plurals()
491 new TimeUnitAmount(values[j], TimeUnit::UTIMEUNIT_MINUTE, status), status); in test10219Plurals()
521 Formattable oneHour(new TimeUnitAmount(1, TimeUnit::UTIMEUNIT_HOUR, status)); in TestBritishShortHourFallback()