]> granicus.if.org Git - icu/commitdiff
ICU-20492 Fixing final declarations in DateIntervalFormat.java
authorShane F. Carr <sffc@google.com>
Fri, 15 Mar 2019 01:08:37 +0000 (18:08 -0700)
committerShane F. Carr <shane@unicode.org>
Fri, 15 Mar 2019 21:09:19 +0000 (14:09 -0700)
icu4j/main/classes/core/src/com/ibm/icu/text/DateIntervalFormat.java

index b92b63329c8f9f2f6eaf07b1f5b60a0abfe4bd2f..37c3c8acf95fb830abd3c9bc3799297e737d667b 100644 (file)
@@ -798,7 +798,7 @@ public class DateIntervalFormat extends UFormat {
      * @draft ICU 64
      * @provisional This API might change or be removed in a future release.
      */
-    public final FormattedDateInterval formatToValue(DateInterval dtInterval) {
+    public FormattedDateInterval formatToValue(DateInterval dtInterval) {
         StringBuffer sb = new StringBuffer();
         FieldPosition ignore = new FieldPosition(0);
         FormatOutput output = new FormatOutput();
@@ -883,7 +883,7 @@ public class DateIntervalFormat extends UFormat {
      * @throws    IllegalArgumentException  if the two calendars are not equivalent.
      * @stable ICU 4.0
      */
-    public StringBuffer format(Calendar fromCalendar,
+    public final StringBuffer format(Calendar fromCalendar,
             Calendar toCalendar,
             StringBuffer appendTo,
             FieldPosition pos) {