Searched refs:fhours (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MeasureUnitTest.java | 3446 Measure fhours = new Measure(112.8765, MeasureUnit.HOUR); in TestNumericTime() local 3454 Assert.assertEquals("112.876h", fmt.formatMeasures(fhours)); in TestNumericTime() 3466 Assert.assertEquals("112:113", fmt.formatMeasures(fhours, minutes)); in TestNumericTime() 3467 Assert.assertEquals("112:00:114", fmt.formatMeasures(fhours, seconds)); in TestNumericTime() 3470 Assert.assertEquals("112:113.876", fmt.formatMeasures(fhours, fminutes)); in TestNumericTime() 3471 Assert.assertEquals("112:00:114.876", fmt.formatMeasures(fhours, fseconds)); in TestNumericTime() 3475 Assert.assertEquals("112:113:114.876", fmt.formatMeasures(fhours, fminutes, fseconds)); in TestNumericTime() 3480 Measure fhours = new Measure(2.8765432, MeasureUnit.HOUR); in TestNumericTimeSomeSpecialFormats() local 3485 Assert.assertEquals("02:03,877", fmt.formatMeasures(fhours, fminutes)); in TestNumericTimeSomeSpecialFormats() 3489 Assert.assertEquals("2.03,877", fmt.formatMeasures(fhours, fminutes)); in TestNumericTimeSomeSpecialFormats()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MeasureUnitTest.java | 3443 Measure fhours = new Measure(112.8765, MeasureUnit.HOUR); in TestNumericTime() local 3451 Assert.assertEquals("112.876h", fmt.formatMeasures(fhours)); in TestNumericTime() 3463 Assert.assertEquals("112:113", fmt.formatMeasures(fhours, minutes)); in TestNumericTime() 3464 Assert.assertEquals("112:00:114", fmt.formatMeasures(fhours, seconds)); in TestNumericTime() 3467 Assert.assertEquals("112:113.876", fmt.formatMeasures(fhours, fminutes)); in TestNumericTime() 3468 Assert.assertEquals("112:00:114.876", fmt.formatMeasures(fhours, fseconds)); in TestNumericTime() 3472 Assert.assertEquals("112:113:114.876", fmt.formatMeasures(fhours, fminutes, fseconds)); in TestNumericTime() 3477 Measure fhours = new Measure(2.8765432, MeasureUnit.HOUR); in TestNumericTimeSomeSpecialFormats() local 3482 Assert.assertEquals("02:03,877", fmt.formatMeasures(fhours, fminutes)); in TestNumericTimeSomeSpecialFormats() 3486 Assert.assertEquals("2.03,877", fmt.formatMeasures(fhours, fminutes)); in TestNumericTimeSomeSpecialFormats()
|
/external/icu/icu4c/source/test/intltest/ |
D | measfmttest.cpp | 3579 Measure fhours(112.8765, MeasureUnit::createHour(status), status); in TestNumericTime() local 3588 verifyFormat("fhours", fmt, &fhours, 1, "112.876h"); in TestNumericTime() 3606 Measure fhoursMinutes[2] = {fhours, minutes}; in TestNumericTime() 3608 Measure fhoursSeconds[2] = {fhours, seconds}; in TestNumericTime() 3613 Measure fhoursFminutes[2] = {fhours, fminutes}; in TestNumericTime() 3615 Measure fhoursFseconds[2] = {fhours, fseconds}; in TestNumericTime() 3622 Measure fhoursFminutesFseconds[3] = {fhours, fminutes, fseconds}; in TestNumericTime() 3629 Measure fhours(2.8765432, MeasureUnit::createHour(status), status); in TestNumericTimeSomeSpecialFormats() local 3633 Measure fhoursFminutes[2] = {fhours, fminutes}; in TestNumericTimeSomeSpecialFormats()
|