1 | static long extractTimestamp(S s) {
|
2 | long l = parseFirstLong(s); |
3 | ret possibleTimestamp(l) ? l : 0; |
4 | } |
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: | 487 / 504 |
| Referenced in: | [show references] |