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)

1  
static Int compareTranspilationDateWithServer(O o) {
2  
  Class c = mainClass(o);
3  
  print("c: " + c);
4  
  S progID = programID(c);
5  
  if (eq(progID, "?")) progID = (S) getOpt(c, 'javaxProgramID);
6  
  print("progID: " + progID);
7  
  assertSnippetID(progID);
8  
  Long my = cast getOpt(c, 'myTranspilationDate_value);
9  
  if (my == null) null;
10  
  Long theirs = transpilationDateOnServer(progID);
11  
  ret theirs == null ? null : cmp(my, theirs);
12  
}

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