Libraryless. Click here for Pure Java version (11086L/62K).
svoid test_BackupThinner() { new BackupThinner bt; var f2 = newFile("concepts.structure.gz.backup20240518-19"); bt.allFiles(ll( newFile("concepts.structure.gz.backup20240518-21"), f2, newFile("concepts.structure.gz.backup20240401-10"))); bt.timeZone(germanTimeZone()); bt.currentTime(timestampFromYMDHM(2024, 5, 18, 22, 0, bt.timeZone())); bt.scan(); assertEmpty(bt.deletableFiles); bt.currentTime(timestampFromYMDHM(2025, 5, 18, 22, 0, bt.timeZone())); bt.scan(); assertListEquals(ll(f2), bt.deletableFiles); }
Began life as a copy of #1038776
download show line numbers debug dex old transpilations
Travelled to 1 computer(s): mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1038777 |
Snippet name: | test_BackupThinner |
Eternal ID of this version: | #1038777/3 |
Text MD5: | 52f129fce5a4f79983667edff86e1067 |
Transpilation MD5: | 3d387373c849dd2c3b0a644158f4a389 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2025-04-20 19:26:41 |
Source code size: | 567 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 18 / 45 |
Version history: | 2 change(s) |
Referenced in: | [show references] |