public static PluralRules parseDescription(String description)
            throws ParseException {

        description = description.trim();
        return description.length() == 0 ? DEFAULT : new PluralRules(parseRuleChain(description));
    }
public static PluralRules parseDescription ( String description ) throws ParseException { description = description . trim ( ) ; return description . length ( ) == 0 ? DEFAULT : new PluralRules ( parseRuleChain ( description ) ) ; }
Parses a plural rules description and returns a PluralRules.
@param description the rule description.
@throws ParseException if the description cannot be parsed.
The exception index is typically not set, it will be -1.