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

4
LINES

< > BotCompany Repo | #1019572 // extractTimestamp - should not throw any exceptions

JavaX fragment (include)

static long extractTimestamp(S s) {
  long l = parseFirstLong(s);
  ret possibleTimestamp(l) ? l : 0;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019572
Snippet name: extractTimestamp - should not throw any exceptions
Eternal ID of this version: #1019572/1
Text MD5: 6fb920215f4ebe9c937be9120ec40aed
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-12 17:25:58
Source code size: 106 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 211
Referenced in: [show references]