]> granicus.if.org Git - icu/commitdiff
ICU-9110 J - Update internal method call in ChineseDateFormat (SimpleDateFormat subclass)
authorPeter Edberg <pedberg@unicode.org>
Wed, 22 Feb 2012 09:37:06 +0000 (09:37 +0000)
committerPeter Edberg <pedberg@unicode.org>
Wed, 22 Feb 2012 09:37:06 +0000 (09:37 +0000)
X-SVN-Rev: 31484

icu4j/main/classes/core/src/com/ibm/icu/text/ChineseDateFormat.java

index ff2f7482133d425772ca8a31987cbf906cbce698..7c177f99c79e528919845e8eaadc357bad1ddef9 100644 (file)
@@ -118,13 +118,14 @@ public class ChineseDateFormat extends SimpleDateFormat {
      */
     protected void subFormat(StringBuffer buf,
                              char ch, int count, int beginOffset,
+                             int fieldNum, ContextValue capitalizationContext,
                              FieldPosition pos,
                              Calendar cal) {
 
         // Logic to handle 'G' for chinese calendar is moved into SimpleDateFormat,
         // and obsolete pattern char 'l' is now ignored in SimpleDateFormat, so we
         // just use its implementation
-        super.subFormat(buf, ch, count, beginOffset, pos, cal);
+        super.subFormat(buf, ch, count, beginOffset, fieldNum, capitalizationContext, pos, cal);
 
         // The following is no longer an issue for this subclass...
         // TODO: add code to set FieldPosition for 'G' and 'l' fields. This