code: public String[] getMonths(int context, int width) {
          String [] returnValue = null;
          switch (context) {
             case FORMAT :
                switch(width) {
                   case WIDE :
                      returnValue = months;
                      break;
                   case ABBREVIATED :
                   case SHORT : // no month data for this, defaults to ABBREVIATED
                      returnValue = shortMonths;
                      break;
                   case NARROW :
                      returnValue = narrowMonths;
                      break;
                }
                break;
             case STANDALONE :
                switch(width) {
                   case WIDE :
                      returnValue = standaloneMonths;
                      break;
                   case ABBREVIATED :
                   case SHORT : // no month data for this, defaults to ABBREVIATED
                      returnValue = standaloneShortMonths;
                      break;
                   case NARROW :
                      returnValue = standaloneNarrowMonths;
                      break;
                }
                break;
          }
          if (returnValue == null) {
              throw new IllegalArgumentException("Bad context or width argument");
          }
          return duplicate(returnValue);
      }
docs: Returns month strings. For example: "January", "February", etc.
  @param context    The month context, FORMAT or STANDALONE.
  @param width      The width or the returned month string,
  either WIDE, ABBREVIATED, or NARROW.
  @return the month strings.