Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE const char* U_EXPORT2 umsg_getLocale ( const UMessageFormat fmt  ) 

Gets the locale. This locale is used for fetching default number or date format information.

Parameters:
fmt The formatter to querry
Returns:
the locale. ICU 2.0

Definition at line 282 of file umsg.cpp.

References NULL.

{
    //check arguments
    if(fmt==NULL){
        return "";
    }
    return ((const MessageFormat*)fmt)->getLocale().getName();
}


Generated by  Doxygen 1.6.0   Back to index