Libraryless. Click here for Pure Java version (7927L/44K).
static Duration msToDuration(double ms) { ret Duration.ofNanos(lround(msToNanos(ms))); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035345 |
Snippet name: | msToDuration |
Eternal ID of this version: | #1035345/4 |
Text MD5: | 85d76417a329321f614c9605a68250b5 |
Transpilation MD5: | d852dbea4fe9e09d0e85c2a2042ce3d7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-01 19:04:28 |
Source code size: | 92 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 127 / 192 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1036312 - daysToDuration |