diff --git a/icu4c/source/i18n/number_capi.cpp b/icu4c/source/i18n/number_capi.cpp index b91a9760e20..a35680a6200 100644 --- a/icu4c/source/i18n/number_capi.cpp +++ b/icu4c/source/i18n/number_capi.cpp @@ -317,11 +317,6 @@ usnum_setMaximumIntegerDigits(USimpleNumber* unumber, int32_t maximumIntegerDigi number->fNumber.setMaximumIntegerDigits(maximumIntegerDigits, *ec); } -U_CAPI void U_EXPORT2 -usnum_truncateStart(USimpleNumber* unumber, int32_t maximumIntegerDigits, UErrorCode* ec) { - usnum_setMaximumIntegerDigits(unumber, maximumIntegerDigits, ec); -} - U_CAPI void U_EXPORT2 usnum_setSign(USimpleNumber* unumber, USimpleNumberSign sign, UErrorCode* ec) { auto* number = USimpleNumberData::validate(unumber, *ec); diff --git a/icu4c/source/i18n/number_simple.cpp b/icu4c/source/i18n/number_simple.cpp index 7daeb66dc2a..4d8706d9bd0 100644 --- a/icu4c/source/i18n/number_simple.cpp +++ b/icu4c/source/i18n/number_simple.cpp @@ -108,10 +108,6 @@ void SimpleNumber::setMaximumIntegerDigits(uint32_t position, UErrorCode& status fData->quantity.applyMaxInteger(position); } -void SimpleNumber::truncateStart(uint32_t position, UErrorCode& status) { - setMaximumIntegerDigits(position, status); -} - void SimpleNumber::setSign(USimpleNumberSign sign, UErrorCode& status) { if (U_FAILURE(status)) { return; diff --git a/icu4c/source/i18n/unicode/simplenumberformatter.h b/icu4c/source/i18n/unicode/simplenumberformatter.h index 5aa33c69468..d0121c2b97e 100644 --- a/icu4c/source/i18n/unicode/simplenumberformatter.h +++ b/icu4c/source/i18n/unicode/simplenumberformatter.h @@ -87,16 +87,6 @@ class U_I18N_API SimpleNumber : public UMemory { void setMaximumIntegerDigits(uint32_t maximumIntegerDigits, UErrorCode& status); #endif // U_HIDE_DRAFT_API -#ifndef U_HIDE_DEPRECATED_API - /** - * Alias for setMaximumIntegerDigits. - * Will be removed after ICU 75. - * - * @deprecated ICU 75 - */ - void truncateStart(uint32_t maximumIntegerDigits, UErrorCode& status); -#endif // U_HIDE_DEPRECATED_API - /** * Pads the beginning of the number with zeros up to the given minimum number of integer digits. * diff --git a/icu4c/source/i18n/unicode/usimplenumberformatter.h b/icu4c/source/i18n/unicode/usimplenumberformatter.h index b67d7e56d59..22e81ba2c93 100644 --- a/icu4c/source/i18n/unicode/usimplenumberformatter.h +++ b/icu4c/source/i18n/unicode/usimplenumberformatter.h @@ -167,18 +167,6 @@ usnum_setMaximumIntegerDigits(USimpleNumber* unumber, int32_t maximumIntegerDigi #endif // U_HIDE_DRAFT_API -#ifndef U_HIDE_DEPRECATED_API -/** - * Alias for setMaximumIntegerDigits. - * Will be removed after ICU 75. - * - * @deprecated ICU 75 - */ -U_CAPI void U_EXPORT2 -usnum_truncateStart(USimpleNumber* unumber, int32_t maximumIntegerDigits, UErrorCode* ec); -#endif // U_HIDE_DEPRECATED_API - - /** * Sets the sign of the number: an explicit plus sign, explicit minus sign, or no sign. *