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

3
LINES

< > BotCompany Repo | #1031709 // timestampToLong

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (157L/2K).

static long timestampToLong(Timestamp ts) {
  ret ts == null ? 0 : ts.date;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031709
Snippet name: timestampToLong
Eternal ID of this version: #1031709/2
Text MD5: af6d8ae4220f6d27c836504adae28c26
Transpilation MD5: 3967244c09f3cf4a00b8ee3568e9bb73
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-28 15:47:40
Source code size: 79 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 94 / 149
Version history: 1 change(s)
Referenced in: [show references]