mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-13667 Making new DecimalFormat constructor private.
X-SVN-Rev: 41489
This commit is contained in:
parent
0f6bd8d62d
commit
6b7022632b
1 changed files with 9 additions and 7 deletions
|
@ -756,13 +756,6 @@ class U_I18N_API DecimalFormat : public NumberFormat {
|
|||
DecimalFormat(const UnicodeString& pattern, DecimalFormatSymbols* symbolsToAdopt,
|
||||
UNumberFormatStyle style, UErrorCode& status);
|
||||
|
||||
/**
|
||||
* This API is for ICU use only.
|
||||
* Default internal constructor for DecimalFormat.
|
||||
* @internal
|
||||
*/
|
||||
DecimalFormat(const DecimalFormatSymbols* symbolsToAdopt, UErrorCode& status);
|
||||
|
||||
#if UCONFIG_HAVE_PARSEALLINPUT
|
||||
|
||||
/**
|
||||
|
@ -774,6 +767,15 @@ class U_I18N_API DecimalFormat : public NumberFormat {
|
|||
|
||||
#endif /* U_HIDE_INTERNAL_API */
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
* Internal constructor for DecimalFormat; sets up internal fields. All public constructors should
|
||||
* call this constructor.
|
||||
*/
|
||||
DecimalFormat(const DecimalFormatSymbols* symbolsToAdopt, UErrorCode& status);
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Set an integer attribute on this DecimalFormat.
|
||||
|
|
Loading…
Add table
Reference in a new issue