code: @Override
      @Deprecated
      protected void subFormat(StringBuffer buf,
                               char ch, int count, int beginOffset,
                               int fieldNum, DisplayContext 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, 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
          // is a DESIGN FLAW -- subclasses shouldn't have to duplicate the
          // code that handles this at the end of SimpleDateFormat.subFormat.
          // The logic should be moved up into SimpleDateFormat.format.
      }
docs: {@inheritDoc}
  @deprecated This API is ICU internal only.
  @hide draft / provisional / internal are hidden on Android