Proposal: Deprecate redundant DecimalFormatSymbols enum

Alan S Liu <[email protected]> Fri, 26 Mar 2004 16:55:15 -0800
Newsgroups gmane.comp.lib.icu.general
Message-ID <OFEC9276EF.A71E7BED-ON88256E64.000412E0-88256E64.00051026@us.ibm.com>
Affects: ICU4C 3.0
Reply by: April 2, 2004
Bug ID: 3669

The C++ header for DecimalFormatSymbols defines an enum for selecting 
symbols,
 DecimalFormatSymbols::ENumberFormatSymbol.

The C header unum.h defines an enum for selecting symbols, which is 
perforce
 synchronized with the first enum, UNumberFormatSymbol.

Following our policy in similar situations in the past:

- Deprecate the C++ header enum.
- Deprecate any API using ENumberFormatSymbol.
- Add new @draft ICU 3.0 identical to existing API using 
ENumberFormatSymbol, but
  using UNumberFormatSymbol instead.

NOTE that deprecated API is still retained indefinitely. Its tag is 
changed from
 @stable to @deprecated.

[Alan S Liu/San Jose/IBM@IBMUS; [email protected];; IBM Globalization; 
5600 Cottle Road; San Jose, CA 95193;; (408) 256-3155]