ICU-7400 Fix incorrect API docs on several 'void parse()' functions.

X-SVN-Rev: 32561
This commit is contained in:
Andy Heninger 2012-10-08 22:41:13 +00:00
parent 7fdcb9440b
commit b042e33ee1
3 changed files with 3 additions and 11 deletions

View File

@ -507,9 +507,6 @@ public:
* last character successfully parsed. If the
* source is not parsed successfully, this param
* will remain unchanged.
* @return A newly created Formattable* object, or NULL
* on failure. The caller owns this and should
* delete it when done.
* @stable ICU 2.0
*/
virtual void parseObject(const UnicodeString& source,

View File

@ -543,8 +543,6 @@ public:
* @param parsePosition The position to start parsing at on input.
* On output, moved to after the last successfully
* parse character. On parse failure, does not change.
* @return A Formattable object of numeric type. The caller
* owns this an must delete it. NULL on failure.
* @stable ICU 2.0
*/
virtual void parse(const UnicodeString& text,
@ -561,12 +559,10 @@ public:
* If parse fails, return contents are undefined.
* @param status Output parameter set to a failure error code
* when a failure occurs.
* @return A Formattable object of numeric type. The caller
* owns this an must delete it. NULL on failure.
* @see NumberFormat::isParseIntegerOnly
* @stable ICU 2.0
*/
virtual void parse( const UnicodeString& text,
virtual void parse(const UnicodeString& text,
Formattable& result,
UErrorCode& status) const;

View File

@ -551,7 +551,6 @@ public:
* @param pos On input, the position at which to start parsing; on
* output, the position at which parsing terminated, or the
* start position if the parse failed.
* @return A valid UDate if the input could be parsed.
* @stable ICU 2.1
*/
virtual void parse( const UnicodeString& text,