mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-10993 Fix @provisional tags.
X-SVN-Rev: 36472
This commit is contained in:
parent
8000374854
commit
3415c2e9ca
4 changed files with 15 additions and 6 deletions
|
@ -1981,6 +1981,7 @@ public abstract class DateFormat extends UFormat {
|
|||
* {@link DateFormat#MONTH_WEEKDAY_DAY}, etc.
|
||||
*
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public final static DateFormat getInstanceForSkeleton(String skeleton) {
|
||||
return getPatternInstance(skeleton, ULocale.getDefault(Category.FORMAT));
|
||||
|
@ -1997,6 +1998,7 @@ public abstract class DateFormat extends UFormat {
|
|||
* @param locale The locale for which the date/time format is desired.
|
||||
*
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public final static DateFormat getInstanceForSkeleton(String skeleton, Locale locale) {
|
||||
return getPatternInstance(skeleton, ULocale.forLocale(locale));
|
||||
|
@ -2013,6 +2015,7 @@ public abstract class DateFormat extends UFormat {
|
|||
* @param locale The locale for which the date/time format is desired.
|
||||
*
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public final static DateFormat getInstanceForSkeleton(String skeleton, ULocale locale) {
|
||||
DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance(locale);
|
||||
|
@ -2034,6 +2037,7 @@ public abstract class DateFormat extends UFormat {
|
|||
* @param locale The locale for which the date/time format is desired.
|
||||
*
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public final static DateFormat getInstanceForSkeleton(Calendar cal, String skeleton, Locale locale) {
|
||||
return getPatternInstance(cal, skeleton, ULocale.forLocale(locale));
|
||||
|
@ -2053,6 +2057,7 @@ public abstract class DateFormat extends UFormat {
|
|||
* @param locale The locale for which the date/time format is desired.
|
||||
*
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public final static DateFormat getInstanceForSkeleton(
|
||||
Calendar cal, String skeleton, ULocale locale) {
|
||||
|
|
|
@ -1046,6 +1046,7 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
|||
* @return The year name strings, or null if they are not
|
||||
* available for this calendar.
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String[] getYearNames(int context, int width) {
|
||||
// context & width ignored for now, one set of names for all uses
|
||||
|
@ -1061,6 +1062,7 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
|||
* @param context The usage context: FORMAT, STANDALONE (currently only FORMAT is supported).
|
||||
* @param width The name width: WIDE, ABBREVIATED, NARROW (currently only ABBREVIATED is supported).
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public void setYearNames(String[] yearNames, int context, int width) {
|
||||
if (context == FORMAT && width == ABBREVIATED) {
|
||||
|
@ -1076,6 +1078,7 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
|||
* @return The zodiac name strings, or null if they are not
|
||||
* available for this calendar.
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String[] getZodiacNames(int context, int width) {
|
||||
// context & width ignored for now, one set of names for all uses
|
||||
|
@ -1091,6 +1094,7 @@ public class DateFormatSymbols implements Serializable, Cloneable {
|
|||
* @param context The usage context: FORMAT, STANDALONE (currently only FORMAT is supported).
|
||||
* @param width The name width: WIDE, ABBREVIATED, NARROW (currently only ABBREVIATED is supported).
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public void setZodiacNames(String[] zodiacNames, int context, int width) {
|
||||
if (context == FORMAT && width == ABBREVIATED) {
|
||||
|
|
|
@ -548,7 +548,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
|
|||
/**
|
||||
* Returns the multiplication sign
|
||||
* @draft ICU 54
|
||||
* @provisional
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String getExponentMultiplicationSign() {
|
||||
return exponentMultiplicationSign;
|
||||
|
@ -557,7 +557,7 @@ public class DecimalFormatSymbols implements Cloneable, Serializable {
|
|||
/**
|
||||
* Sets the multiplication sign
|
||||
* @draft ICU 54
|
||||
* @provisional
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public void setExponentMultiplicationSign(String exponentMultiplicationSign) {
|
||||
this.exponentMultiplicationSign = exponentMultiplicationSign;
|
||||
|
|
|
@ -32,8 +32,8 @@ import com.ibm.icu.lang.UCharacter;
|
|||
* </pre>
|
||||
*
|
||||
* @see NumberFormat
|
||||
* @provisional
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*
|
||||
*/
|
||||
public final class ScientificFormatHelper {
|
||||
|
@ -54,8 +54,8 @@ public final class ScientificFormatHelper {
|
|||
/**
|
||||
* Returns a new ScientificFormatHelper.
|
||||
* @param dfs comes from the DecimalFormat instance used for default scientific notation.
|
||||
* @provisional
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public static ScientificFormatHelper getInstance(DecimalFormatSymbols dfs) {
|
||||
StringBuilder preExponent = new StringBuilder();
|
||||
|
@ -76,8 +76,8 @@ public final class ScientificFormatHelper {
|
|||
* @param beginMarkup the start html for the exponent e.g "<sup>"
|
||||
* @param endMarkup the end html for the exponent e.g "</sup>"
|
||||
* @return the user-friendly scientific notation.
|
||||
* @provisional
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String insertMarkup(
|
||||
AttributedCharacterIterator iterator,
|
||||
|
@ -146,8 +146,8 @@ public final class ScientificFormatHelper {
|
|||
* html.
|
||||
* @param iterator the value that DecimalFormat.formatToCharacterIterator() returned.
|
||||
* @return the user-friendly scientific notation.
|
||||
* @provisional
|
||||
* @draft ICU 54
|
||||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public String toSuperscriptExponentDigits(AttributedCharacterIterator iterator) {
|
||||
int copyFromOffset = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue