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

3
LINES

< > BotCompany Repo | #1036377 // sysTimeToTimestamp

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

Libraryless. Click here for Pure Java version (9678L/53K).

static Timestamp sysTimeToTimestamp(long now) {
  ret now == 0 ? null : new Timestamp(now - clockToSysTimeDiff());
}

Author comment

Began life as a copy of #1033562

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036377
Snippet name: sysTimeToTimestamp
Eternal ID of this version: #1036377/1
Text MD5: 5dbe1b5ea2d0badbe7b4dacfee925044
Transpilation MD5: 792075ee44cd8354b77fd242085f19d8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-28 21:19:57
Source code size: 118 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 58 / 84
Referenced in: [show references]