ICU-2015 add "2.1" to old @draft tags
X-SVN-Rev: 10350
This commit is contained in:
parent
0c0c1c0416
commit
ad2044da57
@ -119,7 +119,7 @@ public final class UScript {
|
|||||||
* @param locale Locale
|
* @param locale Locale
|
||||||
* @return The script codes array. null if the the code cannot be found.
|
* @return The script codes array. null if the the code cannot be found.
|
||||||
* @exception MissingResourceException
|
* @exception MissingResourceException
|
||||||
* @draft
|
* @draft 2.1
|
||||||
*/
|
*/
|
||||||
public static final int[] getCode(Locale locale)
|
public static final int[] getCode(Locale locale)
|
||||||
throws MissingResourceException {
|
throws MissingResourceException {
|
||||||
@ -137,7 +137,7 @@ public final class UScript {
|
|||||||
* data.
|
* data.
|
||||||
* @param nameOrAbbrOrLocale name of the script or ISO 15924 code or locale
|
* @param nameOrAbbrOrLocale name of the script or ISO 15924 code or locale
|
||||||
* @return The script codes array. null if the the code cannot be found.
|
* @return The script codes array. null if the the code cannot be found.
|
||||||
* @draft
|
* @draft 2.1
|
||||||
*/
|
*/
|
||||||
public static final int[] getCode(String nameOrAbbrOrLocale){
|
public static final int[] getCode(String nameOrAbbrOrLocale){
|
||||||
try {
|
try {
|
||||||
@ -156,7 +156,7 @@ public final class UScript {
|
|||||||
* @param codepoint UChar32 codepoint
|
* @param codepoint UChar32 codepoint
|
||||||
* @return The script code
|
* @return The script code
|
||||||
* @exception IllegalArgumentException
|
* @exception IllegalArgumentException
|
||||||
* @draft
|
* @draft 2.1
|
||||||
*/
|
*/
|
||||||
public static final int getScript(int codepoint){
|
public static final int getScript(int codepoint){
|
||||||
if (codepoint >= UCharacter.MIN_VALUE & codepoint <= UCharacter.MAX_VALUE) {
|
if (codepoint >= UCharacter.MIN_VALUE & codepoint <= UCharacter.MAX_VALUE) {
|
||||||
@ -172,7 +172,7 @@ public final class UScript {
|
|||||||
* @param scriptCode int script code
|
* @param scriptCode int script code
|
||||||
* @return script name as a string in full as given in TR#24
|
* @return script name as a string in full as given in TR#24
|
||||||
* @exception IllegalArgumentException
|
* @exception IllegalArgumentException
|
||||||
* @draft
|
* @draft 2.1
|
||||||
*/
|
*/
|
||||||
public static final String getName(int scriptCode){
|
public static final String getName(int scriptCode){
|
||||||
return UCharacter.getPropertyValueName(UProperty.SCRIPT,
|
return UCharacter.getPropertyValueName(UProperty.SCRIPT,
|
||||||
@ -186,7 +186,7 @@ public final class UScript {
|
|||||||
* @param scriptCode int script code
|
* @param scriptCode int script code
|
||||||
* @return script abbreviated name as a string as given in TR#24
|
* @return script abbreviated name as a string as given in TR#24
|
||||||
* @exception IllegalArgumentException
|
* @exception IllegalArgumentException
|
||||||
* @draft
|
* @draft 2.1
|
||||||
*/
|
*/
|
||||||
public static final String getShortName(int scriptCode){
|
public static final String getShortName(int scriptCode){
|
||||||
return UCharacter.getPropertyValueName(UProperty.SCRIPT,
|
return UCharacter.getPropertyValueName(UProperty.SCRIPT,
|
||||||
|
Loading…
Reference in New Issue
Block a user