svoid test_EnglishDateParser() { //long baseDate = parseYMDHMS_slashesSpaceColons("2019/02/05 18:23:15"); delegate Day to DateStructures. delegate Month to DateStructures. delegate Year to DateStructures. //replace DS with DateStructures. //XXX - nasty infinite transpilation bug caused by delegate/replace when using quicknew syntax in line below new EnglishDateParser parser; parser.assumeFuture = true; // maybe not needed testFunctionValues(s -> parser.parse((S) s), "2020/5/13" := new Day(13, new Month(5, new Year(2020))), "tuesday" := new Weekday(3, null), "next tuesday" := new Weekday(3, CurrentWeekPlus(1)), in 5 days/5 days from now*/ ); }