Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1033320 // sleepUntil

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4989L/27K).

static long sleepUntil(Timestamp ts) {
  long time = ts.minus(tsNow());
  sleep(time);
  ret time;
}

Author comment

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: 98 / 143
Version history: 1 change(s)
Referenced in: [show references]