/**
* Indicates the style of Listformatter
- * @deprecated internal use only.
* @internal
+ * @deprecated This API is ICU internal only.
*/
public enum Style {
/**
* Standard style.
- * @deprecated
* @internal
+ * @deprecated This API is ICU internal only.
*/
STANDARD("standard"),
/**
* Style for full durations
- * @deprecated
* @internal
+ * @deprecated This API is ICU internal only.
*/
DURATION("duration"),
/**
* Style for durations in abbrevated form
- * @deprecated
* @internal
+ * @deprecated This API is ICU internal only.
*/
DURATION_SHORT("duration-short");
Style(String name) {
this.name = name;
}
-
+ /**
+ * @internal
+ * @deprecated This API is ICU internal only.
+ */
public String getName() {
return name;
}
* string for the end of a list items, containing {0} for the
* first part of the list, and {1} for the last item.
* @internal
+ * @deprecated This API is ICU internal only.
*/
public ListFormatter(String two, String start, String middle, String end) {
this(two, start, middle, end, null);
* @param locale the locale in question.
* @param style the style
* @return ListFormatter
- * @deprecated Internal use only.
* @internal
+ * @deprecated This API is ICU internal only.
*/
public static ListFormatter getInstance(ULocale locale, Style style) {
return cache.get(locale, style.getName());