ICU4C API Comparison: ICU 71 with ICU 72

Note Markdown format of this document is new for ICU 65.

Removed

Removed from ICU 71

FileAPIICU 71ICU 72
calendar.hbool icu::Calendar::isSet(EDateFields) constDeprecatedICU 2.6(missing)
calendar.hint32_t icu::Calendar::get(EDateFields, UErrorCode&) constDeprecatedICU 2.6(missing)
calendar.hint32_t icu::Calendar::getActualMaximum(EDateFields, UErrorCode&) constDeprecatedICU 2.6(missing)
calendar.hvoid icu::Calendar::clear(EDateFields)DeprecatedICU 2.6(missing)
calendar.hvoid icu::Calendar::set(EDateFields, int32_t)DeprecatedICU 2.6(missing)
calendar.hvoid icu::Calendar::setFirstDayOfWeek(EDaysOfWeek)DeprecatedICU 2.6(missing)
dtptngen.hstatic DateTimePatternGenerator* icu::DateTimePatternGenerator::internalMakeInstance(const Locale&, UErrorCode&)Internal(missing)
gregocal.hint32_t icu::GregorianCalendar::getActualMaximum(EDateFields) constDeprecatedICU 2.6(missing)
numberformatter.hNounClass icu::number::FormattedNumber::getNounClass(UErrorCode&) constDraftICU 71(missing)
numberformatter.hconst char* icu::number::FormattedNumber::getGender(UErrorCode&) constDeprecated(missing)
plurrule.hint32_t icu::PluralRules::getSamples(const UnicodeString&, FixedDecimal*, int32_t, UErrorCode&)Internal(missing)
plurrule.hstatic bool icu::PluralRules::hasOverride(const Locale&)Internal(missing)
tzrule.hbool icu::InitialTimeZoneRule::getStartInYear(int32_t, int32_t, int32_t, UDate&) constStableICU 3.8(missing)

Deprecated

Deprecated or Obsoleted in ICU 72

FileAPIICU 71ICU 72

Changed

Changed in ICU 72 (old, new)

FileAPIICU 71ICU 72
measunit.hstatic MeasureUnit icu::MeasureUnit::getItem()Draft→StableICU 70
measunit.hstatic MeasureUnit icu::MeasureUnit::getKilowattHourPer100Kilometer()Draft→StableICU 70
measunit.hstatic MeasureUnit* icu::MeasureUnit::createItem(UErrorCode&)Draft→StableICU 70
measunit.hstatic MeasureUnit* icu::MeasureUnit::createKilowattHourPer100Kilometer(UErrorCode&)Draft→StableICU 70
numberformatter.hDerived icu::number::NumberFormatterSettings< Derived >::unitDisplayCase(StringPiece) const&InternalICU 69Internal
numberformatter.hDerived icu::number::NumberFormatterSettings< Derived >::unitDisplayCase(StringPiece)&&InternalICU 69Internal
numberrangeformatter.hicu::number::FormattedNumberRange::FormattedNumberRange()Draft→StableICU 70
uchar.hbool u_stringHasBinaryProperty(const UChar*, int32_t, UProperty)Draft→StableICU 70
uchar.henum UProperty::UCHAR_BASIC_EMOJIDraft→StableICU 70
uchar.henum UProperty::UCHAR_EMOJI_KEYCAP_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_FLAG_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_MODIFIER_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_TAG_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_ZWJ_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJIDraft→StableICU 70
udat.henum UDateFormatSymbolType::UDAT_NARROW_QUARTERSDraft→StableICU 70
udat.henum UDateFormatSymbolType::UDAT_STANDALONE_NARROW_QUARTERSDraft→StableICU 70
uformattedvalue.henum UFieldCategory::UFIELD_CATEGORY_NUMBER_RANGE_SPANDraft→StableICU 69
uniset.hbool icu::UnicodeSet::hasStrings() constDraft→StableICU 70
uset.hbool uset_hasStrings(const USet*)Draft→StableICU 70
uset.hint32_t uset_getRangeCount(const USet*)Draft→StableICU 70
usetiter.hUnicodeSetIterator & icu::UnicodeSetIterator::skipToStrings()Draft→StableICU 70

