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

6
LINES

< > BotCompany Repo | #1015657 // setMachineTimeOffset

JavaX fragment (include)

static void setMachineTimeOffset(long newOffset) {
  lock machineTime_lock;
  if (machineTimeOffset() >= newOffset) ret;
  saveTextFile(machineTimeOffsetFile(), str(newOffset));
  machineTimeOffset_value = newOffset;
}

Author comment

Began life as a copy of #1015653

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015657
Snippet name: setMachineTimeOffset
Eternal ID of this version: #1015657/4
Text MD5: 60067c8ffe946ffcf23f948e917a0dab
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-20 15:57:11
Source code size: 223 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 345 / 391
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)