ICU-10565 Added warning, like in Java.

X-SVN-Rev: 38499
This commit is contained in:
Mark Davis 2016-03-07 17:08:37 +00:00
parent 1ea7639da3
commit c2b7ab12bc

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (C) 1997-2015, International Business Machines
* Copyright (C) 1997-2016, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*
@ -588,6 +588,8 @@ uloc_getDisplayScript(const char* locale,
/**
* Gets the country name suitable for display for the specified locale.
* Warning: this is for the region part of a valid locale ID; it cannot just be the region code (like "FR").
* To get the display name for a region alone, or for other options, use ULocaleDisplayNames instead.
*
* @param locale the locale to get the displayable country code with. NULL may be used to specify the default.
* @param displayLocale Specifies the locale to be used to display the name. In other words,