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

5
LINES

< > BotCompany Repo | #1013135 // fromCompactTimestamp - see toCompactTimestamp

JavaX fragment (include)

static long fromCompactTimestamp(int timestamp) {
  if (timestamp == 0) ret 0;
  assertTrue(timestamp > 0);
  ret 1514262010451L + timestamp*100L;
}

Author comment

Began life as a copy of #1013134

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: #1013135
Snippet name: fromCompactTimestamp - see toCompactTimestamp
Eternal ID of this version: #1013135/1
Text MD5: dcc6cc4a838c006be0ab7c8e94d27fab
Author: stefan
Category: javax / calendar
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-26 05:23:32
Source code size: 152 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 466
Referenced in: [show references]