code: public String[] getWeekdays(int context, int width) {
          String [] returnValue = null;
          switch (context) {
             case FORMAT :
                switch(width) {
                   case WIDE :
                      returnValue = weekdays;
                      break;
                   case ABBREVIATED :
                      returnValue = shortWeekdays;
                      break;
                   case SHORT :
                      returnValue = (shorterWeekdays != null)? shorterWeekdays: shortWeekdays;
                      break;
                   case NARROW :
                      returnValue = narrowWeekdays;
                      break;
                }
                break;
             case STANDALONE :
                switch(width) {
                   case WIDE :
                      returnValue = standaloneWeekdays;
                      break;
                   case ABBREVIATED :
                      returnValue = standaloneShortWeekdays;
                      break;
                   case SHORT :
                      returnValue = (standaloneShorterWeekdays != null)? standaloneShorterWeekdays: standaloneShortWeekdays;
                      break;
                   case NARROW :
                      returnValue = standaloneNarrowWeekdays;
                      break;
                }
                break;
          }
          if (returnValue == null) {
              throw new IllegalArgumentException("Bad context or width argument");
          }
          return duplicate(returnValue);
      }
docs: Returns weekday strings. For example: "Sunday", "Monday", etc.
  @return the weekday strings. Use <code>Calendar.SUNDAY</code>,
  <code>Calendar.MONDAY</code>, etc. to index the result array.
  @param context    Formatting context, either FORMAT or STANDALONE.
  @param width      Width of strings to be returned, either
  WIDE, ABBREVIATED, SHORT, or NARROW