ICU-2202 C format *_getLocaleByType API placeholders
X-SVN-Rev: 13731
This commit is contained in:
parent
0fb368be45
commit
6e6edd96ed
@ -573,4 +573,11 @@ udat_setSymbols( UDateFormat *format,
|
||||
}
|
||||
}
|
||||
|
||||
U_CAPI const char* U_EXPORT2
|
||||
udat_getLocaleByType(const UDateFormat *fmt,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
@ -570,4 +570,12 @@ umsg_vparse(UMessageFormat *fmt,
|
||||
delete [] args;
|
||||
}
|
||||
|
||||
U_CAPI const char* U_EXPORT2
|
||||
umsg_getLocaleByType(const UMessageFormat *fmt,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
@ -528,6 +528,17 @@ udat_setSymbols( UDateFormat *format,
|
||||
int32_t valueLength,
|
||||
UErrorCode *status);
|
||||
|
||||
/** Get the locale for this date format object. You can choose between valid and actual locale.
|
||||
* @param cal The calendar object
|
||||
* @param type type of the locale we're looking for (valid or actual)
|
||||
* @param status error code for the operation
|
||||
* @return the locale name
|
||||
*/
|
||||
U_CAPI const char* U_EXPORT2
|
||||
udat_getLocaleByType(const UDateFormat *fmt,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status);
|
||||
|
||||
/********************* Obsolete API ************************************/
|
||||
/**
|
||||
* TODO: Remove after Aug 2002
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
|
||||
#include "unicode/uloc.h"
|
||||
#include "unicode/parseerr.h"
|
||||
#include <stdarg.h>
|
||||
/**
|
||||
@ -594,6 +595,18 @@ umsg_vparse(UMessageFormat *fmt,
|
||||
va_list ap,
|
||||
UErrorCode *status);
|
||||
|
||||
|
||||
/** Get the locale for this message format object. You can choose between valid and actual locale.
|
||||
* @param cal The calendar object
|
||||
* @param type type of the locale we're looking for (valid or actual)
|
||||
* @param status error code for the operation
|
||||
* @return the locale name
|
||||
*/
|
||||
U_CAPI const char* U_EXPORT2
|
||||
umsg_getLocaleByType(const UMessageFormat *fmt,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status);
|
||||
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
||||
#endif
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
|
||||
#include "unicode/uloc.h"
|
||||
#include "unicode/umisc.h"
|
||||
#include "unicode/parseerr.h"
|
||||
/**
|
||||
@ -694,6 +695,17 @@ unum_setSymbol(UNumberFormat *fmt,
|
||||
UErrorCode *status);
|
||||
|
||||
|
||||
/** Get the locale for this number format object. You can choose between valid and actual locale.
|
||||
* @param cal The calendar object
|
||||
* @param type type of the locale we're looking for (valid or actual)
|
||||
* @param status error code for the operation
|
||||
* @return the locale name
|
||||
*/
|
||||
U_CAPI const char* U_EXPORT2
|
||||
unum_getLocaleByType(const UNumberFormat *fmt,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status);
|
||||
|
||||
/******************* Obsolete API ***************************/
|
||||
/**
|
||||
* TODO: Remove after Aug 2002
|
||||
|
@ -664,4 +664,12 @@ unum_applyPattern( UNumberFormat *format,
|
||||
((DecimalFormat*)format)->applyPattern(pat,*parseError, *status);
|
||||
}
|
||||
|
||||
U_CAPI const char* U_EXPORT2
|
||||
unum_getLocaleByType(const UNumberFormat *fmt,
|
||||
ULocDataLocaleType type,
|
||||
UErrorCode* status)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* #if !UCONFIG_NO_FORMATTING */
|
||||
|
Loading…
Reference in New Issue
Block a user