code: public void setMonths(String[] newMonths, int context, int width) {
          switch (context) {
             case FORMAT :
                switch(width) {
                   case WIDE :
                      months = duplicate(newMonths);
                      break;
                   case ABBREVIATED :
                      shortMonths = duplicate(newMonths);
                      break;
                   case NARROW :
                      narrowMonths = duplicate(newMonths);
                      break;
                   default : // HANDLE SHORT, etc.
                      break;
                }
                break;
             case STANDALONE :
                switch(width) {
                   case WIDE :
                      standaloneMonths = duplicate(newMonths);
                      break;
                   case ABBREVIATED :
                      standaloneShortMonths = duplicate(newMonths);
                      break;
                   case NARROW :
                      standaloneNarrowMonths = duplicate(newMonths);
                      break;
                   default : // HANDLE SHORT, etc.
                      break;
                }
                break;
          }
      }
docs: Sets month strings. For example: "January", "February", etc.
  @param newMonths the new month strings.
  @param context    The formatting context, FORMAT or STANDALONE.
  @param width      The width of the month string,
  either WIDE, ABBREVIATED, or NARROW.