]> granicus.if.org Git - icu/commitdiff
ICU-13402 Adding pointer to NumberFormatter from classes that it replaces.
authorShane Carr <shane@unicode.org>
Wed, 28 Feb 2018 02:56:45 +0000 (02:56 +0000)
committerShane Carr <shane@unicode.org>
Wed, 28 Feb 2018 02:56:45 +0000 (02:56 +0000)
X-SVN-Rev: 40999

icu4c/source/i18n/unicode/decimfmt.h
icu4c/source/i18n/unicode/measfmt.h
icu4c/source/i18n/unicode/numfmt.h
icu4c/source/i18n/unicode/unum.h

index 2918ea1dd8aba0558dcbc02341ae119bcc4c7bca..dcd4b7a329166c52909209ec72fad3074f357485 100644 (file)
@@ -30,7 +30,7 @@
 #include "unicode/utypes.h"
 /**
  * \file
- * \brief C++ API: Formats decimal numbers.
+ * \brief C++ API: Compatibility APIs for decimal formatting.
  */
 
 #if !UCONFIG_NO_FORMATTING
@@ -75,6 +75,11 @@ template class U_I18N_API    EnumSet<UNumberFormatAttribute,
 #endif
 
 /**
+ * <p><strong>IMPORTANT:</strong> New users are strongly encouraged to see if
+ * numberformatter.h fits their use case.  Although not deprecated, this header
+ * is on life support and is provided for backwards compatibility only.
+ * <hr/>
+ *
  * DecimalFormat is a concrete subclass of NumberFormat that formats decimal
  * numbers. It has a variety of features designed to make it possible to parse
  * and format numbers in any locale, including support for Western, Arabic, or
index 156bb81b544deeeed9c59c0c2d8cdaf96a2e285d..c80d2446f1b29b37a6ca1f27ff1f6c88c13b1b3b 100644 (file)
@@ -22,7 +22,7 @@
 
 /**
  * \file 
- * \brief C++ API: Formatter for measure objects.
+ * \brief C++ API: Compatibility APIs for measure formatting.
  */
 
 /**
@@ -87,8 +87,9 @@ class ListFormatter;
 class DateFormat;
 
 /**
- * 
- * A formatter for measure objects.
+ * <p><strong>IMPORTANT:</strong> New users are strongly encouraged to see if
+ * numberformatter.h fits their use case.  Although not deprecated, this header
+ * is on life support and is provided for backwards compatibility only.
  *
  * @see Format
  * @author Alan Liu
index 68be021055bafb780df50ae650c92cfab8915a1f..4a8e049f9310cbc4df14f1d4d4aaeac80e70228e 100644 (file)
@@ -28,7 +28,7 @@
 
 /**
  * \file
- * \brief C++ API: Abstract base class for all number formats.
+ * \brief C++ API: Compatibility APIs for number formatting.
  */
 
 #if !UCONFIG_NO_FORMATTING
@@ -53,16 +53,16 @@ class StringEnumeration;
 #endif
 
 /**
+ * <p><strong>IMPORTANT:</strong> New users are strongly encouraged to see if
+ * numberformatter.h fits their use case.  Although not deprecated, this header
+ * is on life support and is provided for backwards compatibility only.
+ * <hr/>
  *
  * Abstract base class for all number formats.  Provides interface for
  * formatting and parsing a number.  Also provides methods for
  * determining which locales have number formats, and what their names
  * are.
  *
- * <p><strong>NOTE:</strong> Starting in ICU 60, there is a new set of APIs for localized number
- * formatting that are designed to be an improvement over DecimalFormat.  New users are discouraged
- * from using DecimalFormat.  For more information, see numberformatter.h.
- *
  * \headerfile unicode/numfmt.h "unicode/numfmt.h"
  * <P>
  * NumberFormat helps you to format and parse numbers for any locale.
index 2ab09b5d0d417aee066d2fa6a9f5dcd9837e8ad3..ce38a4e227533b2babe73e32d77d5b471c5c4b4a 100644 (file)
@@ -32,6 +32,9 @@
  * \brief C API: NumberFormat
  *
  * <h2> Number Format C API </h2>
+ * 
+ * <p><strong>IMPORTANT:</strong> New users with C++ capabilities are
+ * strongly encouraged to see if numberformatter.h fits their use case.
  *
  * Number Format C API  Provides functions for
  * formatting and parsing a number.  Also provides methods for