Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE UBool U_EXPORT2 u_isJavaSpaceChar ( UChar32  c  ) 

Determine if the specified code point is a space character according to Java. True for characters with general categories "Z" (separators), which does not include control codes (e.g., TAB or Line Feed).

Same as java.lang.Character.isSpaceChar().

Note: There are several ICU whitespace functions; please see the uchar.h file documentation for a detailed comparison.

Parameters:
c the code point to be tested
Returns:
TRUE if the code point is a space character according to Character.isSpaceChar()
See also:
u_isspace

u_isWhitespace

u_isUWhiteSpace ICU 2.6

Definition at line 427 of file uchar.c.

References U_GC_Z_MASK.

                             {
    uint32_t props;
    GET_PROPS(c, props);
    return (UBool)((CAT_MASK(props)&U_GC_Z_MASK)!=0);
}


Generated by  Doxygen 1.6.0   Back to index