]> granicus.if.org Git - icu/commitdiff
ICU-13052 Updated the API status of Date format fields AM_PM_MIDNIGHT_NOON and FLEXIB...
authorYoshito Umaoka <y.umaoka@gmail.com>
Wed, 22 Mar 2017 20:49:24 +0000 (20:49 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Wed, 22 Mar 2017 20:49:24 +0000 (20:49 +0000)
X-SVN-Rev: 39902

icu4j/APIChangeReport.html
icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java

index f6b724363e0065e8ce6fece4fa0607ea89c2bedd..195dc1f7fdc283ae9da7108a0543c0a91f7a949d 100644 (file)
@@ -47,6 +47,11 @@ DecimalFormat
 <h3>Package com.ibm.icu.text</h3>
 <ul>
 <li><span style='color:green'>(stable)</span> public final class <i>SimpleFormatter</i></li>
+DateFormat.Field
+<ul>
+<li><span style='color:green'>(stable)</span> public static final DateFormat.Field AM_PM_MIDNIGHT_NOON</li>
+<li><span style='color:green'>(stable)</span> public static final DateFormat.Field FLEXIBLE_DAY_PERIOD</li>
+</ul>
 RelativeDateTimeFormatter
 <ul>
 <li><span style='color:green'>(stable)</span> public java.lang.String <i>format</i>(double, RelativeDateTimeFormatter.RelativeDateTimeUnit)</li>
@@ -97,6 +102,11 @@ MeasureUnit
 <li><span style='color:gray'>(deprecated)</span> public class <i>DecimalFormat_ICU58</i></li>
 <li><span style='color:orange'>(draft)</span> public final class <i>Edits</i></li>
 <li><span style='color:orange'>(draft)</span> public static final class <i>Edits.Iterator</i></li>
+DateFormat
+<ul>
+<li><span style='color:green'>(stable)</span> public static final int AM_PM_MIDNIGHT_NOON_FIELD</li>
+<li><span style='color:green'>(stable)</span> public static final int FLEXIBLE_DAY_PERIOD_FIELD</li>
+</ul>
 DecimalFormat
 <ul>
 <li><span style='color:orange'>(draft)</span> protected static final java.lang.ThreadLocal&lt;number.Properties&gt; threadLocalCurrencyProperties</li>
@@ -156,6 +166,6 @@ MeasureUnit
 </ul>
 
 <hr/>
-<p><i><font size="-1">Contents generated by ReportAPI tool on Mon Mar 20 16:20:05 EDT 2017<br/>© 2017 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html#License">http://www.unicode.org/copyright.html#License</a></font></i></p>
+<p><i><font size="-1">Contents generated by ReportAPI tool on Wed Mar 22 16:21:26 EDT 2017<br/>© 2017 and later: Unicode, Inc. and others. License & terms of use: <a href="http://www.unicode.org/copyright.html#License">http://www.unicode.org/copyright.html#License</a></font></i></p>
 </body>
 </html>
index 3f3621b0631788152fac99e62a265504b866f4ee..ee736266483b687de72015adc163fe0b597a4930 100644 (file)
@@ -455,17 +455,17 @@ public abstract class DateFormat extends UFormat {
      * {@icu} FieldPosition selector for 'b' field alignment.
      * No related Calendar field.
      * This displays the fixed day period (am/pm/midnight/noon).
-     * @stable ICU 57
+     * @stable ICU 59
      */
-    final static int AM_PM_MIDNIGHT_NOON_FIELD = 35;
+    public final static int AM_PM_MIDNIGHT_NOON_FIELD = 35;
 
     /**
      * {@icu} FieldPosition selector for 'B' field alignment.
      * No related Calendar field.
      * This displays the flexible day period.
-     * @stable ICU 57
+     * @stable ICU 59
      */
-    final static int FLEXIBLE_DAY_PERIOD_FIELD = 36;
+    public final static int FLEXIBLE_DAY_PERIOD_FIELD = 36;
 
     /**
      * {@icu} FieldPosition selector time separator,
@@ -2452,15 +2452,13 @@ public abstract class DateFormat extends UFormat {
 
         /**
          * {@icu} Constant identifying the am/pm/midnight/noon field.
-         * @draft ICU 57
-         * @provisional This API might change or be removed in a future release.
+         * @stable ICU 57
          */
         public static final Field AM_PM_MIDNIGHT_NOON = new Field("am/pm/midnight/noon", -1);
 
         /**
          * {@icu} Constant identifying the flexible day period field.
-         * @draft ICU 57
-         * @provisional This API might change or be removed in a future release.
+         * @stable ICU 57
          */
         public static final Field FLEXIBLE_DAY_PERIOD = new Field("flexible day period", -1);