code: void zeroPad2(StringBuilder b, int value, int width) {
      switch (width) {
        case 2:
          if (value < 10) {
            b.append('0');
          }
          // fall through
  
        case 1:
          b.append(value);
          break;
      }
    }
docs: Format 2-digit number with 0-padding.