function alignAndPad(subject, conversion) {
    var width = conversion.width;

    if (isNil(width) || subject.length >= width) {
      return subject;
    }

    var padType = conversion.alignmentSpecifier === LITERAL_MINUS ? padRight : padLeft;
    return padType(subject, width, conversion.getPaddingCharacter());
  }
Aligns and pads `subject` string.

@ignore
@param {string} subject The subject string.
@param {ConversionSpecification} conversion The conversion specification object.
@return {string} Returns the aligned and padded string.