Promoted

Promoted to stable in ICU 72

FileAPIICU 71ICU 72
measunit.hstatic MeasureUnit icu::MeasureUnit::getItem()Draft→StableICU 70
measunit.hstatic MeasureUnit icu::MeasureUnit::getKilowattHourPer100Kilometer()Draft→StableICU 70
measunit.hstatic MeasureUnit* icu::MeasureUnit::createItem(UErrorCode&)Draft→StableICU 70
measunit.hstatic MeasureUnit* icu::MeasureUnit::createKilowattHourPer100Kilometer(UErrorCode&)Draft→StableICU 70
numberrangeformatter.hicu::number::FormattedNumberRange::FormattedNumberRange()Draft→StableICU 70
uchar.hbool u_stringHasBinaryProperty(const UChar*, int32_t, UProperty)Draft→StableICU 70
uchar.henum UBlockCode::UBLOCK_ARABIC_EXTENDED_C(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_CYRILLIC_EXTENDED_D(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_DEVANAGARI_EXTENDED_A(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_KAKTOVIK_NUMERALS(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_KAWI(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_NAG_MUNDARI(missing)StableICU 72
uchar.henum UProperty::UCHAR_BASIC_EMOJIDraft→StableICU 70
uchar.henum UProperty::UCHAR_EMOJI_KEYCAP_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_FLAG_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_MODIFIER_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_TAG_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJI_ZWJ_SEQUENCEDraft→StableICU 70
uchar.henum UProperty::UCHAR_RGI_EMOJIDraft→StableICU 70
udat.henum UDateFormatSymbolType::UDAT_NARROW_QUARTERSDraft→StableICU 70
udat.henum UDateFormatSymbolType::UDAT_STANDALONE_NARROW_QUARTERSDraft→StableICU 70
uformattedvalue.henum UFieldCategory::UFIELD_CATEGORY_NUMBER_RANGE_SPANDraft→StableICU 69
uniset.hbool icu::UnicodeSet::hasStrings() constDraft→StableICU 70
uscript.henum UScriptCode::USCRIPT_KAWI(missing)StableICU 72
uscript.henum UScriptCode::USCRIPT_NAG_MUNDARI(missing)StableICU 72
uset.hbool uset_hasStrings(const USet*)Draft→StableICU 70
uset.hint32_t uset_getRangeCount(const USet*)Draft→StableICU 70
usetiter.hUnicodeSetIterator & icu::UnicodeSetIterator::skipToStrings()Draft→StableICU 70

Added

Added in ICU 72

FileAPIICU 71ICU 72
displayoptions.hBuilder icu::DisplayOptions::copyToBuilder() const(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setCapitalization(UDisplayOptionsCapitalization)(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setDisplayLength(UDisplayOptionsDisplayLength)(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setGrammaticalCase(UDisplayOptionsGrammaticalCase)(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setNameStyle(UDisplayOptionsNameStyle)(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setNounClass(UDisplayOptionsNounClass)(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setPluralCategory(UDisplayOptionsPluralCategory)(missing)DraftICU 72
displayoptions.hBuilder& icu::DisplayOptions::Builder::setSubstituteHandling(UDisplayOptionsSubstituteHandling)(missing)DraftICU 72
displayoptions.hDisplayOptions icu::DisplayOptions::Builder::build()(missing)DraftICU 72
displayoptions.hDisplayOptions& icu::DisplayOptions::operator=(DisplayOptions&&) noexcept=default(missing)DraftICU 72
displayoptions.hDisplayOptions& icu::DisplayOptions::operator=(const DisplayOptions&)=default(missing)DraftICU 72
displayoptions.hUDisplayOptionsCapitalization icu::DisplayOptions::getCapitalization() const(missing)DraftICU 72
displayoptions.hUDisplayOptionsDisplayLength icu::DisplayOptions::getDisplayLength() const(missing)DraftICU 72
displayoptions.hUDisplayOptionsGrammaticalCase icu::DisplayOptions::getGrammaticalCase() const(missing)DraftICU 72
displayoptions.hUDisplayOptionsNameStyle icu::DisplayOptions::getNameStyle() const(missing)DraftICU 72
displayoptions.hUDisplayOptionsNounClass icu::DisplayOptions::getNounClass() const(missing)DraftICU 72
displayoptions.hUDisplayOptionsPluralCategory icu::DisplayOptions::getPluralCategory() const(missing)DraftICU 72
displayoptions.hUDisplayOptionsSubstituteHandling icu::DisplayOptions::getSubstituteHandling() const(missing)DraftICU 72
displayoptions.hicu::DisplayOptions::DisplayOptions(const DisplayOptions&)=default(missing)DraftICU 72
displayoptions.hstatic Builder icu::DisplayOptions::builder()(missing)DraftICU 72
measunit.hstatic MeasureUnit icu::MeasureUnit::getQuarter()(missing)DraftICU 72
measunit.hstatic MeasureUnit icu::MeasureUnit::getTonne()(missing)DraftICU 72
measunit.hstatic MeasureUnit* icu::MeasureUnit::createQuarter(UErrorCode&)(missing)DraftICU 72
measunit.hstatic MeasureUnit* icu::MeasureUnit::createTonne(UErrorCode&)(missing)DraftICU 72
numberformatter.hDerived icu::number::NumberFormatterSettings< Derived >::displayOptions(const DisplayOptions&) const&(missing)DraftICU 72
numberformatter.hDerived icu::number::NumberFormatterSettings< Derived >::displayOptions(const DisplayOptions&)&&(missing)DraftICU 72
numberformatter.hUDisplayOptionsNounClass icu::number::FormattedNumber::getNounClass(UErrorCode&) const(missing)DraftICU 72
platform.h#define U_HIDDEN(missing)Internal
plurrule.hint32_t icu::PluralRules::getSamples(const UnicodeString&, DecimalQuantity*, int32_t, UErrorCode&)(missing)Internal
uchar.henum UBlockCode::UBLOCK_ARABIC_EXTENDED_C(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_H(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_CYRILLIC_EXTENDED_D(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_DEVANAGARI_EXTENDED_A(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_KAKTOVIK_NUMERALS(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_KAWI(missing)StableICU 72
uchar.henum UBlockCode::UBLOCK_NAG_MUNDARI(missing)StableICU 72
udisplayoptions.hUDisplayOptionsGrammaticalCase udispopt_fromGrammaticalCaseIdentifier(const char*)(missing)DraftICU 72
udisplayoptions.hUDisplayOptionsNounClass udispopt_fromNounClassIdentifier(const char*)(missing)DraftICU 72
udisplayoptions.hUDisplayOptionsPluralCategory udispopt_fromPluralCategoryIdentifier(const char*)(missing)DraftICU 72
udisplayoptions.hconst char* udispopt_getGrammaticalCaseIdentifier(UDisplayOptionsGrammaticalCase)(missing)DraftICU 72
udisplayoptions.hconst char* udispopt_getNounClassIdentifier(UDisplayOptionsNounClass)(missing)DraftICU 72
udisplayoptions.hconst char* udispopt_getPluralCategoryIdentifier(UDisplayOptionsPluralCategory)(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsCapitalization::UDISPOPT_CAPITALIZATION_BEGINNING_OF_SENTENCE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsCapitalization::UDISPOPT_CAPITALIZATION_MIDDLE_OF_SENTENCE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsCapitalization::UDISPOPT_CAPITALIZATION_STANDALONE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsCapitalization::UDISPOPT_CAPITALIZATION_UI_LIST_OR_MENU(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsCapitalization::UDISPOPT_CAPITALIZATION_UNDEFINED(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsDisplayLength::UDISPOPT_DISPLAY_LENGTH_FULL(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsDisplayLength::UDISPOPT_DISPLAY_LENGTH_SHORT(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsDisplayLength::UDISPOPT_DISPLAY_LENGTH_UNDEFINED(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_ABLATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_ACCUSATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_COMITATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_DATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_ERGATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_GENITIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_INSTRUMENTAL(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_LOCATIVE_COPULATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_LOCATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_NOMINATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_OBLIQUE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_PREPOSITIONAL(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_SOCIATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_UNDEFINED(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsGrammaticalCase::UDISPOPT_GRAMMATICAL_CASE_VOCATIVE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNameStyle::UDISPOPT_NAME_STYLE_DIALECT_NAMES(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNameStyle::UDISPOPT_NAME_STYLE_STANDARD_NAMES(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNameStyle::UDISPOPT_NAME_STYLE_UNDEFINED(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_ANIMATE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_COMMON(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_FEMININE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_INANIMATE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_MASCULINE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_NEUTER(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_OTHER(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_PERSONAL(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsNounClass::UDISPOPT_NOUN_CLASS_UNDEFINED(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_FEW(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_MANY(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_ONE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_OTHER(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_TWO(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_UNDEFINED(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsPluralCategory::UDISPOPT_PLURAL_CATEGORY_ZERO(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsSubstituteHandling::UDISPOPT_SUBSTITUTE_HANDLING_NO_SUBSTITUTE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsSubstituteHandling::UDISPOPT_SUBSTITUTE_HANDLING_SUBSTITUTE(missing)DraftICU 72
udisplayoptions.henum UDisplayOptionsSubstituteHandling::UDISPOPT_SUBSTITUTE_HANDLING_UNDEFINED(missing)DraftICU 72
unum.hbool unum_hasAttribute(const UNumberFormat*, UNumberFormatAttribute)(missing)DraftICU 72
uscript.henum UScriptCode::USCRIPT_KAWI(missing)StableICU 72
uscript.henum UScriptCode::USCRIPT_NAG_MUNDARI(missing)StableICU 72

Other

Other existing drafts in ICU 72

FileAPIICU 71ICU 72
dtptngen.hconst UnicodeString& icu::DateTimePatternGenerator::getDateTimeFormat(UDateFormatStyle, UErrorCode&) constDraftICU 71
dtptngen.hvoid icu::DateTimePatternGenerator::setDateTimeFormat(UDateFormatStyle, const UnicodeString&, UErrorCode&)DraftICU 71
measfmt.hvoid icu::MeasureFormat::parseObject(const UnicodeString&, Formattable&, ParsePosition&) constDraftICU 53
numberformatter.hstatic IncrementPrecision icu::number::Precision::incrementExact(uint64_t, int16_t)DraftICU 71
udatpg.hconst UChar* udatpg_getDateTimeFormatForStyle(const UDateTimePatternGenerator*, UDateFormatStyle, int32_t*, UErrorCode*)DraftICU 71
udatpg.hvoid udatpg_setDateTimeFormatForStyle(UDateTimePatternGenerator*, UDateFormatStyle, const UChar*, int32_t, UErrorCode*)DraftICU 71
unum.henum UNumberFormatFields::UNUM_APPROXIMATELY_SIGN_FIELDDraftICU 71
uregex.henum URegexpFlag::UREGEX_CANON_EQDraftICU 2.4

Simplifications

This section shows cases where the signature was “simplified” for the sake of comparison. The simplified form is in bold, followed by all possible variations in “original” form.

Colophon

Contents generated by StableAPI tool on Thu Oct 06 11:06:50 PDT 2022

Copyright © 2019 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html