Logo Search packages:      
Sourcecode: icu version File versions  Download package

UnicodeString & NumberFormat::format ( int64_t  number,
UnicodeString appendTo,
FieldPositionIterator posIter,
UErrorCode status 
) const [virtual, inherited]

Format an int64 number. Subclasses must implement this method.

Parameters:
number The value to be formatted.
appendTo Output parameter to receive result. Result is appended to existing contents.
posIter On return, can be used to iterate over positions of fields generated by this format call. Can be NULL.
status Output param filled with success/failure status.
Returns:
Reference to 'appendTo' parameter. 4.4

Reimplemented in DecimalFormat.

Definition at line 315 of file numfmt.cpp.

References U_FAILURE, and U_UNSUPPORTED_ERROR.

{
    if (!U_FAILURE(status)) {
        status = U_UNSUPPORTED_ERROR;
    }
    return toAppendTo;
}


Generated by  Doxygen 1.6.0   Back to index