BAMPFA-79: Add antlr error listener. Refactor date qualifiers.