Home
last modified time | relevance | path

Searched refs:timeUnitName (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java380 String timeUnitName = key.toString(); in put() local
383 if (timeUnitName.equals("year")) { in put()
385 } else if (timeUnitName.equals("month")) { in put()
387 } else if (timeUnitName.equals("day")) { in put()
389 } else if (timeUnitName.equals("hour")) { in put()
391 } else if (timeUnitName.equals("minute")) { in put()
393 } else if (timeUnitName.equals("second")) { in put()
395 } else if (timeUnitName.equals("week")) { in put()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java382 String timeUnitName = key.toString(); in put() local
385 if (timeUnitName.equals("year")) { in put()
387 } else if (timeUnitName.equals("month")) { in put()
389 } else if (timeUnitName.equals("day")) { in put()
391 } else if (timeUnitName.equals("hour")) { in put()
393 } else if (timeUnitName.equals("minute")) { in put()
395 } else if (timeUnitName.equals("second")) { in put()
397 } else if (timeUnitName.equals("week")) { in put()
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp377 const char* timeUnitName = key; in put() local
378 if (timeUnitName == NULL) { in put()
383 if ( uprv_strcmp(timeUnitName, gTimeUnitYear) == 0 ) { in put()
385 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMonth) == 0 ) { in put()
387 } else if ( uprv_strcmp(timeUnitName, gTimeUnitDay) == 0 ) { in put()
389 } else if ( uprv_strcmp(timeUnitName, gTimeUnitHour) == 0 ) { in put()
391 } else if ( uprv_strcmp(timeUnitName, gTimeUnitMinute) == 0 ) { in put()
393 } else if ( uprv_strcmp(timeUnitName, gTimeUnitSecond) == 0 ) { in put()
395 } else if ( uprv_strcmp(timeUnitName, gTimeUnitWeek) == 0 ) { in put()
568 const char* timeUnitName = getTimeUnitName(srcTimeUnitField, status); in searchInLocaleChain() local
[all …]