Searched refs:icuNumberFormat (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_relative_time_format_test.cpp | 98 …icu::NumberFormat *icuNumberFormat = icu::NumberFormat::createInstance(icuLocale, UNUM_DECIMAL, st… in HWTEST_F_L0() local 99 icu::RelativeDateTimeFormatter rtfFormatter(icuLocale, icuNumberFormat, UDAT_STYLE_LONG, in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_number_format.cpp | 713 icu::number::LocalizedNumberFormatter *icuNumberFormat = numberFormat->GetIcuCallTarget(); in FormatNumeric() local 714 ASSERT(icuNumberFormat != nullptr); in FormatNumeric() 715 JSHandle<JSTaggedValue> res = FormatNumeric(thread, icuNumberFormat, x); in FormatNumeric() 720 … const icu::number::LocalizedNumberFormatter *icuNumberFormat, in FormatNumeric() argument 729 formattedNumber = icuNumberFormat->formatDecimal(icu::StringPiece(stdString), status); in FormatNumeric() 732 formattedNumber = icuNumberFormat->formatDouble(number, status); in FormatNumeric()
|
D | js_relative_time_format.cpp | 126 …icu::NumberFormat *icuNumberFormat = icu::NumberFormat::createInstance(icuLocale, UNUM_DECIMAL, st… in InitializeRelativeTimeFormat() local 128 delete icuNumberFormat; in InitializeRelativeTimeFormat() 135 icu::DecimalFormat* icuDecimalFormat = static_cast<icu::DecimalFormat*>(icuNumberFormat); in InitializeRelativeTimeFormat() 154 …icu::RelativeDateTimeFormatter rtfFormatter(icuLocale, icuNumberFormat, uStyle, UDISPCTX_CAPITALIZ… in InitializeRelativeTimeFormat()
|
D | js_number_format.h | 130 … const icu::number::LocalizedNumberFormatter *icuNumberFormat,
|