private void appendTimeZone(StringBuffer buffer,int count,boolean generalTimeZone){
  if (generalTimeZone) {
    TimeZone tz=calendar.getTimeZone();
    boolean daylight=(calendar.get(Calendar.DST_OFFSET) != 0);
    int style=count < 4 ? TimeZone.SHORT : TimeZone.LONG;
    if (!formatData.customZoneStrings) {
      buffer.append(tz.getDisplayName(daylight,style,formatData.locale));
      return;
    }
    String custom=TimeZoneNames.getDisplayName(formatData.zoneStrings,tz.getID(),daylight,style);
    if (custom != null) {
      buffer.append(custom);
      return;
    }
  }
  appendNumericTimeZone(buffer,count,generalTimeZone);
}

private void appendTimeZone ( StringBuffer buffer , int count , boolean generalTimeZone ) { if ( generalTimeZone ) { TimeZone tz = calendar . getTimeZone ( ) ; boolean daylight = ( calendar . get ( Calendar . DST_OFFSET ) != 0 ) ; int style = count < 4 ? TimeZone . SHORT : TimeZone . LONG ; if ( ! formatData . customZoneStrings ) { buffer . append ( tz . getDisplayName ( daylight , style , formatData . locale ) ) ; return ; } String custom = TimeZoneNames . getDisplayName ( formatData . zoneStrings , tz . getID ( ) , daylight , style ) ; if ( custom != null ) { buffer . append ( custom ) ; return ; } } appendNumericTimeZone ( buffer , count , generalTimeZone ) ; }
append a representation of the time zone of ' calendar ' to ' buffer ' .
