ICU-20463 Use copybrief for children that are older than parents.

This commit is contained in:
Shane Carr 2019-03-08 16:27:33 -08:00 committed by Shane F. Carr
parent bc4bb89af2
commit bb4df2223d
2 changed files with 34 additions and 10 deletions

View file

@ -2437,15 +2437,31 @@ class U_I18N_API FormattedNumber : public UMemory, public FormattedValue {
*/
FormattedNumber& operator=(FormattedNumber&& src) U_NOEXCEPT;
/** @copydoc FormattedValue::toString() */
// Copybrief: this method is older than the parent method
/**
* @copybrief FormattedValue::toString()
*
* For more information, see FormattedValue::toString()
*
* @draft ICU 62
*/
UnicodeString toString(UErrorCode& status) const U_OVERRIDE;
// Copydoc: this method is new in ICU 64
/** @copydoc FormattedValue::toTempString() */
UnicodeString toTempString(UErrorCode& status) const U_OVERRIDE;
/** @copydoc FormattedValue::appendTo() */
// Copybrief: this method is older than the parent method
/**
* @copybrief FormattedValue::appendTo()
*
* For more information, see FormattedValue::appendTo()
*
* @draft ICU 62
*/
Appendable &appendTo(Appendable& appendable, UErrorCode& status) const U_OVERRIDE;
// Copydoc: this method is new in ICU 64
/** @copydoc FormattedValue::nextPosition() */
UBool nextPosition(ConstrainedFieldPosition& cfpos, UErrorCode& status) const U_OVERRIDE;

View file

@ -694,24 +694,32 @@ class U_I18N_API LocalizedNumberRangeFormatter
*/
class U_I18N_API FormattedNumberRange : public UMemory, public FormattedValue {
public:
// Copybrief: this method is older than the parent method
/**
* @copydoc FormattedValue::toString()
* @copybrief FormattedValue::toString()
*
* For more information, see FormattedValue::toString()
*
* @draft ICU 63
*/
UnicodeString toString(UErrorCode& status) const U_OVERRIDE;
/**
* @copydoc FormattedValue::toTempString()
*/
// Copydoc: this method is new in ICU 64
/** @copydoc FormattedValue::toTempString() */
UnicodeString toTempString(UErrorCode& status) const U_OVERRIDE;
// Copybrief: this method is older than the parent method
/**
* @copydoc FormattedValue::appendTo()
* @copybrief FormattedValue::appendTo()
*
* For more information, see FormattedValue::appendTo()
*
* @draft ICU 63
*/
Appendable &appendTo(Appendable &appendable, UErrorCode& status) const U_OVERRIDE;
/**
* @copydoc FormattedValue::nextPosition()
*/
// Copydoc: this method is new in ICU 64
/** @copydoc FormattedValue::nextPosition() */
UBool nextPosition(ConstrainedFieldPosition& cfpos, UErrorCode& status) const U_OVERRIDE;
/**