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

12
LINES

< > BotCompany Repo | #1016712 // compareTranspilationDateWithServer - o is a main class or any object in a realm

JavaX fragment (include)

static Int compareTranspilationDateWithServer(O o) {
  Class c = mainClass(o);
  print("c: " + c);
  S progID = programID(c);
  if (eq(progID, "?")) progID = (S) getOpt(c, 'javaxProgramID);
  print("progID: " + progID);
  assertSnippetID(progID);
  Long my = cast getOpt(c, 'myTranspilationDate_value);
  if (my == null) null;
  Long theirs = transpilationDateOnServer(progID);
  ret theirs == null ? null : cmp(my, theirs);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016712
Snippet name: compareTranspilationDateWithServer - o is a main class or any object in a realm
Eternal ID of this version: #1016712/8
Text MD5: 31ef0a0380e41fb3c645f128be2c08ea
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-12 15:38:41
Source code size: 437 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 323 / 363
Version history: 7 change(s)
Referenced in: [show references]