mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-22220 ICU 73 API promotions (promoting ICU 71 and earlier)
This commit is contained in:
parent
9f108554af
commit
288c4c7555
4 changed files with 6 additions and 14 deletions
|
@ -330,7 +330,6 @@ public:
|
|||
const UnicodeString& getDateTimeFormat() const;
|
||||
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
/**
|
||||
* dateTimeFormats are message patterns used to compose combinations of date
|
||||
* and time patterns. There are four length styles, corresponding to the
|
||||
|
@ -351,7 +350,7 @@ public:
|
|||
* in/out parameter; if no failure status is already set,
|
||||
* it will be set according to result of the function (e.g.
|
||||
* U_ILLEGAL_ARGUMENT_ERROR for style out of range).
|
||||
* @draft ICU 71
|
||||
* @stable ICU 71
|
||||
*/
|
||||
void setDateTimeFormat(UDateFormatStyle style, const UnicodeString& dateTimeFormat,
|
||||
UErrorCode& status);
|
||||
|
@ -371,11 +370,10 @@ public:
|
|||
* or the contents of the string, may no longer be valid if
|
||||
* setDateTimeFormat is called, or the DateTimePatternGenerator
|
||||
* object is deleted.
|
||||
* @draft ICU 71
|
||||
* @stable ICU 71
|
||||
*/
|
||||
const UnicodeString& getDateTimeFormat(UDateFormatStyle style,
|
||||
UErrorCode& status) const;
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
||||
/**
|
||||
|
|
|
@ -645,7 +645,6 @@ class U_I18N_API Precision : public UMemory {
|
|||
*/
|
||||
static IncrementPrecision increment(double roundingIncrement);
|
||||
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
/**
|
||||
* Version of `Precision::increment()` that takes an integer at a particular power of 10.
|
||||
*
|
||||
|
@ -667,10 +666,9 @@ class U_I18N_API Precision : public UMemory {
|
|||
* @param magnitude
|
||||
* The power of 10 of the ones digit of the mantissa.
|
||||
* @return A precision for chaining or passing to the NumberFormatter precision() setter.
|
||||
* @draft ICU 71
|
||||
* @stable ICU 71
|
||||
*/
|
||||
static IncrementPrecision incrementExact(uint64_t mantissa, int16_t magnitude);
|
||||
#endif // U_HIDE_DRAFT_API
|
||||
|
||||
/**
|
||||
* Show numbers rounded and padded according to the rules for the currency unit. The most common
|
||||
|
|
|
@ -526,7 +526,6 @@ udatpg_getDateTimeFormat(const UDateTimePatternGenerator *dtpg,
|
|||
int32_t *pLength);
|
||||
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
/**
|
||||
* dateTimeFormats are message patterns used to compose combinations of date
|
||||
* and time patterns. There are four length styles, corresponding to the
|
||||
|
@ -552,7 +551,7 @@ udatpg_getDateTimeFormat(const UDateTimePatternGenerator *dtpg,
|
|||
* a pointer to the UErrorCode (in/out parameter); if no failure
|
||||
* status is already set, it will be set according to result of the
|
||||
* function (e.g. U_ILLEGAL_ARGUMENT_ERROR for style out of range).
|
||||
* @draft ICU 71
|
||||
* @stable ICU 71
|
||||
*/
|
||||
U_CAPI void U_EXPORT2
|
||||
udatpg_setDateTimeFormatForStyle(UDateTimePatternGenerator *udtpg,
|
||||
|
@ -580,13 +579,12 @@ udatpg_setDateTimeFormatForStyle(UDateTimePatternGenerator *udtpg,
|
|||
* may no longer be valid if udatpg_setDateTimeFormat is called, or
|
||||
* udatpg_setDateTimeFormatForStyle for the same style is called, or the
|
||||
* UDateTimePatternGenerator object is closed.
|
||||
* @draft ICU 71
|
||||
* @stable ICU 71
|
||||
*/
|
||||
U_CAPI const UChar* U_EXPORT2
|
||||
udatpg_getDateTimeFormatForStyle(const UDateTimePatternGenerator *udtpg,
|
||||
UDateFormatStyle style, int32_t *pLength,
|
||||
UErrorCode *pErrorCode);
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
||||
/**
|
||||
|
|
|
@ -351,13 +351,11 @@ typedef enum UNumberFormatFields {
|
|||
UNUM_MEASURE_UNIT_FIELD,
|
||||
/** @stable ICU 64 */
|
||||
UNUM_COMPACT_FIELD,
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
/**
|
||||
* Approximately sign. In ICU 70, this was categorized under the generic SIGN field.
|
||||
* @draft ICU 71
|
||||
* @stable ICU 71
|
||||
*/
|
||||
UNUM_APPROXIMATELY_SIGN_FIELD,
|
||||
#endif // U_HIDE_DRAFT_API
|
||||
|
||||
#ifndef U_HIDE_DEPRECATED_API
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue