ICU-5780 Resolve ICU javadoc warnings. Changed DateFormatSymbols#MetazoneInfo from protected to package private.
X-SVN-Rev: 22537
This commit is contained in:
parent
ffeae6459e
commit
8ed516328f
@ -1311,13 +1311,15 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
||||
}
|
||||
|
||||
/*
|
||||
* @internal Package private: used by SimpleDateFormat.
|
||||
* Package private: used by SimpleDateFormat.
|
||||
* Gets the string for the specified time zone.
|
||||
* @param zid The time zone ID
|
||||
* @param type The type of zone string
|
||||
* @param cal The calendar to use
|
||||
* @return A metazone info structure, returning the desired metazone string and the
|
||||
* metazone ID.
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
|
||||
MetazoneInfo getMetazoneInfo(String zid, int type, Calendar cal) {
|
||||
@ -1331,16 +1333,16 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
||||
}
|
||||
|
||||
/*
|
||||
* @internal Package private: used by SimpleDateFormat.
|
||||
* Gets the string for the specified time zone.
|
||||
* Package private: used by SimpleDateFormat.
|
||||
* Gets the metazone string from the specified zone item info
|
||||
* @param zinfo The zone item info
|
||||
* @param zid The time zone ID
|
||||
* @param type The type of zone string
|
||||
* @param cal The calendar to use
|
||||
* @return A metazone info structure, returning the desired metazone string and the
|
||||
* metazone ID.
|
||||
*
|
||||
* Gets the metazone string from the specified zone item info
|
||||
* @internal
|
||||
* @deprecated This API is ICU internal only.
|
||||
*/
|
||||
private MetazoneInfo getMetazoneInfo(ZoneItemInfo zinfo, String zid, int type, Calendar cal) {
|
||||
|
||||
@ -1498,7 +1500,8 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
||||
return result;
|
||||
}
|
||||
|
||||
protected class MetazoneInfo {
|
||||
/* Package private: used by SimpleDateFormat */
|
||||
class MetazoneInfo {
|
||||
String mzid;
|
||||
String value;
|
||||
}
|
||||
|
@ -8,6 +8,9 @@ package com.ibm.icu.text;
|
||||
|
||||
/**
|
||||
* Provide a base class for Transforms that focuses just on the transformation of the text. APIs that take Transliterator, but only depend on the text transformation should use this interface in the API instead.
|
||||
*
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
* @author markdavis
|
||||
*
|
||||
*/
|
||||
@ -16,6 +19,8 @@ public interface StringTransform {
|
||||
* Transform the text in some way, to be determined by the subclass.
|
||||
* @param source text to be transformed (eg lowercased)
|
||||
* @return result
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String transform(String source);
|
||||
}
|
@ -1902,6 +1902,8 @@ public abstract class Transliterator implements StringTransform {
|
||||
* Implements StringTransform via this method.
|
||||
* @param source text to be transformed (eg lowercased)
|
||||
* @return result
|
||||
* @draft ICU 3.8
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String transform(String source) {
|
||||
return transliterate(source);
|
||||
|
Loading…
Reference in New Issue
Block a user