Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java558 RelativeUnit relunit = RelativeUnit.SECONDS; in formatNumeric() local
560 case YEAR: relunit = RelativeUnit.YEARS; break; in formatNumeric()
561 case QUARTER: relunit = RelativeUnit.QUARTERS; break; in formatNumeric()
562 case MONTH: relunit = RelativeUnit.MONTHS; break; in formatNumeric()
563 case WEEK: relunit = RelativeUnit.WEEKS; break; in formatNumeric()
564 case DAY: relunit = RelativeUnit.DAYS; break; in formatNumeric()
565 case HOUR: relunit = RelativeUnit.HOURS; break; in formatNumeric()
566 case MINUTE: relunit = RelativeUnit.MINUTES; break; in formatNumeric()
576 String result = format(offset, direction, relunit); in formatNumeric()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRelativeDateTimeFormatter.java501 RelativeUnit relunit = RelativeUnit.SECONDS; in formatNumeric() local
503 case YEAR: relunit = RelativeUnit.YEARS; break; in formatNumeric()
504 case QUARTER: relunit = RelativeUnit.QUARTERS; break; in formatNumeric()
505 case MONTH: relunit = RelativeUnit.MONTHS; break; in formatNumeric()
506 case WEEK: relunit = RelativeUnit.WEEKS; break; in formatNumeric()
507 case DAY: relunit = RelativeUnit.DAYS; break; in formatNumeric()
508 case HOUR: relunit = RelativeUnit.HOURS; break; in formatNumeric()
509 case MINUTE: relunit = RelativeUnit.MINUTES; break; in formatNumeric()
519 String result = format(offset, direction, relunit); in formatNumeric()
/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp837 UDateRelativeUnit relunit = UDAT_RELATIVE_UNIT_COUNT; in formatNumeric() local
839 case UDAT_REL_UNIT_YEAR: relunit = UDAT_RELATIVE_YEARS; break; in formatNumeric()
840 case UDAT_REL_UNIT_MONTH: relunit = UDAT_RELATIVE_MONTHS; break; in formatNumeric()
841 case UDAT_REL_UNIT_WEEK: relunit = UDAT_RELATIVE_WEEKS; break; in formatNumeric()
842 case UDAT_REL_UNIT_DAY: relunit = UDAT_RELATIVE_DAYS; break; in formatNumeric()
843 case UDAT_REL_UNIT_HOUR: relunit = UDAT_RELATIVE_HOURS; break; in formatNumeric()
844 case UDAT_REL_UNIT_MINUTE: relunit = UDAT_RELATIVE_MINUTES; break; in formatNumeric()
845 case UDAT_REL_UNIT_SECOND: relunit = UDAT_RELATIVE_SECONDS; break; in formatNumeric()
855 return format(offset, direction, relunit, appendTo, status); in formatNumeric()