Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java396 String timeUnitName = key.toString(); in put() local
399 if (timeUnitName.equals("year")) { in put()
401 } else if (timeUnitName.equals("month")) { in put()
403 } else if (timeUnitName.equals("day")) { in put()
405 } else if (timeUnitName.equals("hour")) { in put()
407 } else if (timeUnitName.equals("minute")) { in put()
409 } else if (timeUnitName.equals("second")) { in put()
411 } else if (timeUnitName.equals("week")) { in put()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java394 String timeUnitName = key.toString(); in put() local
397 if (timeUnitName.equals("year")) { in put()
399 } else if (timeUnitName.equals("month")) { in put()
401 } else if (timeUnitName.equals("day")) { in put()
403 } else if (timeUnitName.equals("hour")) { in put()
405 } else if (timeUnitName.equals("minute")) { in put()
407 } else if (timeUnitName.equals("second")) { in put()
409 } 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 …]