Home
last modified time | relevance | path

Searched refs:timeUnitField (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/i18n/
Dtmunit.cpp57 TimeUnit::createInstance(TimeUnit::UTimeUnitFields timeUnitField, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
62 if (timeUnitField < 0 || timeUnitField >= UTIMEUNIT_FIELD_COUNT) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
66 return new TimeUnit(timeUnitField); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
70 TimeUnit::TimeUnit(TimeUnit::UTimeUnitFields timeUnitField) { in TimeUnit() argument
71 fTimeUnitField = timeUnitField; in TimeUnit()
Dtmutamt.cpp18 TimeUnit::UTimeUnitFields timeUnitField, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
20 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
25 TimeUnit::UTimeUnitFields timeUnitField, in TimeUnitAmount() argument
28 TimeUnit::createInstance(timeUnitField, status), in TimeUnitAmount()
Dtmutfmt.cpp389 TimeUnit::UTimeUnitFields timeUnitField = TimeUnit::UTIMEUNIT_FIELD_COUNT; in readFromCurrentLocale() local
391 timeUnitField = TimeUnit::UTIMEUNIT_YEAR; in readFromCurrentLocale()
393 timeUnitField = TimeUnit::UTIMEUNIT_MONTH; in readFromCurrentLocale()
395 timeUnitField = TimeUnit::UTIMEUNIT_DAY; in readFromCurrentLocale()
397 timeUnitField = TimeUnit::UTIMEUNIT_HOUR; in readFromCurrentLocale()
399 timeUnitField = TimeUnit::UTIMEUNIT_MINUTE; in readFromCurrentLocale()
401 timeUnitField = TimeUnit::UTIMEUNIT_SECOND; in readFromCurrentLocale()
403 timeUnitField = TimeUnit::UTIMEUNIT_WEEK; in readFromCurrentLocale()
409 Hashtable* countToPatterns = fTimeUnitToCountToPatterns[timeUnitField]; in readFromCurrentLocale()
459 if (fTimeUnitToCountToPatterns[timeUnitField] == NULL) { in readFromCurrentLocale()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dtmunit.h57 static TimeUnit* U_EXPORT2 createInstance(UTimeUnitFields timeUnitField,
118 TimeUnit(UTimeUnitFields timeUnitField);
Dtmutamt.h46 TimeUnit::UTimeUnitFields timeUnitField,
61 TimeUnitAmount(double amount, TimeUnit::UTimeUnitFields timeUnitField,