Logo Search packages:      
Sourcecode: icu version File versions

int32_t DecimalFormat::skipUWhiteSpace ( const UnicodeString text,
int32_t  pos 
) [static, private]

Skip over a run of zero or more isUWhiteSpace() characters at pos in text.

Definition at line 2442 of file decimfmt.cpp.

References UnicodeString::char32At(), UnicodeString::length(), and U16_LENGTH.

Referenced by compareSimpleAffix(), parse(), and subparse().

                                                                             {
    while (pos < text.length()) {
        UChar32 c = text.char32At(pos);
        if (!u_isUWhiteSpace(c)) {
            break;
        }
        pos += U16_LENGTH(c);
    }
    return pos;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index