ICU-13402 Adding pointer to NumberFormatter from classes that it replaces.

X-SVN-Rev: 40999
This commit is contained in:
Shane Carr 2018-02-28 02:56:45 +00:00
parent 87291e747a
commit 7f1a29ed4c
4 changed files with 18 additions and 9 deletions

View 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

View 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

View 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.

View File

@ -33,6 +33,9 @@
*
* <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
* determining which locales have number formats, and what their names