code: String format(String pattern) {
          return String.format(pattern, this.domain, this.major, this.minor);
      }
docs: Formats a string using the specified pattern.
  @param pattern a formatter pattern
  @return a formatted string