]> granicus.if.org Git - icu/commitdiff
ICU-13596 Clarifying error code type in numfmt.h parse()
authorShane Carr <shane@unicode.org>
Tue, 13 Aug 2019 08:06:43 +0000 (01:06 -0700)
committerShane F. Carr <shane@unicode.org>
Thu, 15 Aug 2019 00:49:04 +0000 (17:49 -0700)
icu4c/source/i18n/unicode/numfmt.h

index c06f87b08821c45ff29e136aa33e5afdd5a29aef..468a822c558cf4f39654a26ee64e5e96192d3d1b 100644 (file)
@@ -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
      */