ICU-4207 - doc tagging changes for 3.2
X-SVN-Rev: 16883
This commit is contained in:
parent
51db19938f
commit
042916c7a6
@ -347,6 +347,9 @@ public class CheckTags {
|
||||
if (tag.text().indexOf("ICU") == 0) {
|
||||
foundRequiredTag = true;
|
||||
}
|
||||
if (tag.text().trim().length() == 0) {
|
||||
tagErr(tag);
|
||||
}
|
||||
break;
|
||||
|
||||
case OBSOLETE:
|
||||
|
@ -4481,7 +4481,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
|
||||
* @param nameChoice
|
||||
* @return value as string
|
||||
* @internal
|
||||
* @deprecated
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
public static String getStringPropertyValue(int propertyEnum, int codepoint, int nameChoice) {
|
||||
// TODO some of these are less efficient, since a string is forced!
|
||||
|
@ -58,6 +58,7 @@ public class ChineseDateFormat extends SimpleDateFormat {
|
||||
* @param pattern the pattern
|
||||
* @param locale the locale
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public ChineseDateFormat(String pattern, ULocale locale) {
|
||||
// TODO: convert CDFS to use ULocale
|
||||
|
@ -347,6 +347,7 @@ public abstract class Collator implements Comparator, Cloneable
|
||||
* @param loc the locale for which this collator is to be created.
|
||||
* @return the newly created collator.
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public Collator createCollator(ULocale loc) {
|
||||
return createCollator(loc.toLocale());
|
||||
@ -386,6 +387,7 @@ public abstract class Collator implements Comparator, Cloneable
|
||||
* @param displayLocale the locale for which the display name of the collator should be localized
|
||||
* @return the display name
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public String getDisplayName(ULocale objectLocale, ULocale displayLocale) {
|
||||
if (visible()) {
|
||||
|
@ -760,6 +760,7 @@ public abstract class DateFormat extends UFormat {
|
||||
* Gets the set of locales for which DateFormats are installed.
|
||||
* @return the set of locales for which DateFormats are installed.
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public static ULocale[] getAvailableULocales()
|
||||
{
|
||||
|
@ -704,6 +704,7 @@ public abstract class NumberFormat extends UFormat {
|
||||
* @param formatType the type of format
|
||||
* @return the NumberFormat, or null.
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public NumberFormat createFormat(ULocale loc, int formatType) {
|
||||
return createFormat(loc.toLocale(), formatType);
|
||||
@ -758,6 +759,7 @@ public abstract class NumberFormat extends UFormat {
|
||||
|
||||
/**
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public SimpleNumberFormatFactory(ULocale locale) {
|
||||
this(locale, true);
|
||||
@ -765,6 +767,7 @@ public abstract class NumberFormat extends UFormat {
|
||||
|
||||
/**
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public SimpleNumberFormatFactory(ULocale locale, boolean visible) {
|
||||
localeNames = Collections.singleton(locale.getBaseName());
|
||||
|
@ -412,6 +412,7 @@ public class UnicodeSet extends UnicodeFilter {
|
||||
* @exception java.lang.IllegalArgumentException if the pattern
|
||||
* contains a syntax error.
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public UnicodeSet(String pattern, ParsePosition pos, SymbolTable symbols, int options) {
|
||||
this();
|
||||
|
@ -1517,6 +1517,7 @@ public abstract class Calendar implements Serializable, Cloneable {
|
||||
* @param zone the time zone to use
|
||||
* @param locale the ulocale for the week data
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
protected Calendar(TimeZone zone, ULocale locale)
|
||||
{
|
||||
@ -1671,6 +1672,7 @@ public abstract class Calendar implements Serializable, Cloneable {
|
||||
* Gets the list of locales for which Calendars are installed.
|
||||
* @return the list of locales for which Calendars are installed.
|
||||
* @draft ICU 3.2
|
||||
* @deprecated This is a draft API and might change in a future release of ICU.
|
||||
*/
|
||||
public static ULocale[] getAvailableULocales()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user