svoid test_DateAttractor_ymd() { test_DateAttractor_ymd("let's met on 2020/5/3", "2020/5/3", "2020/05/03"); } svoid test_DateAttractor_ymd(S input, S matched, S ymd) { DateAttractor_ymd a = cast getSingleton(pAttractor_allMatches2(new DateAttractor_ymd, javaTok(input))); assertEqualsVerbose(matched, a.matchedString()); assertEqualsVerbose(ymd, a.ymd); }
Began life as a copy of #1022881
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022884 |
| Snippet name: | test_DateAttractor_ymd |
| Eternal ID of this version: | #1022884/1 |
| Text MD5: | 3bdf232ab1f30af336c76364c317d8c3 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-04-12 18:14:14 |
| Source code size: | 372 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 442 / 498 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |