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