input = new ANTLRNoCaseInputStream(new ByteArrayInputStream(value.trim().getBytes()));
} catch (IOException e) {
_logger.log(Level.SEVERE, "could not lex input", e);
}
DateLexer lexer = new DateLexer(input);
// collect all sub-token streams that may include date information
List<TokenStream> streams = collectTokenStreams(new CommonTokenStream(lexer));
// and parse each of them