ICU-10628 udat_getContext should use const UDateFormat*
X-SVN-Rev: 34904
This commit is contained in:
parent
34388ce402
commit
541a0405a7
@ -991,7 +991,7 @@ udat_setContext(UDateFormat* fmt, UDisplayContext value, UErrorCode* status)
|
||||
}
|
||||
|
||||
U_CAPI UDisplayContext U_EXPORT2
|
||||
udat_getContext(UDateFormat* fmt, UDisplayContextType type, UErrorCode* status)
|
||||
udat_getContext(const UDateFormat* fmt, UDisplayContextType type, UErrorCode* status)
|
||||
{
|
||||
if (U_FAILURE(*status)) {
|
||||
return (UDisplayContext)0;
|
||||
|
@ -1343,10 +1343,10 @@ udat_setContext(UDateFormat* fmt, UDisplayContext value, UErrorCode* status);
|
||||
* @param type The UDisplayContextType whose value to return
|
||||
* @param status A pointer to an UErrorCode to receive any errors
|
||||
* @return The UDisplayContextValue for the specified type.
|
||||
* @draft ICU 51
|
||||
* @draft ICU 53
|
||||
*/
|
||||
U_DRAFT UDisplayContext U_EXPORT2
|
||||
udat_getContext(UDateFormat* fmt, UDisplayContextType type, UErrorCode* status);
|
||||
udat_getContext(const UDateFormat* fmt, UDisplayContextType type, UErrorCode* status);
|
||||
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user