From 3879315738e567ee3a421cb05a89976f61d27eb9 Mon Sep 17 00:00:00 2001 From: Shane Carr Date: Tue, 13 Aug 2019 01:06:43 -0700 Subject: [PATCH] ICU-13596 Clarifying error code type in numfmt.h parse() --- icu4c/source/i18n/unicode/numfmt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/icu4c/source/i18n/unicode/numfmt.h b/icu4c/source/i18n/unicode/numfmt.h index c06f87b0882..468a822c558 100644 --- a/icu4c/source/i18n/unicode/numfmt.h +++ b/icu4c/source/i18n/unicode/numfmt.h @@ -641,7 +641,9 @@ public: * @param result Formattable to be set to the parse result. * If parse fails, return contents are undefined. * @param status Output parameter set to a failure error code - * when a failure occurs. + * when a failure occurs. The error code when the + * string fails to parse is U_INVALID_FORMAT_ERROR, + * unless overridden by a subclass. * @see NumberFormat::isParseIntegerOnly * @stable ICU 2.0 */