code: void formatWeekday(StringBuilder b, ZonedDateTime d, int width, FieldVariants weekdays) {
      int weekday = d.getDayOfWeek().getValue() % 7;
      switch (width) {
        case 6:
          b.append(weekdays.short_[weekday]);
          break;
  
        case 5:
          b.append(weekdays.narrow[weekday]);
          break;
  
        case 4:
          b.append(weekdays.wide[weekday]);
          break;
  
        case 3:
        case 2:
        case 1:
          b.append(weekdays.abbreviated[weekday]);
          break;
      }
    }
docs: Format the weekday name.