Code example for DateFormatSymbols

Methods: getMonths, getShortMonths

0
        } 
        if (!grammar.hasNonterminal(name))
        { 
            if (len >= 3)
            { 
                addRules(grammar, name, symbols.getShortMonths(), symbols.getMonths(), month);
            } 
            else 
            { 
                grammar.addRule(name, "month");
            } 
        } 
        rhs.add(name);
        return rhs;
    } 
    @Rule(left="rhs", value={"rhs", "tw"}) 
    protected List<String> weekInYear(List<String> rhs, String name, @ParserContext("GRAMMAR") Grammar grammar) throws NoSuchMethodException
    { 
        if (!grammar.hasNonterminal(name))
        { 
            grammar.addRule(name, "weekInYear");