/external/icu/icu4c/source/i18n/ |
D | tmutamt.cpp | 16 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(TimeUnitAmount) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 19 TimeUnitAmount::TimeUnitAmount(const Formattable& number, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 26 TimeUnitAmount::TimeUnitAmount(double amount, in TimeUnitAmount() function in TimeUnitAmount 35 TimeUnitAmount::TimeUnitAmount(const TimeUnitAmount& other) in TimeUnitAmount() function in TimeUnitAmount 41 TimeUnitAmount& 42 TimeUnitAmount::operator=(const TimeUnitAmount& other) { in operator =() 49 TimeUnitAmount::operator==(const UObject& other) const { in operator ==() 54 TimeUnitAmount::clone() const { in clone() 55 return new TimeUnitAmount(*this); in clone() 59 TimeUnitAmount::~TimeUnitAmount() { in ~TimeUnitAmount() [all …]
|
D | tmutfmt.cpp | 277 …LocalPointer<TimeUnitAmount> tmutamt(new TimeUnitAmount(resultNumber, resultTimeUnit, status), sta… in parseObject()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tmutamt.h | 33 class U_I18N_API TimeUnitAmount: public Measure { 47 TimeUnitAmount(const Formattable& number, 63 TimeUnitAmount(double amount, TimeUnit::UTimeUnitFields timeUnitField, 71 TimeUnitAmount(const TimeUnitAmount& other); 78 TimeUnitAmount& operator=(const TimeUnitAmount& other); 93 virtual ~TimeUnitAmount(); 160 TimeUnitAmount::operator!=(const UObject& other) const {
|
/external/icu/icu4c/source/test/intltest/ |
D | tufmtts.cpp | 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() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeUnitTest.java | 28 import android.icu.util.TimeUnitAmount; 48 … assertEquals("Test10219", expected[i], tuf.format(new TimeUnitAmount(1.588, TimeUnit.MINUTE))); in Test10219FractionalPlurals() 83 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); in TestBasic() 90 … TimeUnitAmount result = (TimeUnitAmount) formats[parseStyle].parseObject(formatted); in TestBasic() 137 assertEquals("", "1 hr", tufClone.format(new TimeUnitAmount(1, TimeUnit.HOUR))); in TestClone() 245 TimeUnitAmount timeUnitAmount; in TestGreek() 253 timeUnitAmount = new TimeUnitAmount(numbers[numIndex], units[unitIndex]); in TestGreek() 292 Object oneHour = new TimeUnitAmount(1, TimeUnit.HOUR); in TestBritishShortHourFallback() 314 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); in formatParsing() 319 TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); in formatParsing()
|
D | MeasureUnitTest.java | 53 import android.icu.util.TimeUnitAmount; 1332 TimeUnitAmount[] _19m = {new TimeUnitAmount(19.0, TimeUnit.MINUTE)}; in TestFormatPeriodEn() 1333 TimeUnitAmount[] _1h_23_5s = { in TestFormatPeriodEn() 1334 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() 1335 new TimeUnitAmount(23.5, TimeUnit.SECOND)}; in TestFormatPeriodEn() 1336 TimeUnitAmount[] _1h_23_5m = { in TestFormatPeriodEn() 1337 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() 1338 new TimeUnitAmount(23.5, TimeUnit.MINUTE)}; in TestFormatPeriodEn() 1339 TimeUnitAmount[] _1h_0m_23s = { in TestFormatPeriodEn() 1340 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeUnitTest.java | 27 import com.ibm.icu.util.TimeUnitAmount; 45 … assertEquals("Test10219", expected[i], tuf.format(new TimeUnitAmount(1.588, TimeUnit.MINUTE))); in Test10219FractionalPlurals() 80 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); in TestBasic() 87 … TimeUnitAmount result = (TimeUnitAmount) formats[parseStyle].parseObject(formatted); in TestBasic() 134 assertEquals("", "1 hr", tufClone.format(new TimeUnitAmount(1, TimeUnit.HOUR))); in TestClone() 242 TimeUnitAmount timeUnitAmount; in TestGreek() 250 timeUnitAmount = new TimeUnitAmount(numbers[numIndex], units[unitIndex]); in TestGreek() 289 Object oneHour = new TimeUnitAmount(1, TimeUnit.HOUR); in TestBritishShortHourFallback() 311 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); in formatParsing() 316 TimeUnitAmount result = (TimeUnitAmount) format.parseObject(formatted); in formatParsing()
|
D | MeasureUnitTest.java | 52 import com.ibm.icu.util.TimeUnitAmount; 1329 TimeUnitAmount[] _19m = {new TimeUnitAmount(19.0, TimeUnit.MINUTE)}; in TestFormatPeriodEn() 1330 TimeUnitAmount[] _1h_23_5s = { in TestFormatPeriodEn() 1331 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() 1332 new TimeUnitAmount(23.5, TimeUnit.SECOND)}; in TestFormatPeriodEn() 1333 TimeUnitAmount[] _1h_23_5m = { in TestFormatPeriodEn() 1334 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() 1335 new TimeUnitAmount(23.5, TimeUnit.MINUTE)}; in TestFormatPeriodEn() 1336 TimeUnitAmount[] _1h_0m_23s = { in TestFormatPeriodEn() 1337 new TimeUnitAmount(1.0, TimeUnit.HOUR), in TestFormatPeriodEn() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeUnitAmount.java | 20 public class TimeUnitAmount extends Measure { class 25 public TimeUnitAmount(Number number, TimeUnit unit) { in TimeUnitAmount() method in TimeUnitAmount 32 public TimeUnitAmount(double number, TimeUnit unit) { in TimeUnitAmount() method in TimeUnitAmount
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeUnitAmount.java | 19 public class TimeUnitAmount extends Measure { class 25 public TimeUnitAmount(Number number, TimeUnit unit) { in TimeUnitAmount() method in TimeUnitAmount 33 public TimeUnitAmount(double number, TimeUnit unit) { in TimeUnitAmount() method in TimeUnitAmount
|
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/util/ |
D | TimeUnit.java.patch | 7 - * @see TimeUnitAmount
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeUnitFormat.java | 28 import android.icu.util.TimeUnitAmount; 248 public TimeUnitAmount parseObject(String source, ParsePosition pos) { in parseObject() 330 return new TimeUnitAmount(resultNumber, resultTimeUnit); in parseObject()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeUnitFormat.java | 27 import com.ibm.icu.util.TimeUnitAmount; 246 public TimeUnitAmount parseObject(String source, ParsePosition pos) { in parseObject() 328 return new TimeUnitAmount(resultNumber, resultTimeUnit); in parseObject()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatHandler.java | 50 import android.icu.util.TimeUnitAmount; 2312 TimeUnitAmount amount = new TimeUnitAmount(3, TimeUnit.HOUR); in hasSameBehavior()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 49 import com.ibm.icu.util.TimeUnitAmount; 2309 TimeUnitAmount amount = new TimeUnitAmount(3, TimeUnit.HOUR); in hasSameBehavior()
|
/external/icu/icu4j/ |
D | coverage-exclusion.txt | 1087 com/ibm/icu/util/TimeUnitAmount#getTimeUnit:()Lcom/ibm/icu/util/TimeUnit;
|
/external/icu/icu4j/tools/build/ |
D | icu4j55.api3.gz |
|
D | icu4j56.api3.gz | 12;ICU4J 56.1;;
2ST@3.6;PB;NS;NF;NS; ... |
D | icu4j57.api3.gz |
|
D | icu4j54.api3.gz |
|
D | icu4j59.api3.gz |
|
D | icu4j58.api3.gz |
|
D | icu4j61.api3.gz | 12;ICU4J 61.1;;
2ST@3.6;PB;NS;NF;NS; ... |
D | icu4j60.api3.gz |
|
D | icu4j62.api3.gz |
|