Libraryless. Click here for Pure Java version (4989L/27K).
1 | static long sleepUntil(Timestamp ts) { |
2 | long time = ts.minus(tsNow()); |
3 | sleep(time); |
4 | ret time; |
5 | } |
Began life as a copy of #1007152
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033320 |
Snippet name: | sleepUntil |
Eternal ID of this version: | #1033320/2 |
Text MD5: | 08fb39f1a4a11d3a2ea5bd8f7515f103 |
Transpilation MD5: | 870cc4c040287a119e17f8c26866baa9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-23 05:25:53 |
Source code size: | 104 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 224 |
Version history: | 1 change(s) |
Referenced in: | [show references] |