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

int32_t Locale::getKeywordValue ( const char *  keywordName,
char *  buffer,
int32_t  bufferCapacity,
UErrorCode status 
) const

Get the value for a keyword.

Parameters:
keywordName name of the keyword for which we want the value. Case insensitive.
buffer The buffer to receive the keyword value.
bufferCapacity The capacity of receiving buffer
status Returns any error information while performing this operation.
Returns:
the length of the keyword value
ICU 2.8

Definition at line 1061 of file locid.cpp.

Referenced by DateFormat::create(), NumberingSystem::createInstance(), and NumberFormat::makeInstance().

{
    return uloc_getKeywordValue(fullName, keywordName, buffer, bufLen, &status);
}


Generated by  Doxygen 1.6.0   Back to index