Libraryless. Click here for Pure Java version (2519L/16K).
static bool fileOlderThanNDays(File f, double days) { ret isZeroOrLessThan(fileModificationTime(f), lround(now()-days*24*60*60*1000)); } static bool fileOlderThanNDays(double days, File f) { ret fileOlderThanNDays(f, days); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1016315 |
Snippet name: | fileOlderThanNDays - true if file not found |
Eternal ID of this version: | #1016315/8 |
Text MD5: | ab2528da46b375c18f23846d03f61da0 |
Transpilation MD5: | e69e01076e3edcde6f5f41a33a2fea54 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-03 13:17:11 |
Source code size: | 236 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 360 / 490 |
Version history: | 7 change(s) |
Referenced in: | [show references] |