diff --git a/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacter.java b/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacter.java
index a4b6167ef80..56edbb11a7c 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacter.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacter.java
@@ -1,6 +1,6 @@
/**
*******************************************************************************
- * Copyright (C) 1996-2015, International Business Machines Corporation and
+ * Copyright (C) 1996-2016, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
@@ -2424,8 +2424,9 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
}
/**
- * Cover the JDK 1.5 API. Return the Unicode block with the
- * given name. {@icunote} Unlike JDK 1.5, this only matches
+ * Alternative to the {@link java.lang.Character.UnicodeBlock#forName(String)} method.
+ * Returns the Unicode block with the given name. {@icunote} Unlike
+ * {@link java.lang.Character.UnicodeBlock#forName(String)}, this only matches
* against the official UCD name and the Java block name
* (ignoring case).
* @param blockName the name of the block to match
@@ -5936,7 +5937,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
public static final int MIN_CODE_POINT = Character.MIN_CODE_POINT;
/**
- * Cover the JDK 1.5 API, for convenience.
+ * Equivalent to {@link Character#isValidCodePoint}.
+ *
* @param cp the code point to check
* @return true if cp is a valid code point
* @stable ICU 3.0
@@ -6193,11 +6195,12 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
}
/**
- * Cover the JDK API, for convenience. Return a byte representing the directionality of
- * the character.
+ * Equivalent to the {@link Character#getDirectionality(char)} method, for
+ * convenience. Returns a byte representing the directionality of the
+ * character.
*
- * {@icunote} Unlike the JDK, this returns DIRECTIONALITY_LEFT_TO_RIGHT for undefined
- * or out-of-bounds characters.
+ * {@icunote} Unlike {@link Character#getDirectionality(char)}, this returns
+ * DIRECTIONALITY_LEFT_TO_RIGHT for undefined or out-of-bounds characters.
*
* {@icunote} The return value must be tested using the constants defined in {@link
* UCharacterDirection} and its interface {@link
@@ -6214,7 +6217,9 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
}
/**
- * Cover the JDK API, for convenience. Count the number of code points in the range of text.
+ * Equivalent to the {@link Character#codePointCount(CharSequence, int, int)}
+ * method, for convenience. Counts the number of code points in the range
+ * of text.
* @param text the characters to check
* @param start the start of the range
* @param limit the limit of the range
@@ -6243,7 +6248,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
}
/**
- * Cover the JDK API, for convenience. Count the number of code points in the range of text.
+ * Equivalent to the {@link Character#codePointCount(char[], int, int)} method, for
+ * convenience. Counts the number of code points in the range of text.
* @param text the characters to check
* @param start the start of the range
* @param limit the limit of the range
@@ -6272,7 +6278,8 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
}
/**
- * Cover the JDK API, for convenience. Adjust the char index by a code point offset.
+ * Equivalent to the {@link Character#offsetByCodePoints(CharSequence, int, int)}
+ * method, for convenience. Adjusts the char index by a code point offset.
* @param text the characters to check
* @param index the index to adjust
* @param codePointOffset the number of code points by which to offset the index
@@ -6316,7 +6323,9 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
}
/**
- * Cover the JDK API, for convenience. Adjust the char index by a code point offset.
+ * Equivalent to the
+ * {@link Character#offsetByCodePoints(char[], int, int, int, int)}
+ * method, for convenience. Adjusts the char index by a code point offset.
* @param text the characters to check
* @param start the start of the range to check
* @param count the length of the range to check
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacterEnums.java b/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacterEnums.java
index dd27233e07f..bab441314c0 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacterEnums.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/lang/UCharacterEnums.java
@@ -1,6 +1,6 @@
/**
*******************************************************************************
- * Copyright (C) 2004-2013, International Business Machines Corporation and
+ * Copyright (C) 2004-2016, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
@@ -20,7 +20,7 @@ public class UCharacterEnums {
/**
* 'Enum' for the CharacterCategory constants. These constants are
* compatible in name but not in value with those defined in
- * java.lang.Character
.
+ * {@link java.lang.Character}.
* @see UCharacterCategory
* @stable ICU 3.0
*/
@@ -239,10 +239,9 @@ public class UCharacterEnums {
}
/**
- * 'Enum' for the CharacterDirection constants. There are two sets
- * of names, those used in ICU, and those used in the JDK. The
- * JDK constants are compatible in name but not in value
- * with those defined in java.lang.Character
.
+ * 'Enum' for the CharacterDirection constants. Some constants are
+ * compatible in name but not in value with those defined in
+ * {@link java.lang.Character}.
* @see UCharacterDirection
* @stable ICU 3.0
*/
@@ -254,7 +253,9 @@ public class UCharacterEnums {
public static final int LEFT_TO_RIGHT = 0;
/**
- * JDK-compatible synonym for LEFT_TO_RIGHT.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_LEFT_TO_RIGHT}.
+ * Synonym of {@link #LEFT_TO_RIGHT}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = (byte)LEFT_TO_RIGHT;
@@ -266,7 +267,9 @@ public class UCharacterEnums {
public static final int RIGHT_TO_LEFT = 1;
/**
- * JDK-compatible synonym for RIGHT_TO_LEFT.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_RIGHT_TO_LEFT}.
+ * Synonym of {@link #RIGHT_TO_LEFT}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT = (byte)RIGHT_TO_LEFT;
@@ -278,7 +281,9 @@ public class UCharacterEnums {
public static final int EUROPEAN_NUMBER = 2;
/**
- * JDK-compatible synonym for EUROPEAN_NUMBER.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_EUROPEAN_NUMBER}.
+ * Synonym of {@link #EUROPEAN_NUMBER}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER = (byte)EUROPEAN_NUMBER;
@@ -290,7 +295,9 @@ public class UCharacterEnums {
public static final int EUROPEAN_NUMBER_SEPARATOR = 3;
/**
- * JDK-compatible synonym for EUROPEAN_NUMBER_SEPARATOR.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR}.
+ * Synonym of {@link #EUROPEAN_NUMBER_SEPARATOR}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = (byte)EUROPEAN_NUMBER_SEPARATOR;
@@ -302,7 +309,9 @@ public class UCharacterEnums {
public static final int EUROPEAN_NUMBER_TERMINATOR = 4;
/**
- * JDK-compatible synonym for EUROPEAN_NUMBER_TERMINATOR.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR}.
+ * Synonym of {@link #EUROPEAN_NUMBER_TERMINATOR}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = (byte)EUROPEAN_NUMBER_TERMINATOR;
@@ -314,7 +323,9 @@ public class UCharacterEnums {
public static final int ARABIC_NUMBER = 5;
/**
- * JDK-compatible synonym for ARABIC_NUMBER.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_ARABIC_NUMBER}.
+ * Synonym of {@link #ARABIC_NUMBER}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_ARABIC_NUMBER = (byte)ARABIC_NUMBER;
@@ -326,7 +337,9 @@ public class UCharacterEnums {
public static final int COMMON_NUMBER_SEPARATOR = 6;
/**
- * JDK-compatible synonym for COMMON_NUMBER_SEPARATOR.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_COMMON_NUMBER_SEPARATOR}.
+ * Synonym of {@link #COMMON_NUMBER_SEPARATOR}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = (byte)COMMON_NUMBER_SEPARATOR;
@@ -338,7 +351,9 @@ public class UCharacterEnums {
public static final int BLOCK_SEPARATOR = 7;
/**
- * JDK-compatible synonym for BLOCK_SEPARATOR.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_PARAGRAPH_SEPARATOR}.
+ * Synonym of {@link #BLOCK_SEPARATOR}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR = (byte)BLOCK_SEPARATOR;
@@ -350,7 +365,9 @@ public class UCharacterEnums {
public static final int SEGMENT_SEPARATOR = 8;
/**
- * JDK-compatible synonym for SEGMENT_SEPARATOR.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_SEGMENT_SEPARATOR}.
+ * Synonym of {@link #SEGMENT_SEPARATOR}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR = (byte)SEGMENT_SEPARATOR;
@@ -362,7 +379,8 @@ public class UCharacterEnums {
public static final int WHITE_SPACE_NEUTRAL = 9;
/**
- * JDK-compatible synonym for WHITE_SPACE_NEUTRAL.
+ * Equivalent to {@link java.lang.Character#DIRECTIONALITY_WHITESPACE}.
+ * Synonym of {@link #WHITE_SPACE_NEUTRAL}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_WHITESPACE = (byte)WHITE_SPACE_NEUTRAL;
@@ -374,7 +392,8 @@ public class UCharacterEnums {
public static final int OTHER_NEUTRAL = 10;
/**
- * JDK-compatible synonym for OTHER_NEUTRAL.
+ * Equivalent to {@link java.lang.Character#DIRECTIONALITY_OTHER_NEUTRALS}.
+ * Synonym of {@link #OTHER_NEUTRAL}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_OTHER_NEUTRALS = (byte)OTHER_NEUTRAL;
@@ -386,7 +405,9 @@ public class UCharacterEnums {
public static final int LEFT_TO_RIGHT_EMBEDDING = 11;
/**
- * JDK-compatible synonym for LEFT_TO_RIGHT_EMBEDDING.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING}.
+ * Synonym of {@link #LEFT_TO_RIGHT_EMBEDDING}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = (byte)LEFT_TO_RIGHT_EMBEDDING;
@@ -398,7 +419,9 @@ public class UCharacterEnums {
public static final int LEFT_TO_RIGHT_OVERRIDE = 12;
/**
- * JDK-compatible synonym for LEFT_TO_RIGHT_OVERRIDE.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE}.
+ * Synonym of {@link #LEFT_TO_RIGHT_OVERRIDE}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = (byte)LEFT_TO_RIGHT_OVERRIDE;
@@ -410,7 +433,9 @@ public class UCharacterEnums {
public static final int RIGHT_TO_LEFT_ARABIC = 13;
/**
- * JDK-compatible synonym for RIGHT_TO_LEFT_ARABIC.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC}.
+ * Synonym of {@link #RIGHT_TO_LEFT_ARABIC}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = (byte)RIGHT_TO_LEFT_ARABIC;
@@ -422,7 +447,9 @@ public class UCharacterEnums {
public static final int RIGHT_TO_LEFT_EMBEDDING = 14;
/**
- * JDK-compatible synonym for RIGHT_TO_LEFT_EMBEDDING.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING}.
+ * Synonym of {@link #RIGHT_TO_LEFT_EMBEDDING}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = (byte)RIGHT_TO_LEFT_EMBEDDING;
@@ -434,7 +461,9 @@ public class UCharacterEnums {
public static final int RIGHT_TO_LEFT_OVERRIDE = 15;
/**
- * JDK-compatible synonym for RIGHT_TO_LEFT_OVERRIDE.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE}.
+ * Synonym of {@link #RIGHT_TO_LEFT_OVERRIDE}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = (byte)RIGHT_TO_LEFT_OVERRIDE;
@@ -446,7 +475,9 @@ public class UCharacterEnums {
public static final int POP_DIRECTIONAL_FORMAT = 16;
/**
- * JDK-compatible synonym for POP_DIRECTIONAL_FORMAT.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_POP_DIRECTIONAL_FORMAT}.
+ * Synonym of {@link #POP_DIRECTIONAL_FORMAT}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = (byte)POP_DIRECTIONAL_FORMAT;
@@ -458,7 +489,9 @@ public class UCharacterEnums {
public static final int DIR_NON_SPACING_MARK = 17;
/**
- * JDK-compatible synonym for DIR_NON_SPACING_MARK.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_NONSPACING_MARK}.
+ * Synonym of {@link #DIR_NON_SPACING_MARK}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_NONSPACING_MARK = (byte)DIR_NON_SPACING_MARK;
@@ -470,7 +503,9 @@ public class UCharacterEnums {
public static final int BOUNDARY_NEUTRAL = 18;
/**
- * JDK-compatible synonym for BOUNDARY_NEUTRAL.
+ * Equivalent to {@link
+ * java.lang.Character#DIRECTIONALITY_BOUNDARY_NEUTRAL}.
+ * Synonym of {@link #BOUNDARY_NEUTRAL}.
* @stable ICU 3.0
*/
public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL = (byte)BOUNDARY_NEUTRAL;
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java b/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java
index a42cc3a324c..56bf5a9eb05 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/CurrencyDisplayNames.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 2009-2015, International Business Machines Corporation and *
+ * Copyright (C) 2009-2016, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@@ -79,7 +79,7 @@ public abstract class CurrencyDisplayNames {
* for the locale, but not data for the requested ISO code, null is returned
* from those APIs instead of a substitute value.
*
- * @param locale the JDK locale into which to localize the names
+ * @param locale the {@link java.util.Locale} into which to localize the names
* @param noSubstitute if true, do not return substitute values.
* @return a CurrencyDisplayNames
* @stable ICU 54
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
index d69a1e2ea65..7ebbe3d5a1d 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1996-2015, International Business Machines
+ * Copyright (C) 1996-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*/
@@ -1882,10 +1882,6 @@ public abstract class DateFormat extends UFormat {
/**
* Creates a {@link DateFormat} object that can be used to format times in
* the calendar system specified by cal
.
- *
- * Note: When this functionality is moved into the core JDK, this method - * will probably be replaced by a new overload of {@link DateFormat#getInstance}. - *
* @param cal The calendar system for which a time format is desired.
*
* @param timeStyle The type of time format desired. This can be
@@ -1905,10 +1901,6 @@ public abstract class DateFormat extends UFormat {
/**
* Creates a {@link DateFormat} object that can be used to format times in
* the calendar system specified by cal
.
- *
- * Note: When this functionality is moved into the core JDK, this method - * will probably be replaced by a new overload of {@link DateFormat#getInstance}. - *
* @param cal The calendar system for which a time format is desired.
*
* @param timeStyle The type of time format desired. This can be
@@ -1928,10 +1920,6 @@ public abstract class DateFormat extends UFormat {
/**
* Creates a {@link DateFormat} object that can be used to format dates and times in
* the calendar system specified by cal
.
- *
- * Note: When this functionality is moved into the core JDK, this method - * will probably be replaced by a new overload of {@link DateFormat#getInstance}. - *
* @param cal The calendar system for which a date/time format is desired.
*
* @param dateStyle The type of date format desired. This can be
@@ -1956,10 +1944,6 @@ public abstract class DateFormat extends UFormat {
/**
* Creates a {@link DateFormat} object that can be used to format dates and times in
* the calendar system specified by cal
.
- *
- * Note: When this functionality is moved into the core JDK, this method - * will probably be replaced by a new overload of {@link DateFormat#getInstance}. - *
* @param cal The calendar system for which a date/time format is desired.
*
* @param dateStyle The type of date format desired. This can be
@@ -2038,10 +2022,6 @@ public abstract class DateFormat extends UFormat {
/**
* Creates a {@link DateFormat} object that can be used to format times in
* the calendar system specified by cal
.
- *
- * Note: When this functionality is moved into the core JDK, this method - * will probably be replaced by a new overload of {@link DateFormat#getInstance}. - *
* @param cal The calendar system for which a time format is desired.
*
* @param timeStyle The type of time format desired. This can be
@@ -2058,10 +2038,6 @@ public abstract class DateFormat extends UFormat {
/**
* Creates a {@link DateFormat} object for the default locale that can be used to format
* dates and times in the calendar system specified by cal
.
- *
- * Note: When this functionality is moved into the core JDK, this method - * will probably be replaced by a new overload of {@link DateFormat#getInstance}. - *
* @param cal The calendar system for which a date/time format is desired.
*
* @param dateStyle The type of date format desired. This can be
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java
index 4361adec645..243b91a51cb 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 1996-2015, International Business Machines Corporation and
+ * Copyright (C) 1996-2016, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
@@ -1288,12 +1288,13 @@ public class DateFormatSymbols implements Serializable, Cloneable {
* When a localized display name is not available, the corresponding
* array element will be null
.
*
- * Note: ICU implements time zone display name formatting algorithm
+ * Note: ICU implements the time zone display name formatting algorithm
* specified by UTS#35 Unicode
* Locale Data Markup Language(LDML). The algorithm supports historic
- * display name changes and various different type of names not available in
- * JDK. For accessing the full set of time zone string data used by ICU implementation,
- * you should use {@link TimeZoneNames} APIs instead.
+ * display name changes and various different types of names not available in
+ * {@link java.text.DateFormatSymbols#getZoneStrings()}. For accessing the full
+ * set of time zone string data used by ICU implementation, you should use
+ * {@link TimeZoneNames} APIs instead.
*
* @return the time zone strings.
* @stable ICU 2.0
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalInfo.java b/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalInfo.java
index 5b806f324d3..b2b9327ac35 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalInfo.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalInfo.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 2008-2015, International Business Machines Corporation and *
+ * Copyright (C) 2008-2016, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@@ -360,7 +360,7 @@ public class DateIntervalInfo implements Cloneable, Freezable See the class description for more about apostrophes and quoting,
- * and differences between ICU and the JDK.
+ * and differences between ICU and {@link java.text.MessageFormat}.
*
- * The JDK MessageFormat and ICU 4.6 and earlier MessageFormat
+ * {@link java.text.MessageFormat} and ICU 4.6 and earlier MessageFormat
* treat all ASCII apostrophes as
* quotes, which is problematic in some languages, e.g.
* French, where apostrophe is commonly used. This utility
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePattern.java b/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePattern.java
index 566b9ad5f63..27a26501d52 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePattern.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/MessagePattern.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
-* Copyright (C) 2010-2014, International Business Machines
+* Copyright (C) 2010-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
* created on: 2010aug21
@@ -130,7 +130,7 @@ public final class MessagePattern implements Cloneable, Freezable ICU defines plural rules for many locales based on CLDR Language Plural Rules.
* For these predefined rules, see CLDR page at
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
*
- * @param locale The JDK locale for which a ICU defines plural rules for many locales based on CLDR Language Plural Rules.
* For these predefined rules, see CLDR page at
* http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
*
- * @param locale The JDK locale for which a Note: The instance returned by this method is frozen. If you want to
* customize a TimeZoneFormat, you must use {@link #cloneAsThawed()} to get a
* thawed copy first.
*
- * @param locale the JDK locale.
+ * @param locale the {@link Locale}.
* @return a frozen instance of
- * Note: This method was added for JDK compatibility support and equivalent to
+ * Note: This method is a convenience equivalent for
+ * {@link java.util.Currency#getDisplayName()} and is equivalent to
*
- * Note: This method was added for JDK compatibility support and equivalent to
- *
- * Note: This method was added for JDK compatibility support.
- * The JDK's
* ICU's TimeZone subclass implementations override this method to support the same behavior
- * with JDK's
- * Note: Before Java 7, the JDK Locale was not able to represent a locale's script.
- * Therefore, the script field in the default ULocale is always empty unless
+ * Note: Before Java 7, the {@link java.util.Locale} was not able to represent a
+ * locale's script. Therefore, the script field in the default ULocale is always empty unless
* a ULocale with non-empty script is explicitly set by {@link #setDefault(ULocale)}
* on Java 6 or older systems.
*
* Note for ICU 49 or later: Some JRE implementations allow users to override the default
- * JDK Locale using system properties - PluralFormat
for a given JDK locale.
+ * Creates a new cardinal-number PluralFormat
for a given
+ * {@link java.util.Locale}.
* @param locale the PluralFormat
will be configured with
* rules for this locale. This locale will also be used for standard
* number formatting.
@@ -263,7 +264,7 @@ public class PluralFormat extends UFormat {
/**
* Creates a new PluralFormat
for the plural type.
- * The standard number formatting will be done using the given JDK locale.
+ * The standard number formatting will be done using the given {@link java.util.Locale}.
* @param locale the default number formatting will be done using this
* locale.
* @param type The plural type (e.g., cardinal or ordinal).
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java b/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java
index 495ab5597c9..29627c93932 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/PluralRules.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 2007-2015, International Business Machines Corporation and
+ * Copyright (C) 2007-2016, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
@@ -1823,14 +1823,14 @@ public class PluralRules implements Serializable {
/**
* Provides access to the predefined cardinal-number PluralRules
for a given
- * JDK locale.
+ * {@link java.util.Locale}.
* Same as forLocale(locale, PluralType.CARDINAL).
*
* PluralRules
object is
+ * @param locale The locale for which a PluralRules
object is
* returned.
* @return The predefined PluralRules
object for this locale.
* If there's no predefined rules for this locale, the rules
@@ -1867,13 +1867,13 @@ public class PluralRules implements Serializable {
/**
* Provides access to the predefined PluralRules
for a given
- * JDK locale and the plural type.
+ * {@link java.util.Locale} and the plural type.
*
* PluralRules
object is
+ * @param locale The locale for which a PluralRules
object is
* returned.
* @param type The plural type (e.g., cardinal or ordinal).
* @return The predefined PluralRules
object for this locale.
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java b/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java
index c7e7ab59a75..7dd08b91fc6 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/RelativeDateTimeFormatter.java
@@ -421,9 +421,9 @@ public final class RelativeDateTimeFormatter {
}
/**
- * Returns a RelativeDateTimeFormatter for a particular JDK locale.
+ * Returns a RelativeDateTimeFormatter for a particular {@link java.util.Locale}.
*
- * @param locale the JDK locale.
+ * @param locale the {@link java.util.Locale}.
* @return An instance of RelativeDateTimeFormatter.
* @stable ICU 54
*/
@@ -482,10 +482,10 @@ public final class RelativeDateTimeFormatter {
}
/**
- * Returns a RelativeDateTimeFormatter for a particular JDK locale that uses a particular
- * NumberFormat object.
+ * Returns a RelativeDateTimeFormatter for a particular {@link java.util.Locale} that uses a
+ * particular NumberFormat object.
*
- * @param locale the JDK locale
+ * @param locale the {@link java.util.Locale}
* @param nf the number format object. It is defensively copied to ensure thread-safety
* and immutability of this class.
* @return An instance of RelativeDateTimeFormatter.
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java b/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java
index 7809c6a1263..7a5fcbe6878 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/SpoofChecker.java
@@ -1,6 +1,6 @@
/*
***************************************************************************
- * Copyright (C) 2008-2015 International Business Machines Corporation
+ * Copyright (C) 2008-2016 International Business Machines Corporation
* and others. All Rights Reserved.
***************************************************************************
*
@@ -1494,8 +1494,8 @@ public class SpoofChecker {
}
/**
- * Get a set of JDK locales for the scripts that are acceptable in strings to be checked. If no limitations on scripts
- * have been specified, an empty set will be returned.
+ * Get a set of {@link java.util.Locale} instances for the scripts that are acceptable in strings to be checked. If no
+ * limitations on scripts have been specified, an empty set will be returned.
*
* @return A set of locales corresponding to the acceptable scripts.
* @stable ICU 54
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneFormat.java
index 510c062a13a..e227657d1ba 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneFormat.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneFormat.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 2011-2015, International Business Machines Corporation and *
+ * Copyright (C) 2011-2016, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@@ -490,12 +490,13 @@ public class TimeZoneFormat extends UFormat implements FreezableTimeZoneFormat
for the given JDK locale.
+ * Returns a frozen instance of TimeZoneFormat
for the given
+ * {@link java.text.Locale}.
* TimeZoneFormat
for the given locale.
* @stable ICU 54
*/
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneNames.java b/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneNames.java
index 45c6948c062..e8defaf0497 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneNames.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/text/TimeZoneNames.java
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 2011-2015, International Business Machines Corporation and
+ * Copyright (C) 2011-2016, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
@@ -174,10 +174,11 @@ public abstract class TimeZoneNames implements Serializable {
}
/**
- * Returns an instance of TimeZoneNames
for the specified JDK locale.
+ * Returns an instance of TimeZoneNames
for the specified
+ * {@link java.util.Locale}.
*
* @param locale
- * The JDK locale.
+ * The {@link java.util.Locale}.
* @return An instance of TimeZoneDisplayNames
* @stable ICU 54
*/
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/Currency.java b/icu4j/main/classes/core/src/com/ibm/icu/util/Currency.java
index 081a4799bc4..2cc17556383 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/util/Currency.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/util/Currency.java
@@ -194,10 +194,10 @@ public class Currency extends MeasureUnit {
/**
* Returns an array of Strings which contain the currency
- * identifiers that are valid for the given JDK locale on the
+ * identifiers that are valid for the given {@link java.util.Locale} on the
* given date. If there are no such identifiers, returns null.
* Returned identifiers are in preference order.
- * @param loc the JDK locale for which to retrieve currency codes.
+ * @param loc the {@link java.util.Locale} for which to retrieve currency codes.
* @param d the date for which to retrieve currency codes for the given locale.
* @return The array of ISO currency codes.
* @stable ICU 54
@@ -596,7 +596,8 @@ public class Currency extends MeasureUnit {
* If the resource data for the default locale contains no entry for this currency,
* then the ISO 4217 code is returned.
* getName(Locale.getDefault(), LONG_NAME, null)
.
*
* @return The display name of this currency
@@ -613,8 +614,9 @@ public class Currency extends MeasureUnit {
* If the resource data for the given locale contains no entry for this currency,
* then the ISO 4217 code is returned.
* getName(locale, LONG_NAME, null)
.
+ * Note: This method is a convenience equivalent for
+ * {@link java.util.Currency#getDisplayName(java.util.Locale)} and is equivalent
+ * to getName(locale, LONG_NAME, null)
.
*
* @param locale locale in which to display currency
* @return The display name of this currency for the specified locale
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java b/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
index 3d2fa19fa32..df823e249f5 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
@@ -150,8 +150,8 @@ abstract public class TimeZone implements Serializable, Cloneable, FreezablesetDefaultTimeZoneType
+ * {@icu} A time zone implementation type indicating the {@link java.util.TimeZone}
+ * used by getTimeZone
, setDefaultTimeZoneType
* and getDefaultTimeZoneType
.
* @stable ICU 4.0
*/
@@ -654,16 +654,16 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezabletrue
if {@link #useDaylightTime()}
* or {@link #inDaylightTime(Date) inDaylightTime(new Date())} returns true
.
* useDaylightTime()
only checks the last known rule(s), therefore
- * it may return false even the zone observes daylight saving time currently. JDK added
- * observesDaylightTime()
to resolve the issue. In ICU, {@link #useDaylightTime()}
- * works differently. The ICU implementation checks if the zone uses daylight saving time
- * in the current calendar year. Therefore, it will never return false
if
- * daylight saving time is currently used.
+ * Note: This method was added for {@link java.util.TimeZone} compatibility
+ * support. The {@link java.util.TimeZone#useDaylightTime()} method only checks the last known
+ * rule(s), therefore it may return false even the zone observes daylight saving time currently.
+ * {@link java.util.TimeZone} added observesDaylightTime()
to resolve the issue.
+ * In ICU, {@link #useDaylightTime()} works differently. The ICU implementation checks if the
+ * zone uses daylight saving time in the current calendar year. Therefore, it will never return
+ * false
if daylight saving time is currently used.
* observesDaylightSavingTime()
. Unlike {@link #useDaylightTime()},
+ * with {@link java.util.TimeZone#observesDaylightTime()}. Unlike {@link #useDaylightTime()},
* the implementation does not take past daylight saving time into account, so
* that this method may return false
even when {@link #useDaylightTime()} returns
* true
.
diff --git a/icu4j/main/classes/core/src/com/ibm/icu/util/ULocale.java b/icu4j/main/classes/core/src/com/ibm/icu/util/ULocale.java
index 719eb41ae63..3a76e967d9c 100644
--- a/icu4j/main/classes/core/src/com/ibm/icu/util/ULocale.java
+++ b/icu4j/main/classes/core/src/com/ibm/icu/util/ULocale.java
@@ -423,7 +423,7 @@ public final class ULocale implements Serializable, Comparableuser.language
, user.country
- * and user.variant
. In addition to these system properties, some Java 7
- * implementations support user.script
for overriding the default Locale's script.
+ * {@link java.util.Locale} using system properties - user.language
,
+ * user.country
and user.variant
. In addition to these system
+ * properties, some Java 7 implementations support user.script
for overriding the
+ * default Locale's script.
* ICU 49 and later versions use the user.script
system property on Java 6
* or older systems supporting other user.*
system properties to initialize
* the default ULocale. The user.script
override for default ULocale is not