static double toDays(long ms) { ret ms/(60000.0*60*24); } static double toDays(Duration d) { ret toDays(toMS(d)); }
Began life as a copy of #1020777
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1022335 |
Snippet name: | toDays - convert milliseconds to days (double) |
Eternal ID of this version: | #1022335/3 |
Text MD5: | b98d23b1f691f33e2e8233d66bc733a2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-03-13 13:30:02 |
Source code size: | 126 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 319 / 390 |
Version history: | 2 change(s) |
Referenced in: | [show references] |