code: private List<String> getPatterns(List<NumberPattern> patterns) {
      return patterns.stream()
          .map(p -> p.render())
          .collect(Collectors.toList());
    }
docs: Return a list of the string patterns embedded in the NumberPattern instances.