areValidFor

public boolean areValidFor(FormatChar formatChar)

Validates these options as if they were being applied to the given FormatChar and checks for inconsistencies in flag values.

Note that there is not requirement for options used internally in custom message parsers to be validated, but any format options passed through the ParameterVisitor interface must be valid with respect to the associated FormatChar instance.

Return

true if these options are valid for the given format.

Parameters

formatChar

the formatting rule to check these options against.