return map;
    private Map computeNamesOfDayOfWeek(Locale locale) {        DateFormatSymbols dfs = new DateFormatSymbols(locale);        Map map = new HashMap(20);        String swd[] = dfs.getShortWeekdays();        if (swd != null) {            for (int i = 1; i < swd.length; i++) {                String s = swd[i];                if (s == null || s.length() < 1) {                    continue;                }                map.put(s.toLowerCase(), new Integer(1 << (i - 1)));            }        }        swd = dfs.getWeekdays();        if (swd != null) {            for (int i = 1; i < swd.length; i++) {                String s = swd[i];                if (s == null || s.length() < 1) {                    continue;                }                map.put(s.toLowerCase(), new Integer(1 << (i - 1)));            }        }        return map;    }