ICU-2202 C format *_getLocaleByType API placeholders

X-SVN-Rev: 13731
This commit is contained in:
Vladimir Weinstein 2003-11-14 21:58:52 +00:00
parent 0fb368be45
commit 6e6edd96ed
6 changed files with 59 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 */