sclass DateAttractor_ymd > PJFindAttractor { S ymd; *() { super("<int>/<int>/<int>"); } public bool find() { if (!super.find()) false; ymd = parseInt(get(tok(), 0)) + "/" + formatInt(parseInt(get(tok(), 4)), 2) + "/" + formatInt(parseInt(get(tok(), 8)), 2); true; } }
Began life as a copy of #1022876
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: | #1022883 |
Snippet name: | DateAttractor_ymd - "y/m/d" |
Eternal ID of this version: | #1022883/4 |
Text MD5: | e90dbf6b2b3e60809a20ccefdf223590 |
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:16:05 |
Source code size: | 325 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 313 / 763 |
Version history: | 3 change(s) |
Referenced in: | [show references] |