Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h333 class U_I18N_API RelativeDateTimeFormatter : public UObject {
340 RelativeDateTimeFormatter(UErrorCode& status);
346 RelativeDateTimeFormatter(const Locale& locale, UErrorCode& status);
358 RelativeDateTimeFormatter(
377 RelativeDateTimeFormatter(
389 RelativeDateTimeFormatter(const RelativeDateTimeFormatter& other);
395 RelativeDateTimeFormatter& operator=(
396 const RelativeDateTimeFormatter& other);
402 virtual ~RelativeDateTimeFormatter();
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java14 import com.ibm.icu.text.RelativeDateTimeFormatter;
15 import com.ibm.icu.text.RelativeDateTimeFormatter.AbsoluteUnit;
16 import com.ibm.icu.text.RelativeDateTimeFormatter.Direction;
17 import com.ibm.icu.text.RelativeDateTimeFormatter.RelativeUnit;
86 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("en_US")); in TestRelativeDateWithQuantity()
156 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityCaps()
159 RelativeDateTimeFormatter.Style.LONG, in TestRelativeDateWithQuantityCaps()
230 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityShort()
233 RelativeDateTimeFormatter.Style.SHORT, in TestRelativeDateWithQuantityShort()
304 RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance( in TestRelativeDateWithQuantityNarrow()
[all …]
/external/icu/icu4c/source/test/intltest/
Dreldatefmttest.cpp511 const RelativeDateTimeFormatter& fmt,
516 const RelativeDateTimeFormatter& fmt,
521 const RelativeDateTimeFormatter& fmt,
525 const RelativeDateTimeFormatter& fmt,
529 const RelativeDateTimeFormatter& fmt,
533 const RelativeDateTimeFormatter& fmt,
570 RelativeDateTimeFormatter fmt( in TestEnglishCaps()
580 RelativeDateTimeFormatter fmt3(status); in TestEnglishCaps()
583 RelativeDateTimeFormatter fmt2(fmt); in TestEnglishCaps()
611 RelativeDateTimeFormatter fmt( in TestEnglishNoQuantityCaps()
[all …]
/external/icu/icu4c/source/i18n/
Dreldatefmt.cpp651 RelativeDateTimeFormatter::RelativeDateTimeFormatter(UErrorCode& status) : in RelativeDateTimeFormatter() function in RelativeDateTimeFormatter
661 RelativeDateTimeFormatter::RelativeDateTimeFormatter( in RelativeDateTimeFormatter() function in RelativeDateTimeFormatter
673 RelativeDateTimeFormatter::RelativeDateTimeFormatter( in RelativeDateTimeFormatter() function in RelativeDateTimeFormatter
685 RelativeDateTimeFormatter::RelativeDateTimeFormatter( in RelativeDateTimeFormatter() function in RelativeDateTimeFormatter
716 RelativeDateTimeFormatter::RelativeDateTimeFormatter( in RelativeDateTimeFormatter() function in RelativeDateTimeFormatter
717 const RelativeDateTimeFormatter& other) in RelativeDateTimeFormatter()
734 RelativeDateTimeFormatter& RelativeDateTimeFormatter::operator=( in operator =()
735 const RelativeDateTimeFormatter& other) { in operator =()
748 RelativeDateTimeFormatter::~RelativeDateTimeFormatter() { in ~RelativeDateTimeFormatter()
763 const NumberFormat& RelativeDateTimeFormatter::getNumberFormat() const { in getNumberFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRelativeDateTimeFormatter.java66 public final class RelativeDateTimeFormatter { class
275 public static RelativeDateTimeFormatter getInstance() { in getInstance()
286 public static RelativeDateTimeFormatter getInstance(ULocale locale) { in getInstance()
298 public static RelativeDateTimeFormatter getInstance(Locale locale) { in getInstance()
312 public static RelativeDateTimeFormatter getInstance(ULocale locale, NumberFormat nf) { in getInstance()
328 public static RelativeDateTimeFormatter getInstance( in getInstance()
339 return new RelativeDateTimeFormatter( in getInstance()
364 public static RelativeDateTimeFormatter getInstance(Locale locale, NumberFormat nf) { in getInstance()
513 private RelativeDateTimeFormatter( in RelativeDateTimeFormatter() method in RelativeDateTimeFormatter