sclass EnglishDateParser > DateStructures { bool assumeFuture = true; // e.g. for "tuesday" [not used] LS tok; ItIt> parse(S s) null { tok = javaTok(s); ret nestedIterator(codeTokenIndices(tok), i -> parseNumber(ListAndIndex(tok, i))); } ItIt> parseNumber(ListAndIndex toParse) { ret mapI_nonNulls(pwt_followingTokens(1, 2, toParse), p -> isInteger(p!) ? p.withValue(parseInt(p!)) : null); } }