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

7
LINES

< > BotCompany Repo | #1012863 // ai_chatLineTimeDiff

JavaX fragment (include)

static long ai_chatLineTimeDiff(S line) {
  S prev = ai_previousChatLine(line);
  if (prev == null) ret -1;
  long a = ai_chatLineUnixTime(line);
  long b = ai_chatLineUnixTime(prev);
  ret a >= 0 && b >= 0 ? a-b : -1;
}

Author comment

Began life as a copy of #1012862

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: #1012863
Snippet name: ai_chatLineTimeDiff
Eternal ID of this version: #1012863/1
Text MD5: 829f94cc7e8800ba5bae58c3fb10ea19
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-14 21:53:43
Source code size: 226 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 437 / 464
Referenced in: [show references]