code: public static Phrase from(Context c, @StringRes int patternResourceId) {
      return from(c.getResources(), patternResourceId);
    }
docs: Entry point into this API.
  
  @throws IllegalArgumentException if pattern contains any syntax errors.